/[corp_html]/fine_chemicals.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /fine_chemicals.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Thu Feb 22 20:47:10 2001 UTC revision 1.2 by dpavlin, Fri Feb 23 13:56:07 2001 UTC
# Line 21  $back_url="products.php"; Line 21  $back_url="products.php";
21  $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );  $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
22    
23    
24  $multi_page=array(  $sub_part=substr($part,0,strpos($part,"-"));
25          "fine_chemicals.php?part=Main",  if ($sub_part == "CustomManuf") {
26          "fine_chemicals.php?part=Profile",          $multi_page=array(
27          "fine_chemicals.php?part=Products",                  "fine_chemicals.php?part=CustomManuf-Page1",
28          "fine_chemicals.php?part=CustomManuf-Page1",                  "fine_chemicals.php?part=CustomManuf-Page2",
29          "fine_chemicals.php?part=CustomManuf-Page2",                  "fine_chemicals.php?part=CustomManuf-Page3",
30          "fine_chemicals.php?part=CustomManuf-Page3",                  "fine_chemicals.php?part=CustomManuf-Page4",
31          "fine_chemicals.php?part=CustomManuf-Page4",                  "fine_chemicals.php?part=CustomManuf-Page5",
32          "fine_chemicals.php?part=CustomManuf-Page5",          );
33          "fine_chemicals.php?part=ContactUs"  }
 );  
34    
35  $main_file="./fc/";  $main_file="./fc/";
36  if (file_exists($main_file.$part.".htm")) {  if (file_exists($main_file.$part.".htm")) {
# Line 42  if (file_exists($main_file.$part.".htm") Line 41  if (file_exists($main_file.$part.".htm")
41  $main=join('',file($main_file));  $main=join('',file($main_file));
42    
43  include("common.inc");  include("common.inc");
44  $smarty->assign( array(back_url=>$back_url, MAIN=>$main));  
45    unset($menu);
46    
47    $sth = $dbh->prepare("select item,url,file from menu where section='fine' order by num");
48    $sth->execute();
49    while ($row=$sth->fetchrow_hash()) {
50            $menu[]=$row;
51    }
52    $smarty->assign("menu",$menu);
53    
54    $smarty->assign( array(back_url=>$back_url, MAIN=>$main,
55                    contact_url => 'fine_chemicals.php?part=ContactUs'));
56    
57  $smarty->display("index.tpl");  $smarty->display("index.tpl");
58  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26