Smarty Error: Unable to load template file 'btbook_noad/item.html'
- /www/html/btroom5/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.
* 注册视图函数
- /www/html/btroom5/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();
- /www/html/btroom5/controller/main.php on line 355
350.
$tpl = $this->spArgs("tpl","btbook");
351.
$this->display("{$tpl}/item.html");
352.
}else
353.
{
354.
$tpl = $this->spArgs("tpl","btbook_noad");
355.
356.
$this->display("{$tpl}/item.html");
}
357.
}
358.
359.
function item_api(){
360.
$isSearchSpider=checkIsSearchSpider();
- /www/html/btroom5/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);
- /www/html/btroom5/index.php on line 42
37.
//载入搜索主程序
38.
import('ff.php');
39.
import('ss.php');
40.
import('rd.php');
41.
42.
spRun(); // SpeedPHP 3新特性