13 |
|
|
14 |
$section="products"; |
$section="products"; |
15 |
|
|
16 |
$title="Products : Fine Chemicals"; |
if ($menu_item) { |
17 |
|
$title="Products : Fine Chemicals : $menu_item"; |
18 |
|
} else { |
19 |
|
$title="Products : Fine Chemicals"; |
20 |
|
} |
21 |
$lpic="products"; $lext=".jpg"; |
$lpic="products"; $lext=".jpg"; |
22 |
$mpic="products.gif"; |
$mpic="products.gif"; |
23 |
$back_url="products.php"; |
$back_url="products.php"; |
41 |
$main_file.=$part.".htm"; |
$main_file.=$part.".htm"; |
42 |
} else { |
} else { |
43 |
$main_file.="Main.htm"; |
$main_file.="Main.htm"; |
44 |
|
$title="Products : Fine Chemicals"; |
45 |
} |
} |
46 |
$main=join('',file($main_file)); |
$main=join('',file($main_file)); |
47 |
|
|
49 |
|
|
50 |
unset($menu); |
unset($menu); |
51 |
|
|
52 |
$sth = $dbh->prepare("select item,url,file from menu where section='fine' order by num"); |
$sth = $dbh->prepare("select item,url,file from menu where section='fine' and visible order by num"); |
53 |
$sth->execute(); |
$sth->execute(); |
54 |
while ($row=$sth->fetchrow_hash()) { |
while ($row=$sth->fetchrow_hash()) { |
55 |
$menu[]=$row; |
$menu[]=$row; |