Smarty Error: Unable to load template file 'Home/tags.html'
- /www/wwwroot/flashmediaserver.com.cn/Comm/MyFrame/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.
* 注冊(cè)視圖函數(shù)
- /www/wwwroot/flashmediaserver.com.cn/Comm/MyFrame/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();
- /www/wwwroot/flashmediaserver.com.cn/Action/home.php on line 333
328.
$this->keys = $this->spArgs('keyword');
329.
$this->display('Home/tagList.html');
330.
}else{
331.
//所有TAGS
332.
$this->tags = spClass('m_tags')->findSql('SELECT *, count(id) as gjcnum FROM vn_tags group by gjc'); // 執(zhí)行查找
333.
334.
$this->display('Home/tags.html');
}
335.
}
336.
//網(wǎng)站地圖
337.
public function map(){
338.
$this->pcat = spClass('m_pcat')->findAll();
- /www/wwwroot/flashmediaserver.com.cn/Comm/MyFrame/spFunctions.php on line 32
27.
}else{
28.
spClass('m_conf')->update(array('id'=>1),array('yuefen'=>date('Y-m')));
29.
}
30.
}
31.
// 路由并執(zhí)行用戶代碼
32.
33.
$handle_controller->$__action();
// 控制器程序運(yùn)行完畢,進(jìn)行模板的自動(dòng)輸出
34.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
35.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
36.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼裝模板路徑
37.
$handle_controller->auto_display($__tplname);
- /www/wwwroot/flashmediaserver.com.cn/index.php on line 12
7.
//加載配置文件
8.
require('config.php');
9.
//加載框架核心
10.
require(SP_PATH.'/SpeedPHP.php');
11.
//執(zhí)行應(yīng)用
12.
13.
spRun();
?>