/[pliva-si]/index.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 /index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Jun 28 12:09:16 2001 UTC (18 years, 3 months ago) by ravilov
Branch: MAIN
Branch point for: pliva
Initial revision

1 ravilov 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=str_replace(".php","",basename($PHP_SELF));
10     $smarty->assign("section",$section);
11    
12     $main_file=$section;
13    
14     require("inc/section.php");
15    
16     $smarty->assign(array(section=>$section, lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title));
17    
18     $smarty->assign("r1link", "#");
19     $smarty->assign("r1pic", "bisolex.jpg");
20     $smarty->assign("r2link", "#");
21     $smarty->assign("r2pic", "andol1.jpg");
22    
23     include("common.inc");
24    
25     $smarty->assign("MAIN",$smarty->fetch("$main_file.tpl"));
26    
27     $smarty->display("index.tpl");
28     ?>

  ViewVC Help
Powered by ViewVC 1.1.26