WARNING: Invalid argument supplied for foreach() in /home/eb5supermarket/public_html/main.php on line 40
- /home/eb5supermarket/public_html/protected/lib/speed.php on line 555
550.
$msg = "ERROR";
551.
if($errno == E_WARNING)$msg = "WARNING";
552.
if($errno == E_NOTICE)$msg = "NOTICE";
553.
if($errno == E_STRICT)$msg = "STRICT";
554.
if($errno == 8192)$msg = "DEPRECATED";
555.
556.
err("$msg: $errstr in $errfile on line $errline");
}
557.
function err($msg){
558.
$msg = htmlspecialchars($msg);
559.
$traces = debug_backtrace();
560.
if(!empty($GLOBALS['err_handler'])){
- /home/eb5supermarket/public_html/main.php on line 40
35.
$lawyers_sql = 'SELECT * FROM lawyers ORDER BY crown, last_name ASC LIMIT '.$offset.', '.$page_size;
36.
file_put_contents("testesttest.txt",$lawyers_sql);
37.
$lawyers = mysqli_query($conn, $lawyers_sql);
38.
39.
40.
41.
foreach ($lawyers as $lawyer) {
echo '<div class="lawyer">';
42.
echo '<div class="profile">';
43.
echo '<div class="fakeimg" style="background-image: url(''.$lawyer['photo_path'].''); background-repeat: no-repeat; background-size: cover;"></div>';
44.
echo '<div class="smallmedia">';
45.
- /home/eb5supermarket/public_html/protected/tmp/cec96893b14a8c1b78b6979c3efb25ab.1573700091.index.php.php on line 474
469.
<a href="#" style="text-decoration: none;"><button id="filterbtn" onClick="openFilter()" type="reset" value="reset"><i class="fa fa-sliders"></i> 筛选 Filter</button></a>
470.
<div class="onlyforjspagination">
471.
<div class="main" id="results">
472.
473.
<?php
474.
475.
include "main.php";
?>
476.
477.
</div>
478.
<div class="jspagination" id="jspagination"></div>
479.
</div>
- /home/eb5supermarket/public_html/protected/lib/speed.php on line 432
427.
$complied_file = $this->compile($tempalte_name);
428.
429.
@ob_start();
430.
extract($this->template_vals, EXTR_SKIP);
431.
$_view_obj = & $this;
432.
433.
include $complied_file;
434.
return ob_get_clean();
435.
}
436.
437.
public function assign($mixed, $val = ''){
- /home/eb5supermarket/public_html/protected/lib/speed.php on line 245
240.
$this->_auto_display = false;
241.
242.
if($return){
243.
return $this->_v->render($tpl_name);
244.
}else{
245.
246.
echo $this->_v->render($tpl_name);
}
247.
}
248.
}
249.
250.
class Model{
- /home/eb5supermarket/public_html/protected/controller/MainController.php on line 6
1.
<?php
2.
class MainController extends Controller
3.
{
4.
public function actionIndex()
5.
{
6.
7.
$this->display("index.php");
}
8.
}
9.
?>
- /home/eb5supermarket/public_html/protected/lib/speed.php on line 89
84.
$GLOBALS['controller_name'] = $controller_name;
85.
$GLOBALS['action_name'] = $action_name;
86.
$GLOBALS['module'] = $__module;
87.
88.
$controller_obj = new $controller_name();
89.
90.
$controller_obj->$action_name();
91.
if($controller_obj->_auto_display){
92.
$auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
93.
if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
94.
}
- /home/eb5supermarket/public_html/index.php on line 9
4.
// 初始化缓存文件
5.
is_dir(APP_DIR.'/protected/tmp') OR mkdir(APP_DIR.'/protected/tmp', 0777, true);
6.
//载入自动composer加载器
7.
require(APP_DIR.'/protected/func.php');
8.
require(APP_DIR.'/protected/lib/vendor/autoload.php');
9.
10.
require(APP_DIR.'/protected/lib/speed.php');
11.
12.
13.