6 |
|
|
7 |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
8 |
|
|
9 |
$multi_page=array( |
$sub_part=substr($part,0,strpos($part,"-")); |
10 |
"rnd.php?part=MIXIS-HomePR", |
|
11 |
"rnd.php?part=MIXIS-Sci-TechPR" |
if ($sub_part == "MIXIS") { |
12 |
); |
$multi_page=array( |
13 |
|
"rnd.php?part=MIXIS-HomePR", |
14 |
|
"rnd.php?part=MIXIS-Sci-TechPR" |
15 |
|
); |
16 |
|
} elseif ($sub_part == "Technology") { |
17 |
|
$multi_page=array( |
18 |
|
"rnd.php?part=Technology-HighThroughput", |
19 |
|
"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 |
|
} elseif ($sub_part == "Pipeline") { |
27 |
|
$multi_page=array( |
28 |
|
"rnd.php?part=Pipeline-1", |
29 |
|
"rnd.php?part=Pipeline-2" |
30 |
|
); |
31 |
|
} |
32 |
|
|
33 |
$section=str_replace(".php","",basename($PHP_SELF)); |
$section=str_replace(".php","",basename($PHP_SELF)); |
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"; |
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 |
|
|