template_dir = UNIV_TEMPLATE_DIR; $smarty->compile_dir = UNIV_COMPILE_DIR; $page = array("login_part" => get_login_part()); $smarty->assign("page", $page); $smarty->display("index.tpl.html"); ?>