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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Tue Feb 20 15:17:06 2001 UTC (23 years, 2 months ago) by dpavlin
Branch: MAIN
Changes since 1.1: +5 -1 lines
početak annual results

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="investor";
10    
11     $title="INVESTOR'S PAGE";
12     $lpic="investor"; $lext=".jpg";
13     $mpic="investors.gif";
14    
15 dpavlin 1.2 if ($part && file_exists("templates/$part.tpl")) {
16     $main_file=$part;
17     } else {
18     $main_file="results";
19     }
20 dpavlin 1.1
21     $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
22    
23    
24     $main=$smarty->fetch("$main_file.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