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

Annotation of /investor.php

Parent Directory Parent Directory | Revision Log Revision Log


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

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 dpavlin 1.2 $section="investor";
10    
11 dpavlin 1.1 $smarty->assign("section",$section);
12    
13 dpavlin 1.9 include("section.inc");
14 dpavlin 1.3
15 dpavlin 1.1 $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
16    
17     include("common.inc");
18    
19 dpavlin 1.3 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 dpavlin 1.8 include("stocks.inc");
30 dpavlin 1.4 $smarty->assign(array(stock=>$stock, date=>$date, time=>$time));
31 dpavlin 1.3 $main=$smarty->fetch("investor.tpl");
32 dpavlin 1.2 }
33     $smarty->assign("MAIN",$main);
34 dpavlin 1.1
35     $smarty->display("index.tpl");
36     ?>

  ViewVC Help
Powered by ViewVC 1.1.26