Err: "/opt/sites/www.oymm7.com/addons/news/view/comp/pc/.html" is not exists!
- /opt/sites/www.oymm7.com/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);
- /opt/sites/www.oymm7.com/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();
- /opt/sites/www.oymm7.com/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;
- /opt/sites/www.oymm7.com/addons/news/controller/CompController.php on line 246
241.
$this->jmlc=get_model_one(array('id'=>70), 'news_cate','*');
242.
$this->jmlclist=get_model_other(array('cid'=>70,'is_verify'=>1),'news_sarticle','id,title,cover,covers,content,ask,description','sort desc,id asc');
243.
244.
$this->joinlist=get_model_other(array('cid'=>102,'is_verify'=>1),'news_sarticle','id,title,cover,covers,content,ask,description,addtime','sort desc,id asc');
245.
246.
247.
$this->display("$this->subpath/".$customtempletelist.'.html');
}
248.
function actionArtinfo(){
249.
$id=arg('id',0);
250.
$re = date_incr(array('id' => $id), 'news_article', 'volum', 1);
251.
$one=get_model_one(array('id'=>$id), 'news_article');
- /opt/sites/www.oymm7.com/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';
- /opt/sites/www.oymm7.com/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.
require(APP_DIR.'/wlb/lib/speed.php');