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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Sat Mar 17 18:23:47 2001 UTC (18 years, 4 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
title

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="about";
10     $smarty->assign("section",$section);
11    
12     $main_file="legal";
13    
14 dpavlin 1.3 $title="Important Legal Information";
15 dpavlin 1.1 $lpic="obitelj"; $lext=".jpg";
16     $tmp = time() % 3;
17     $mpic="welcome_".($tmp+1).".gif";
18    
19     $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
20    
21     include("common.inc");
22    
23 dpavlin 1.2 if (file_exists("./html/".$main_file.".htm")) {
24     $main_file="./html/".$main_file.".htm";
25     $main=join('',file($main_file));
26     // $main.="<!-- file: $main_file -->";
27     } else {
28     $main=$smarty->fetch("$main_file.tpl");
29     }
30 dpavlin 1.1 $smarty->assign("MAIN",$main);
31    
32     $smarty->display("index.tpl");
33     ?>

  ViewVC Help
Powered by ViewVC 1.1.26