compile_check = true; $smarty->debugging = false; $smarty->assign("title",$title); $smarty->assign("msg",$msg); $smarty->display('header.tpl'); $smarty->display('index.tpl'); $smarty->display('footer.tpl'); ?>