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

Contents of /history.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Sat Mar 3 12:56:33 2001 UTC (23 years, 1 month ago) by dpavlin
Branch: MAIN
Changes since 1.2: +1 -1 lines
bolji title-ovi stranica

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 : History";
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 $sth = $dbh->prepare("select year,description from history order by num asc");
18 $sth->execute();
19 while ($row=$sth->fetchrow_hash()) {
20 $history[]=$row;
21 }
22
23 $smarty->assign("history",$history);
24 $main=$smarty->fetch("history.tpl");
25
26 include("common.inc");
27 $smarty->assign( array(back_url=>"$section.php", MAIN=>$main));
28
29 $smarty->display("index.tpl");
30 ?>

  ViewVC Help
Powered by ViewVC 1.1.26