/[corp_html]/history.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 /history.php

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

revision 1.1.1.1 by dpavlin, Mon Feb 19 16:22:20 2001 UTC revision 1.4 by dpavlin, Mon Oct 1 14:05:16 2001 UTC
# Line 8  $smarty->assign( array ( Title=>"Pliva d Line 8  $smarty->assign( array ( Title=>"Pliva d
8    
9  $section="about";  $section="about";
10    
11  $title="ABOUT US";  include("section.inc");
 $lpic="about"; $lext=".gif";  
 $mpic="about.gif";  
12    
13  $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );  $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
14    
15    $sth = $dbh->prepare("select year,description from history order by num asc");
 $sth = $dbh->prepare("select num,name,type,note,street,town,country,phone,fax,email,website from worldwide where type='Subsidiary' order by num");  
16  $sth->execute();  $sth->execute();
 $menu="";  
17  while ($row=$sth->fetchrow_hash()) {  while ($row=$sth->fetchrow_hash()) {
18          $data[]=$row;          $history[]=$row;
19  }  }
20    
21    $smarty->assign("history",$history);
22  $main=$smarty->fetch("history.tpl");  $main=$smarty->fetch("history.tpl");
23    
24  include("common.inc");  include("common.inc");

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26