8 |
|
|
9 |
$section="about"; |
$section="about"; |
10 |
|
|
11 |
$title="ABOUT US"; |
include("section.inc"); |
|
$lpic="about"; $lext=".gif"; |
|
|
$mpic="about.gif"; |
|
12 |
|
|
13 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
14 |
|
|
15 |
|
$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"); |
|
16 |
$sth->execute(); |
$sth->execute(); |
|
$menu=""; |
|
17 |
while ($row=$sth->fetchrow_hash()) { |
while ($row=$sth->fetchrow_hash()) { |
18 |
$data[]=$row; |
$history[]=$row; |
19 |
} |
} |
20 |
|
|
21 |
|
$smarty->assign("history",$history); |
22 |
$main=$smarty->fetch("history.tpl"); |
$main=$smarty->fetch("history.tpl"); |
23 |
|
|
24 |
include("common.inc"); |
include("common.inc"); |