--- rnd.php 2001/02/22 20:46:01 1.4 +++ rnd.php 2001/10/02 09:59:03 1.10 @@ -23,26 +23,22 @@ "rnd.php?part=Profile-antiinfectives1", "rnd.php?part=Profile-antiinfectives2" ); -} elseif ($sub_part == "Pipeline") { +} else { $multi_page=array( - "rnd.php?part=Pipeline-1", - "rnd.php?part=Pipeline-2" + "rnd.php?part=Azithromycin1", + "rnd.php?part=Azithromycin2", + "rnd.php?part=Azithromycin3" ); } -$section=str_replace(".php","",basename($PHP_SELF)); -$smarty->assign("section",$section); +include("section.inc"); -$title="R&D"; -$lpic="rnd"; $lext=".gif"; -$tmp = time() % 2; -$mpic="rnd_u".($tmp+1).".gif"; $main_file="./html/"; if (file_exists($main_file.$part.".htm")) { $main_file.=$part.".htm"; $main=join('',file($main_file)); } else { - $main=$smarty->fetch("rnd.tpl"); + $main=join('',file("./html/RnD-Main.htm")); }