Err: "D:\virtualhost\localuser\host1063810\www\addons\news\view\comp/pc/.html" is not exists!
- D:\virtualhost\localuser\host1063810\www\wlb\lib\speed.php on line 414
409.
if($mixed != '')$this->template_vals[$mixed] = $val;
410.
}
411.
}
412.
public function compile($tempalte_name){
413.
$file = $this->template_dir.DS.$tempalte_name;
414.
415.
if(!file_exists($file)) err('Err: "'.$file.'" is not exists!');
if(!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) err('Err: Directory "'.$this->compile_dir.'" is not writable or readable');
416.
$complied_file = $this->compile_dir.DS.md5(realpath($file)).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
417.
if(file_exists($complied_file))return $complied_file;
418.
$template_data = file_get_contents($file);
419.
$template_data = $this->_compile_struct($template_data);
- D:\virtualhost\localuser\host1063810\www\wlb\lib\speed.php on line 396
391.
$this->right_delimiter = $right_delimiter;
392.
$this->template_dir = $template_dir;
393.
$this->compile_dir = $compile_dir;
394.
}
395.
public function render($tempalte_name){
396.
397.
$complied_file = $this->compile($tempalte_name);
@ob_start();
398.
extract($this->template_vals, EXTR_SKIP);
399.
$_view_obj = & $this;
400.
include $complied_file;
401.
return ob_get_clean();
- D:\virtualhost\localuser\host1063810\www\wlb\lib\speed.php on line 236
231.
}
232.
$this->_auto_display = false;
233.
if($return){
234.
return $this->_v->render($tpl_name);
235.
}else{
236.
237.
echo $this->_v->render($tpl_name);
}
238.
}
239.
}
240.
class Model{
241.
public $page;
- D:\virtualhost\localuser\host1063810\www\addons\news\controller\CompController.php on line 133
128.
if($cateinfo['templetelist']==0){
129.
$customtempletelist=$cateinfo['customtempletelist'];
130.
}else{
131.
$customtempletelist=$new_cate_temp_list[$cateinfo['templetelist']]['templetelist'];
132.
}
133.
134.
$this->display("$this->subpath/".$customtempletelist.'.html');
}
135.
function actionArtinfo(){
136.
$id=arg('id',0);
137.
$one=get_model_one(array('id'=>$id), 'news_article');
138.
if(!$one){
- D:\virtualhost\localuser\host1063810\www\wlb\lib\speed.php on line 114
109.
}
110.
BaseController::err404($str);
111.
}
112.
}
113.
$controller_obj = new $controller_name();
114.
115.
$controller_obj->$action_name();
116.
117.
if($controller_obj->_auto_display){
118.
$auto_tpl_dir = (empty($__module) ? 'wlb'. DS.'view' : ADDONS.DS.$__module.DS.'view');
119.
$auto_tpl_name = $__controller.'/'.$__action.'.html';
- D:\virtualhost\localuser\host1063810\www\index.php on line 9
4.
define('APP_DIR', realpath('./'));
5.
define ('SITE_DOMAIN', strip_tags ( $_SERVER ['HTTP_HOST'] ) );
6.
define ('SITE_PATH', dirname ( __FILE__ ) );
7.
define('SYSNAME', "会员管理平台");
8.
define('IN',true);
9.
10.
require(APP_DIR.'/wlb/lib/speed.php');