/[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.2 by dpavlin, Wed Feb 28 14:14:34 2001 UTC
# Line 14  $mpic="about.gif"; Line 14  $mpic="about.gif";
14    
15  $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );  $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
16    
17    $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");  
18  $sth->execute();  $sth->execute();
 $menu="";  
19  while ($row=$sth->fetchrow_hash()) {  while ($row=$sth->fetchrow_hash()) {
20          $data[]=$row;          $history[]=$row;
21  }  }
22    
23    $smarty->assign("history",$history);
24  $main=$smarty->fetch("history.tpl");  $main=$smarty->fetch("history.tpl");
25    
26  include("common.inc");  include("common.inc");

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

  ViewVC Help
Powered by ViewVC 1.1.26