Smarty Error: Unable to load template file 'index/index_pic.html'
- D:\wwwroot\xgxnjw_pdeov7\web\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.
* 注册视图函数
- D:\wwwroot\xgxnjw_pdeov7\web\SpeedPHP\Core\spController.php on line 111
106.
*/
107.
public function display($tplname, $output = TRUE)
108.
{
109.
@ob_start();
110.
if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
111.
112.
$this->v->display($tplname);
}else{
113.
extract($this->__template_vals);
114.
require($tplname);
115.
}
116.
if( TRUE != $output )return ob_get_clean();
- D:\wwwroot\xgxnjw_pdeov7\web\controller\home.php on line 26
21.
{
22.
return $this->display("$diy_tpl");
23.
}
24.
else
25.
{
26.
27.
return $this->display("$tpl");
}
28.
}
29.
30.
/**
31.
* 文章列表页
- D:\wwwroot\xgxnjw_pdeov7\web\controller\home.php on line 199
194.
GLOBAL $__controller, $__action;
195.
$this->c=$__controller;
196.
$this->a=$__action;
197.
$this->arctype = spClass("lib_dp_arctype")->find(array("id"=>$this->typeid),null,"name,keywords,description,tpl_index"); //获取当前栏目ID
198.
$this->arctypes = spClass("lib_dp_arctype")->sidebarNav($this->typeid,$this->arctype['parent']);
199.
200.
$this->SelectTpl('index/index_pic.html',$this->arctype['tpl_index']);
}
201.
202.
function info(){
203.
$this->typeid = $this->spArgs("id");
204.
$this->infos = spClass("lib_dp_info")->find(array("typeid"=>$this->typeid)); //获取单页内容
- D:\wwwroot\xgxnjw_pdeov7\web\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);
- D:\wwwroot\xgxnjw_pdeov7\web\index.php on line 61
56.
define('WEBNAME','大鹏网络内容管理系统');
57.
define('VERSIONNUMBER','v3.0');
58.
59.
// 这里是入口文件全局位置
60.
import(APP_PATH.'/include/functions.php');
61.
spRun();