select id,wx_name from zd_wxinfo where id< and wx_type= order by id desc limit 1
执行错误: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wx_type= order by id desc limit 1' at line 1
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
- /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Drivers/mysqli.php on line 62
57.
{
58.
$this->arrSql[] = $sql;
59.
if( $result = mysqli_query($this->conn, $sql) ){
60.
return $result;
61.
}else{
62.
63.
spError("{$sql}<br />执行错误: " . mysqli_error($this->conn));
}
64.
}
65.
66.
/**
67.
* 返回影响行数
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
- /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Drivers/mysqli.php on line 26
21.
*
22.
* @param sql 执行的SQL语句
23.
*/
24.
public function getArray($sql)
25.
{
26.
27.
if( ! $result = $this->exec($sql) )return FALSE;
if( ! mysqli_num_rows($result) )return FALSE;
28.
$rows = array();
29.
while($rows[] = mysqli_fetch_array($result, MYSQLI_ASSOC)){}
30.
mysqli_free_result($result);
31.
array_pop($rows);
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
- /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Core/spModel.php on line 207
202.
*
203.
* @param sql 字符串,需要进行查找的SQL语句
204.
*/
205.
public function findSql($sql)
206.
{
207.
208.
return $this->_db->getArray($sql);
}
209.
210.
/**
211.
* 执行SQL语句,相等于执行新增,修改,删除等操作。
212.
*
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
- /www/wwwroot/www.phoenixfm.cn/controller/program.php on line 827
822.
$this->program = $result;
823.
$mem->setMen("programDetails_".$id,json_encode($result),86400);
824.
}
825.
826.
//查询相邻的两条记录
827.
828.
$result_pre = $zd_wxinfo->findSql("select id,wx_name from zd_wxinfo where id<".$id." and wx_type=".$wx_type." order by id desc limit 1");
//print_r($result_pre);
829.
$result_nex = $zd_wxinfo->findSql("select id,wx_name from zd_wxinfo where id>".$id." and wx_type=".$wx_type." order by id asc limit 1");
830.
$this->pre = $result_pre[0];
831.
$this->nex = $result_nex[0];
832.
$mem_rankList = $mem->getMen("details_ranklist");$mem_rankList=null;
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
- /www/wwwroot/www.phoenixfm.cn/SpeedPHP/spFunctions.php on line 24
19.
//eval($GLOBALS['G_SP']["dispatcher_error"]);
20.
exit;
21.
}
22.
23.
// 路由并执行用户代码
24.
25.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
26.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
27.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
28.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
29.
$handle_controller->auto_display($__tplname);
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
Deprecated: Function ereg() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 51
Deprecated: Function ereg_replace() is deprecated in /www/wwwroot/www.phoenixfm.cn/SpeedPHP/Misc/notice.php on line 54
- /www/wwwroot/www.phoenixfm.cn/index.php on line 8
3.
define("SP_PATH",dirname(__FILE__).'/SpeedPHP');
4.
define("BASEPATH", "/");
5.
6.
$spConfig = require(APP_PATH."/config.php");
7.
require(SP_PATH."/SpeedPHP.php");
8.
spRun();