/[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

Diff of /legal.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Wed Feb 28 09:48:30 2001 UTC revision 1.3 by dpavlin, Sat Mar 17 18:23:47 2001 UTC
# Line 11  $smarty->assign("section",$section); Line 11  $smarty->assign("section",$section);
11    
12  $main_file="legal";  $main_file="legal";
13    
14  $title="HOME";  $title="Important Legal Information";
15  $lpic="obitelj"; $lext=".jpg";  $lpic="obitelj"; $lext=".jpg";
16  $tmp = time() % 3;  $tmp = time() % 3;
17  $mpic="welcome_".($tmp+1).".gif";  $mpic="welcome_".($tmp+1).".gif";
# Line 20  $smarty->assign( array ( lpic=>$lpic, le Line 20  $smarty->assign( array ( lpic=>$lpic, le
20    
21  include("common.inc");  include("common.inc");
22    
23  $main=$smarty->fetch("$main_file.tpl");  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  $smarty->assign("MAIN",$main);  $smarty->assign("MAIN",$main);
31    
32  $smarty->display("index.tpl");  $smarty->display("index.tpl");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26