--- fine_chemicals.php 2001/09/07 14:27:37 1.7 +++ fine_chemicals.php 2001/10/01 14:05:16 1.9 @@ -12,14 +12,7 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); $section="products"; - -if ($menu_item) { - $title="Products : Fine Chemicals : $menu_item"; -} else { - $title="Products : Fine Chemicals"; -} -$lpic="products"; $lext=".jpg"; -$mpic="products.gif"; +include("section.inc"); $back_url="products.php"; $sub_part=substr($part,0,strpos($part,"-")); @@ -64,7 +57,7 @@ unset($menu); -$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"); $sth->execute(); while ($row=$sth->fetchrow_hash()) { $menu[]=$row;