14 |
|
|
15 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
16 |
|
|
17 |
|
$sth = $dbh->prepare("select year,description from history order by num asc"); |
|
$sth = $dbh->prepare("select num,name,type,note,street,town,country,phone,fax,email,website from worldwide where type='Subsidiary' order by num"); |
|
18 |
$sth->execute(); |
$sth->execute(); |
|
$menu=""; |
|
19 |
while ($row=$sth->fetchrow_hash()) { |
while ($row=$sth->fetchrow_hash()) { |
20 |
$data[]=$row; |
$history[]=$row; |
21 |
} |
} |
22 |
|
|
23 |
|
$smarty->assign("history",$history); |
24 |
$main=$smarty->fetch("history.tpl"); |
$main=$smarty->fetch("history.tpl"); |
25 |
|
|
26 |
include("common.inc"); |
include("common.inc"); |