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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations)
Tue May 7 13:45:19 2002 UTC (16 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +0 -2 lines
now in common.inc

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="investor";
10
11 $smarty->assign("section",$section);
12
13 include("section.inc");
14
15 $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
16
17 include("common.inc");
18
19 if ($part == "analyst") {
20 $sth = $dbh->prepare("select company,analyst,email from analysts order by company");
21 $sth->execute();
22 while ($row=$sth->fetchrow_hash()) {
23 $analysts[]=$row;
24 }
25
26 $smarty->assign("analysts",$analysts);
27 $main=$smarty->fetch("analysts.tpl");
28 } else {
29 include("stocks.inc");
30 $smarty->assign(array(stock=>$stock, date=>$date, time=>$time));
31 $main=$smarty->fetch("investor.tpl");
32 }
33 $smarty->assign("MAIN",$main);
34
35 $smarty->display("index.tpl");
36 ?>

  ViewVC Help
Powered by ViewVC 1.1.26