NOTICE: Undefined variable: cate in /www/wcms/sqzhongming.com/protected/cache/template/71533a36ecc9c2c10d399e1e5a5aea54.1572359360.news.html.php on line 56
- /www/wcms/sqzhongming.com/protected/include/core.php on line 565
560.
case E_NOTICE: $msg = "NOTICE"; break;
561.
case E_STRICT: $msg = "STRICT"; break;
562.
case 8192: $msg = "DEPRECATED"; break;
563.
default : $msg = "Unknown Error Type";
564.
}
565.
566.
err("$msg: $errstr in $errfile on line $errline");
}
567.
568.
function err($msg)
569.
{
570.
$traces = debug_backtrace();
- /www/wcms/sqzhongming.com/protected/cache/template/71533a36ecc9c2c10d399e1e5a5aea54.1572359360.news.html.php on line 56
51.
52.
53.
<div class="breadcrumb pull-left">
54.
55.
56.
57.
<img alt="當前位置" title="當前位置" src="<?php echo htmlspecialchars($common['theme'], ENT_QUOTES, "UTF-8"); ?>/images/home.png" />當前位置:<a href="/">首頁</a> > <a href='/news/view.html?id=<?php echo htmlspecialchars($cate['cate_id'], ENT_QUOTES, "UTF-8"); ?>'><?php echo htmlspecialchars($cate['cate_name'], ENT_QUOTES, "UTF-8"); ?></a>
58.
</div>
59.
60.
</div>
61.
- /www/wcms/sqzhongming.com/protected/include/core.php on line 437
432.
$complied_file = $this->compile($tempalte_name);
433.
434.
@ob_start();
435.
extract($this->template_vals, EXTR_SKIP);
436.
$_view_obj = & $this;
437.
438.
include $complied_file;
439.
return ob_get_clean();
440.
}
441.
442.
public function assign($mixed, $val = '')
- /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/general_controller.php on line 32
27.
if($GLOBALS['cfg']['wap']){
28.
if(is_mobile_device())$div = '/mobile/';
29.
}
30.
31.
$path = $GLOBALS['cfg']['enabled_theme'].$div.$tpl_name;
32.
33.
$this->display($path);
}
34.
35.
protected function prompt($type = null, $text = '', $redirect = null, $time = 3)
36.
{
37.
if(empty($type)) $type = 'default';
- /www/wcms/sqzhongming.com/protected/controller/news_controller.php on line 57
52.
$this->news = $news;
53.
54.
55.
$article_model->query("update {$article_model->table_name} set hits=hits+1 where id=$id");
56.
57.
58.
$this->compiler('news.html');
}
59.
else
60.
{
61.
jump(url('main', '404'));
62.
}
- /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');