/[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.7 by dpavlin, Fri Sep 7 14:27:37 2001 UTC revision 1.9 by dpavlin, Mon Oct 1 14:05:16 2001 UTC
# Line 12  $smarty = new Smarty; Line 12  $smarty = new Smarty;
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,"-"));
# Line 64  include("common.inc"); Line 57  include("common.inc");
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;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.26