Err: "/www/wcms/sqzhongming.com/skins/seo/log_list.html" is not exists!
- /www/wcms/sqzhongming.com/protected/include/core.php on line 460
455.
}
456.
457.
public function compile($tempalte_name)
458.
{
459.
$file = $this->template_dir.DS.$tempalte_name;
460.
461.
if(!$file = realpath($file)) err('Err: "'.$this->template_dir.DS.$tempalte_name.'" 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');
462.
$complied_file = $this->compile_dir.DS.md5($file).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
463.
if(is_file($complied_file)) return $complied_file;
464.
465.
$template_data = file_get_contents($file);
- /www/wcms/sqzhongming.com/protected/include/core.php on line 432
427.
$this->compile_dir = $compile_dir;
428.
}
429.
430.
public function render($tempalte_name)
431.
{
432.
433.
$complied_file = $this->compile($tempalte_name);
434.
@ob_start();
435.
extract($this->template_vals, EXTR_SKIP);
436.
$_view_obj = & $this;
437.
include $complied_file;
- /www/wcms/sqzhongming.com/protected/include/core.php on line 190
185.
186.
public function display($tpl_name)
187.
{
188.
if(!$this->_v) $this->_v = new View(VIEW_DIR, APP_DIR.DS.'protected'.DS.'cache'.DS.'template');
189.
$this->_v->assign($this->_data);
190.
191.
echo $this->_v->render($tpl_name);
}
192.
}
193.
194.
class Model
195.
{
- /www/wcms/sqzhongming.com/protected/controller/s_controller.php on line 46
41.
$this->url = '/?c=s&a=index&uid='.$uid;
42.
$this->paging = $model->page;
43.
44.
}
45.
46.
47.
$this->display('seo/log_list.html');
}
48.
49.
public function action_kw()
50.
{
51.
$site =request('site','');
- /www/wcms/sqzhongming.com/protected/include/core.php on line 94
89.
$action_name = 'action_'.$__action;
90.
if(!class_exists($controller_name, true)) {header('location:/404.html');exit();}
91.
$controller_obj = new $controller_name();
92.
if(!method_exists($controller_obj, $action_name)) err("Err: Method '$action_name' of '$controller_name' is not exists!");
93.
94.
95.
$controller_obj->$action_name();
96.
function url($c = 'main', $a = 'index', $param = array())
97.
{
98.
if(is_array($c))
99.
{
- /www/wcms/sqzhongming.com/index.php on line 5
1.
<?php
2.
define('APP_DIR', realpath('./'));
3.
defined('DS') or define('DS', DIRECTORY_SEPARATOR);
4.
define('INCL_DIR', APP_DIR.DS.'protected'.DS.'include');
5.
require(INCL_DIR.DS.'core.php');