WARNING: include(D:\wwwroot\shangpu\wwwroot\protected\cache\template\3adcb4c30b82fe0a782d99faa8dd0228.1564540806.article.html.php) [function.include]: failed to open stream: No such file or directory in D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 426
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 554
549.
case E_NOTICE: $msg = "NOTICE"; break;
550.
case E_STRICT: $msg = "STRICT"; break;
551.
case 8192: $msg = "DEPRECATED"; break;
552.
default : $msg = "Unknown Error Type";
553.
}
554.
555.
err("$msg: $errstr in $errfile on line $errline");
}
556.
557.
function err($msg)
558.
{
559.
$traces = debug_backtrace();
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 426
421.
$complied_file = $this->compile($tempalte_name);
422.
423.
@ob_start();
424.
extract($this->template_vals, EXTR_SKIP);
425.
$_view_obj = & $this;
426.
427.
include $complied_file;
428.
return ob_get_clean();
429.
}
430.
431.
public function assign($mixed, $val = '')
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 426
421.
$complied_file = $this->compile($tempalte_name);
422.
423.
@ob_start();
424.
extract($this->template_vals, EXTR_SKIP);
425.
$_view_obj = & $this;
426.
427.
include $complied_file;
428.
return ob_get_clean();
429.
}
430.
431.
public function assign($mixed, $val = '')
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 179
174.
175.
public function display($tpl_name)
176.
{
177.
if(!$this->_v) $this->_v = new View(VIEW_DIR, APP_DIR.DS.'protected'.DS.'cache'.DS.'template');
178.
$this->_v->assign($this->_data);
179.
180.
echo $this->_v->render($tpl_name);
}
181.
}
182.
183.
class Model
184.
{
- D:\wwwroot\shangpu\wwwroot\protected\controller\general_controller.php on line 51
46.
$this->hot_searches = explode(',', $this->seller_config['goods_hot_searches']);
47.
}
48.
49.
protected function compiler($tpl_name)
50.
{
51.
52.
$this->display('frontend'.DS.$GLOBALS['cfg']['enabled_theme'].DS.$tpl_name);
}
53.
54.
protected function prompt($type = null, $text = '', $redirect = null, $time = 3)
55.
{
56.
if(empty($type)) $type = 'default';
- D:\wwwroot\shangpu\wwwroot\protected\controller\article_controller.php on line 29
24.
{
25.
if(!empty($article['link'])) jump($article['link']);
26.
$this->article = $article;
27.
$this->article_cate_list = vcache::instance()->article_cate_model('indexed_list');
28.
$this->curr = 5;
29.
30.
$this->compiler('article.html');
}
31.
else
32.
{
33.
jump(url('main', '404'));
34.
}
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 87
82.
$action_name = 'action_'.$__action;
83.
if(!class_exists($controller_name, true)) err("Err: Controller '$controller_name' is not exists!");
84.
$controller_obj = new $controller_name();
85.
if(!method_exists($controller_obj, $action_name)) err("Err: Method '$action_name' of '$controller_name' is not exists!");
86.
87.
88.
$controller_obj->$action_name();
89.
function url($c = 'main', $a = 'index', $param = array()) {
90.
if(is_array($c)) {
91.
$param = $c;
92.
if(isset($param['m'])) $m = $param['m']; unset($param['m']);
- D:\wwwroot\shangpu\wwwroot\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');