12 |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
13 |
|
|
14 |
$section="products"; |
$section="products"; |
15 |
|
include("section.inc"); |
|
if ($menu_item) { |
|
|
$title="Products : Fine Chemicals : $menu_item"; |
|
|
} else { |
|
|
$title="Products : Fine Chemicals"; |
|
|
} |
|
|
$lpic="products"; $lext=".jpg"; |
|
|
$mpic="products.gif"; |
|
16 |
$back_url="products.php"; |
$back_url="products.php"; |
17 |
|
|
18 |
$sub_part=substr($part,0,strpos($part,"-")); |
$sub_part=substr($part,0,strpos($part,"-")); |
57 |
|
|
58 |
unset($menu); |
unset($menu); |
59 |
|
|
60 |
$sth = $dbh->prepare("select item,url,file from menu where section='fine' and visible order by num"); |
$sth = $dbh->prepare("select item,url,file from menu where section='fine' and $visible_is_true order by num"); |
61 |
$sth->execute(); |
$sth->execute(); |
62 |
while ($row=$sth->fetchrow_hash()) { |
while ($row=$sth->fetchrow_hash()) { |
63 |
$menu[]=$row; |
$menu[]=$row; |