NOTICE: Undefined index: tel in /www/wwwroot/hnhuashang.net/protected/cache/template/515d51f5a794b0f90b5ad27d9a6cc20d.1552528626.index.html.php on line 117
- /www/wwwroot/hnhuashang.net/protected/cache/template/515d51f5a794b0f90b5ad27d9a6cc20d.1552528626.index.html.php on line 117
112.
<?php $_foreach_v_counter = 0; $_foreach_v_total = count($a);?><?php foreach( $a as $v ) : ?><?php $_foreach_v_index = $_foreach_v_counter;$_foreach_v_iteration = $_foreach_v_counter + 1;$_foreach_v_first = ($_foreach_v_counter == 0);$_foreach_v_last = ($_foreach_v_counter == $_foreach_v_total - 1);$_foreach_v_counter++;?>
113.
<li><a class="border-b" href="<?php echo url(array('c'=>'news', 'a'=>'view', 'id'=>$v['id'], ));?>" ><?php echo htmlspecialchars($v['title'], ENT_QUOTES, "UTF-8"); ?></a><span></span></li>
114.
<?php endforeach; ?>
115.
</ul>
116.
</div>
117.
118.
</div>
119.
120.
121.
<!--兩列圖片列表-->
122.
<div class="con mt10">
- /www/wwwroot/hnhuashang.net/protected/include/core.php on line 379
374.
if(isset($conditions[0]) && $sql = $conditions[0]) unset($conditions[0]);
375.
foreach($conditions as $key => $condition)
376.
{
377.
if(substr($key, 0, 1) != ":")
378.
{
379.
380.
unset($conditions[$key]);
$conditions[":".$key] = $condition;
381.
}
382.
$join[] = "`{$key}` = :{$key}";
383.
}
384.
if(!$sql) $sql = join(" AND ",$join);
- /www/wwwroot/hnhuashang.net/protected/controller/mobile/general_controller.php on line 35
30.
}
- /www/wwwroot/hnhuashang.net/protected/controller/mobile/main_controller.php on line 25
20.
21.
public function action_gbook_save()
22.
{
23.
$data = array(
24.
'mobile' => request('lc_tel',''),
25.
26.
'nickname' => request('lc_name','匿名'),
'huxing' => request('shi','').'室' . request('ting','').'廳' . request('wei','').'衛(wèi)',
27.
'mianji' => request('mianji','0'),
28.
'address' => request('dizhi',''),
29.
'style' => request('fengge',''),
30.
'created_date' => time(),
- /www/wwwroot/hnhuashang.net/protected/include/core.php on line 187
182.
public function __construct(){$this->init();}
183.
public function __get($name){return $this->_data[$name];}
184.
public function __set($name, $value){$this->_data[$name] = $value;}
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.
echo $this->_v->render($tpl_name);
191.
}
192.
}
- /www/wwwroot/hnhuashang.net/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');