WARNING: Invalid argument supplied for foreach() in /usr/home/syu8145830001/htdocs/protected/tmp/a4be60bb9ad70cc7b88e1118ac78c928.1606977776.stories_list.html.php on line 35
- /usr/home/syu8145830001/htdocs/protected/lib/speed.php on line 493
488.
$msg = "ERROR";
489.
if($errno == E_WARNING)$msg = "WARNING";
490.
if($errno == E_NOTICE)$msg = "NOTICE";
491.
if($errno == E_STRICT)$msg = "STRICT";
492.
if($errno == 8192)$msg = "DEPRECATED";
493.
494.
err("$msg: $errstr in $errfile on line $errline");
}
495.
function err($msg){
496.
$msg = htmlspecialchars($msg);
497.
$traces = debug_backtrace();
498.
if(!$GLOBALS['debug']){
- /usr/home/syu8145830001/htdocs/protected/tmp/a4be60bb9ad70cc7b88e1118ac78c928.1606977776.stories_list.html.php on line 35
30.
<li class="case-slide <?php if ($aid==$cate['id']) : ?>active<?php endif; ?>"><span><a href="<?php echo url(array('c'=>$classnav, 'a'=>'index', 'pid'=>$pid, 'aid'=>$cate['id'], ));?>"><?php echo htmlspecialchars($cate['name'], ENT_QUOTES, "UTF-8"); ?></a></span></li>
31.
<?php endforeach; ?>
32.
</ul>
33.
<div class="tab-bd an-right">
34.
<div class="news-list" >
35.
36.
<?php $_foreach_value_counter = 0; $_foreach_value_total = count($articles);?><?php foreach( $articles as $key => $value ) : ?><?php $_foreach_value_index = $_foreach_value_counter;$_foreach_value_iteration = $_foreach_value_counter + 1;$_foreach_value_first = ($_foreach_value_counter == 0);$_foreach_value_last = ($_foreach_value_counter == $_foreach_value_total - 1);$_foreach_value_counter++;?>
37.
<div class="row">
38.
<a href="<?php echo url(array('c'=>$classnav, 'a'=>'detail', 'id'=>$value['id'], ));?>" class="news-item clearfix">
39.
<!-- <img class="news-img" onerror="this.src='../i/error.png'" src="../<?php echo htmlspecialchars($value['img'], ENT_QUOTES, "UTF-8"); ?>" alt="<?php echo htmlspecialchars($value['name'], ENT_QUOTES, "UTF-8"); ?>"/> -->
40.
<div class="right-div" style=" margin-left: 0;">
- /usr/home/syu8145830001/htdocs/protected/tmp/ae5f82e636d074750c01d4153d25f567.1606977776.layout.html.php on line 140
135.
</div>
136.
</header>
137.
138.
139.
140.
141.
<?php include $_view_obj->compile($__template_file); ?>
142.
143.
<footer class="footer-layout">
144.
<div class="footer-info">
145.
<div class="container">
- /usr/home/syu8145830001/htdocs/protected/lib/speed.php on line 371
366.
$complied_file = $this->compile($tempalte_name);
367.
368.
@ob_start();
369.
extract($this->template_vals, EXTR_SKIP);
370.
$_view_obj = & $this;
371.
372.
include $complied_file;
373.
return ob_get_clean();
374.
}
375.
376.
public function assign($mixed, $val = ''){
- /usr/home/syu8145830001/htdocs/protected/lib/speed.php on line 187
182.
$this->_auto_display = false;
183.
184.
if($return){
185.
return $this->_v->render($tpl_name);
186.
}else{
187.
188.
echo $this->_v->render($tpl_name);
}
189.
}
190.
}
191.
192.
class Model{
- /usr/home/syu8145830001/htdocs/protected/controller/StoriesController.php on line 65
60.
$this->aid=$aid;
61.
$this->pid=$pid;
62.
$this->row=$row;
63.
$this->aid_name=$aid_name;
64.
// print_r($this->getClass($row['id']));exit();
65.
66.
$this->display($this->getClass($row['id']).'_list.html');
67.
}
68.
69.
function actionDetail(){
70.
$id = empty($_REQUEST['id']) ? 0 : intval($_REQUEST['id']);
- /usr/home/syu8145830001/htdocs/protected/lib/speed.php on line 78
73.
if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
74.
if(!class_exists($controller_name, true))_err_router("Err: Controller '$controller_name' is not exists!");
75.
if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
76.
77.
$controller_obj = new $controller_name();
78.
79.
$controller_obj->$action_name();
80.
if($controller_obj->_auto_display){
81.
$auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
82.
if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
83.
}
- /usr/home/syu8145830001/htdocs/index.php on line 4
1.
<?php
2.
// phpinfo();exit();
3.
define('APP_DIR', realpath('./'));
4.
require(APP_DIR.'/protected/lib/speed.php');