1 |
<?php |
2 |
require("Smarty.class.php"); |
3 |
require("conn.inc"); |
4 |
|
5 |
$smarty = new Smarty; |
6 |
|
7 |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
8 |
|
9 |
$section="about"; |
10 |
|
11 |
$title="ABOUT US"; |
12 |
$lpic="about"; $lext=".gif"; |
13 |
$mpic="about.gif"; |
14 |
|
15 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
16 |
|
17 |
|
18 |
$sth = $dbh->prepare("select num,name,type,note,street,town,country,phone,fax,email,website from worldwide where type='Subsidiary' order by num"); |
19 |
$sth->execute(); |
20 |
$menu=""; |
21 |
while ($row=$sth->fetchrow_hash()) { |
22 |
$data[]=$row; |
23 |
} |
24 |
|
25 |
$main=$smarty->fetch("history.tpl"); |
26 |
|
27 |
include("common.inc"); |
28 |
$smarty->assign( array(back_url=>"$section.php", MAIN=>$main)); |
29 |
|
30 |
$smarty->display("index.tpl"); |
31 |
?> |