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"; |
include("section.inc"); |
38 |
if ($menu_item) $title.=" : $menu_item"; |
|
|
$lpic="rnd"; $lext=".gif"; |
|
|
$tmp = time() % 2; |
|
|
$mpic="rnd_u".($tmp+1).".gif"; |
|
39 |
$main_file="./html/"; |
$main_file="./html/"; |
40 |
if (file_exists($main_file.$part.".htm")) { |
if (file_exists($main_file.$part.".htm")) { |
41 |
$main_file.=$part.".htm"; |
$main_file.=$part.".htm"; |