assign("header","MainPage"); $smarty->display('mainpage.tpl'); ?>