Err: "/www/wwwroot/www.zaxteam.com.cn/addons/news/view/comp/enpc/.html" is not exists!
- /www/wwwroot/www.zaxteam.com.cn/wlb/lib/speed.php on line 478
473.
}
474.
}
475.
476.
public function compile($tempalte_name){
477.
$file = $this->template_dir . DS . $tempalte_name;
478.
479.
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');
480.
$complied_file = $this->compile_dir . DS . md5(realpath($file)) . '.' . filemtime($file) . '.' . basename($tempalte_name) . '.php';
481.
if (file_exists($complied_file)) return $complied_file;
482.
$template_data = file_get_contents($file);
483.
$template_data = $this->_compile_struct($template_data);
- /www/wwwroot/www.zaxteam.com.cn/wlb/lib/speed.php on line 458
453.
$this->template_dir = $template_dir;
454.
$this->compile_dir = $compile_dir;
455.
}
456.
457.
public function render($tempalte_name){
458.
459.
$complied_file = $this->compile($tempalte_name);
@ob_start();
460.
extract($this->template_vals, EXTR_SKIP);
461.
$_view_obj = &$this;
462.
include $complied_file;
463.
return ob_get_clean();
- /www/wwwroot/www.zaxteam.com.cn/wlb/lib/speed.php on line 259
254.
}
255.
$this->_auto_display = false;
256.
if ($return) {
257.
return $this->_v->render($tpl_name);
258.
} else {
259.
260.
echo $this->_v->render($tpl_name);
}
261.
}
262.
}
263.
264.
class Model{
- /www/wwwroot/www.zaxteam.com.cn/addons/news/controller/EncompController.php on line 310
305.
} else {
306.
$newlist = new_cate_temp_list();
307.
$templetelist = $newlist[$cateinfo['templetelist']]['templetenews'];
308.
}
309.
310.
311.
$this->display("$this->subpath/$templetelist.html");
}
312.
313.
function actionSearch(){
314.
$keywords = arg('keywords', "");
315.
$str = '';
- /www/wwwroot/www.zaxteam.com.cn/wlb/lib/speed.php on line 117
112.
}
113.
BaseController::err404($str);
114.
}
115.
}
116.
$controller_obj = new $controller_name();
117.
118.
$controller_obj->$action_name();
119.
120.
if ($controller_obj->_auto_display) {
121.
$auto_tpl_dir = (empty($__module) ? 'wlb' . DS . 'view' : ADDONS . DS . $__module . DS . 'view');
122.
$auto_tpl_name = $__controller . '/' . $__action . '.html';
- /www/wwwroot/www.zaxteam.com.cn/index.php on line 17
12.
define('SHUIPEICE', "4600");
13.
define('SERVER_APPID',"wxb3ea6bd6e2522c19");
14.
define('SERVER_MCH_ID',"1600888095");
15.
define('START_DATE',"2022-11-14");
16.
define('IN',true);
17.
require(APP_DIR.'/wlb/lib/speed.php');