/[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.10 - (hide annotations)
Mon Apr 8 11:12:34 2002 UTC (21 years, 11 months ago) by dpavlin
Branch: MAIN
Changes since 1.9: +2 -0 lines
newsletter

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 dpavlin 1.10 include("inc/newsletter.php");
36    
37 dpavlin 1.1 $smarty->display("index.tpl");
38     ?>

  ViewVC Help
Powered by ViewVC 1.1.26