Smarty Error: Unable to load template file 'Home/news.htm'
- D:\wwwroot\junyucm.com\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.
* 注冊視圖函數(shù)
- D:\wwwroot\junyucm.com\Comm\MyFrame\Core\spController.php on line 164
159.
$tplname = $tpl.'/'.$tplname;
160.
//echo $tplname; die();
161.
}
162.
163.
if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
164.
165.
$this->v->display($tplname);
}else{
166.
extract($this->__template_vals);
167.
require($tplname);
168.
}
169.
if( TRUE != $output )return ob_get_clean();
- D:\wwwroot\junyucm.com\Action\home.php on line 309
304.
$this->total_page = $total_page;
305.
}else{
306.
$this->total_page = 0;
307.
}
308.
//輸出模板
309.
310.
$this->display('news.htm');
}
311.
312.
/**
313.
* 新聞信息頁
314.
*/
- D:\wwwroot\junyucm.com\Comm\MyFrame\spFunctions.php on line 21
16.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.
evals($GLOBALS['G_SP']["dispatcher_error"]);
18.
exit;
19.
}
20.
// 路由並執行用戶代碼
21.
22.
$handle_controller->$__action();
// 控(kòng)製器程序運(yùn)行完畢(bì),進行(háng)模(mó)板的自動輸出
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']; // 拚(pīn)裝模板(bǎn)路徑
26.
$handle_controller->auto_display($__tplname);
- D:\wwwroot\junyucm.com\index.php on line 18
13.
//加載配置文件
14.
require(APP_PATH.'/data/config.php');
15.
//加載框架核心
16.
require(SP_PATH.'/SpeedPHP.php');
17.
//執行(háng)應用
18.
spRun();