/[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.3 by dpavlin, Wed Feb 21 12:02:54 2001 UTC revision 1.8 by dpavlin, Mon Mar 12 18:29:04 2001 UTC
# Line 18  if ($sub_part == "MIXIS") { Line 18  if ($sub_part == "MIXIS") {
18                  "rnd.php?part=Technology-HighThroughput",                  "rnd.php?part=Technology-HighThroughput",
19                  "rnd.php?part=Technology-Microarrays"                  "rnd.php?part=Technology-Microarrays"
20                  );                  );
21    } elseif ($sub_part == "Profile") {
22            $multi_page=array(
23                    "rnd.php?part=Profile-antiinfectives1",
24                    "rnd.php?part=Profile-antiinfectives2"
25                    );
26    } else {
27            $multi_page=array(
28                    "rnd.php?part=Azithromycin1",
29                    "rnd.php?part=Azithromycin2",
30                    "rnd.php?part=Azithromycin3"
31                    );
32  }  }
33    
34  $section=str_replace(".php","",basename($PHP_SELF));  $section=str_replace(".php","",basename($PHP_SELF));
35  $smarty->assign("section",$section);  $smarty->assign("section",$section);
36    
37  $title="R&D";  $title="R&D";
38    if ($menu_item) $title.=" : $menu_item";
39  $lpic="rnd"; $lext=".gif";  $lpic="rnd"; $lext=".gif";
40  $tmp = time() % 2;  $tmp = time() % 2;
41  $mpic="rnd_u".($tmp+1).".gif";  $mpic="rnd_u".($tmp+1).".gif";
# Line 32  if (file_exists($main_file.$part.".htm") Line 44  if (file_exists($main_file.$part.".htm")
44          $main_file.=$part.".htm";          $main_file.=$part.".htm";
45          $main=join('',file($main_file));          $main=join('',file($main_file));
46  } else {  } else {
47          $main=$smarty->fetch("rnd.tpl");          $main=join('',file("./html/RnD-Main.htm"));
48  }  }
49    
50    

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

  ViewVC Help
Powered by ViewVC 1.1.26