template_exists("index.tpl")) { exit("模板不存在,请在网站后台重新设置!"); } $category = end($tempinfo->crumb); $tempinfo->assign("category",$category); $tempinfo->display("index.tpl"); ?>