/[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

Annotation of /history.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Mon Feb 19 16:22:20 2001 UTC (23 years, 1 month ago) by dpavlin
Branch: dbp
CVS Tags: alpha
Changes since 1.1: +0 -0 lines
alpha

1 dpavlin 1.1 <?php
2     require("Smarty.class.php");
3     require("conn.inc");
4    
5     $smarty = new Smarty;
6    
7     $smarty->assign( array ( Title=>"Pliva d.d." ) );
8    
9     $section="about";
10    
11     $title="ABOUT US";
12     $lpic="about"; $lext=".gif";
13     $mpic="about.gif";
14    
15     $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
16    
17    
18     $sth = $dbh->prepare("select num,name,type,note,street,town,country,phone,fax,email,website from worldwide where type='Subsidiary' order by num");
19     $sth->execute();
20     $menu="";
21     while ($row=$sth->fetchrow_hash()) {
22     $data[]=$row;
23     }
24    
25     $main=$smarty->fetch("history.tpl");
26    
27     include("common.inc");
28     $smarty->assign( array(back_url=>"$section.php", MAIN=>$main));
29    
30     $smarty->display("index.tpl");
31     ?>

  ViewVC Help
Powered by ViewVC 1.1.26