/[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.2 - (hide annotations)
Thu Jun 28 13:33:04 2001 UTC (22 years, 8 months ago) by dpavlin
Branch: MAIN
Changes since 1.1: +1 -1 lines
radnom pictures

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 dpavlin 1.2 $smarty->assign(array(section=>$section, mpic=>$mpic, Section_title=>$title, rnd=>$rnd));
17 ravilov 1.1
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