--- rnd.php 2001/02/21 11:47:52 1.2 +++ rnd.php 2001/03/12 16:01:22 1.7 @@ -7,7 +7,6 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); $sub_part=substr($part,0,strpos($part,"-")); -print "$sub_part"; if ($sub_part == "MIXIS") { $multi_page=array( @@ -19,12 +18,29 @@ "rnd.php?part=Technology-HighThroughput", "rnd.php?part=Technology-Microarrays" ); +} elseif ($sub_part == "Profile") { + $multi_page=array( + "rnd.php?part=Profile-antiinfectives1", + "rnd.php?part=Profile-antiinfectives2" + ); +} elseif ($sub_part == "Pipeline") { + $multi_page=array( + "rnd.php?part=Pipeline-1", + "rnd.php?part=Pipeline-2" + ); +} else { + $multi_page=array( + "rnd.php?part=Azithromycin1", + "rnd.php?part=Azithromycin2", + "rnd.php?part=Azithromycin3" + ); } $section=str_replace(".php","",basename($PHP_SELF)); $smarty->assign("section",$section); $title="R&D"; +if ($menu_item) $title.=" : $menu_item"; $lpic="rnd"; $lext=".gif"; $tmp = time() % 2; $mpic="rnd_u".($tmp+1).".gif"; @@ -33,7 +49,7 @@ $main_file.=$part.".htm"; $main=join('',file($main_file)); } else { - $main=$smarty->fetch("rnd.tpl"); + $main=join('',file("./html/RnD-Main.htm")); }