--- about.php 2001/02/28 14:12:56 1.2 +++ about.php 2001/10/01 14:05:16 1.4 @@ -6,15 +6,9 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); -$section=str_replace(".php","",basename($PHP_SELF)); +include("section.inc"); $smarty->assign("section",$section); -$title="ABOUT US"; -$lpic="about"; $lext=".gif"; -$mpic="about.gif"; - -$title.=" : About Us"; - $main_file="./html/AboutUs-"; if (file_exists($main_file.$part.".htm")) { $main_file.=$part.".htm"; @@ -32,6 +26,7 @@ } else { $main_file.="Main.htm"; $main=join('',file($main_file)); + $title.=" : Welcome"; }