--- rnd.php 2001/02/20 11:37:21 1.1.1.1 +++ rnd.php 2001/02/21 12:02:54 1.3 @@ -6,10 +6,19 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); -$multi_page=array( - "rnd.php?part=MIXIS-HomePR", - "rnd.php?part=MIXIS-Sci-TechPR" - ); +$sub_part=substr($part,0,strpos($part,"-")); + +if ($sub_part == "MIXIS") { + $multi_page=array( + "rnd.php?part=MIXIS-HomePR", + "rnd.php?part=MIXIS-Sci-TechPR" + ); +} elseif ($sub_part == "Technology") { + $multi_page=array( + "rnd.php?part=Technology-HighThroughput", + "rnd.php?part=Technology-Microarrays" + ); +} $section=str_replace(".php","",basename($PHP_SELF)); $smarty->assign("section",$section);