Smarty Error: Syntax Error in template "/home/lshxcnoltskhtxocin/wwwroot/templates/home/sitemap.html" on line 27 "<div class="maintitle">网站地图<span class="location">您现在的位置:主页 > {$curcolumn2.classname}{/if} > 网站地图 </span></div>" unknown tag "ifclose"
- /home/lshxcnoltskhtxocin/wwwroot/SpeedPHP/Core/spView.php on line 52
47.
$this->addfuncs();
48.
$this->displayed = TRUE;
49.
if($GLOBALS['G_SP']['view']['debugging'] && SP_DEBUG)$this->engine->debugging = TRUE;
50.
$this->engine->display($tplname);
51.
} catch (Exception $e) {
52.
53.
spError( $GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
}
54.
}
55.
56.
/**
57.
* 注册视图函数
- /home/lshxcnoltskhtxocin/wwwroot/SpeedPHP/Core/spController.php on line 105
100.
*/
101.
public function display($tplname, $output = TRUE)
102.
{
103.
@ob_start();
104.
if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
105.
106.
$this->v->display($tplname);
}else{
107.
extract($this->__template_vals);
108.
require($tplname);
109.
}
110.
if( TRUE != $output )return ob_get_clean();
- /home/lshxcnoltskhtxocin/wwwroot/modules/home/sitemap.php on line 21
16.
for($j=0;$j<count($allcolumn[$i]['child']);$j++){
17.
//$allcolumn[$i]['child'][$j]['article']=spClass("m_".$allcolumn[$i]['child'][$j]['model'])->findAll("classid2=".$allcolumn[$i]['child'][$j]['id'],"px desc,id desc");
18.
}
19.
}
20.
$this->allcolumn=$allcolumn;
21.
22.
$this->display("sitemap.html");
}
23.
24.
25.
}
- /home/lshxcnoltskhtxocin/wwwroot/SpeedPHP/spFunctions.php on line 21
16.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.
eval($GLOBALS['G_SP']["dispatcher_error"]);
18.
exit;
19.
}
20.
// 路由并执行用户代码
21.
22.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
23.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
24.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
25.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
26.
$handle_controller->auto_display($__tplname);
- /home/lshxcnoltskhtxocin/wwwroot/index.php on line 27
22.
'suffix' => '.html', // 生成地址的结尾符
23.
),
24.
);
25.
26.
require(SP_PATH."/SpeedPHP.php");
27.
spRun();