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

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

revision 1.4 by dpavlin, Thu Feb 22 20:46:01 2001 UTC revision 1.6 by dpavlin, Sat Mar 3 12:56:33 2001 UTC
# Line 34  $section=str_replace(".php","",basename( Line 34  $section=str_replace(".php","",basename(
34  $smarty->assign("section",$section);  $smarty->assign("section",$section);
35    
36  $title="R&D";  $title="R&D";
37    if ($menu_item) $title.=" : $menu_item";
38  $lpic="rnd"; $lext=".gif";  $lpic="rnd"; $lext=".gif";
39  $tmp = time() % 2;  $tmp = time() % 2;
40  $mpic="rnd_u".($tmp+1).".gif";  $mpic="rnd_u".($tmp+1).".gif";
# Line 42  if (file_exists($main_file.$part.".htm") Line 43  if (file_exists($main_file.$part.".htm")
43          $main_file.=$part.".htm";          $main_file.=$part.".htm";
44          $main=join('',file($main_file));          $main=join('',file($main_file));
45  } else {  } else {
46          $main=$smarty->fetch("rnd.tpl");          $main=join('',file("./html/RnD-Main.htm"));
47  }  }
48    
49    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26