NOTICE: Undefined index: tel in /www/wwwroot/sqzhongming.com/protected/cache/template/8c023c4de7f715cebd438a6913d68519.1572356276.index.html.php on line 62
- /www/wwwroot/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/wwwroot/sqzhongming.com/protected/cache/template/8c023c4de7f715cebd438a6913d68519.1572356276.index.html.php on line 62
57.
<li><a class="border-b" href="<?php echo url(array('c'=>'product', 'a'=>'view', 'id'=>$v['id'], ));?>" ><img height="140" src="<?php if (!empty($v['picture'])) : ?><?php echo htmlspecialchars($v['picture'], ENT_QUOTES, "UTF-8"); ?><?php else : ?><?php echo htmlspecialchars($common['theme'], ENT_QUOTES, "UTF-8"); ?>/images/nopic.jpg<?php endif; ?>" /><div><?php echo htmlspecialchars($v['title'], ENT_QUOTES, "UTF-8"); ?></div></a></li>
58.
<?php endforeach; ?>
59.
</ul>
60.
<div class="clear"></div>
61.
</div>
62.
63.
<div class="itel">咨詢熱線:<a class="telv tel_v" href="tel:<?php echo htmlspecialchars($common['tel'], ENT_QUOTES, "UTF-8"); ?>"><?php echo htmlspecialchars($common['tel'], ENT_QUOTES, "UTF-8"); ?></a></div>
</div>
64.
65.
66.
<div class="mar10">
67.
<a href="#"><img src="<?php echo htmlspecialchars($common['theme'], ENT_QUOTES, "UTF-8"); ?>/images/youshi.jpg" width="100%" /></a>
- /www/wwwroot/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/wwwroot/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/wwwroot/sqzhongming.com/protected/controller/mobile/general_controller.php on line 18
13.
);
14.
}
15.
16.
protected function compiler($tpl_name)
17.
{
18.
19.
$this->display($GLOBALS['cfg']['enabled_theme'].'/mobile/'.$tpl_name);
}
20.
21.
protected function prompt($type = null, $text = '', $redirect = null, $time = 3)
22.
{
23.
if(empty($type)) $type = 'default';
- /www/wwwroot/sqzhongming.com/protected/controller/mobile/main_controller.php on line 13
8.
$vcache = vcache::instance();
9.
10.
$this->nav = $vcache->nav_model('get_site_nav');
11.
//dump($this->nav);
12.
13.
14.
$this->compiler('index.html');
}
15.
16.
public function action_404()
17.
{
18.
$this->compiler('404.html');
- /www/wwwroot/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/wwwroot/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');