D:\www\qy\lib\db\mysqli_driver.php[ 192 ]
187 }
188 public function getErrno() {
189 return ($this->_link) ? mysqli_errno ( $this->_link ) : mysqli_errno ();
190 }
191 public function halt($message = '', $sql = '') {
192 throw new keke_exception ( ':error [ :query ]', array (':error' => $this->getError(), ':query' => $sql ), $this->getErrno() );
193 exit ();
194 }
195 public function special_filed(&$value) {
196 if ('*' == $value || false !== strpos ( $value, '(' ) || false !== strpos ( $value, '.' ) || false !== strpos ( $value, '`' )) {
197 } else {
-
D:\www\qy\index.php [ 136 ] » require ( arguments )
0
string(27) "D:\www\qy\control\index.php"
131 $isMobile = false; 132 }else{ 133 $isMobile = CommonClass::isMobile(); 134 } 135 $isMobile and define('IS_MOBILE', TRUE) or define('IS_MOBILE', FALSE); 136 require 'control/' . $do . '.php'; 137 $new_theme_control_pc=array( 138 'index', 139 'tasklist', 140 'task', 141 'register',
-
D:\www\qy\control\index.php [ 15 ] » db_factory::query ( arguments )
0
string(78) "select * from keke_witkey_zyinfo order by listorder desc, id desc limit 0 , 1"
10 //$arrNewUser = db_factory::query("select * from keke_witkey_member order by uid desc limit 6"); 11 //$arrTaskTypes = db_factory::query("select * from keke_witkey_task_type order by listorder"); 12 //$arrTopIndustrys = $kekezu->_indus_task_arr; 13 // $objRelease = sreward_release_class::get_instance (1,0); 14 //$pub_priv = $objRelease->check_pub_priv('','json'); 15 $zyinfo = db_factory::query("select * from ".TABLEPRE."witkey_zyinfo order by listorder desc, id desc limit 0 , 1"); 16 foreach($zyinfo as $k=>$v){ 17 $ext = 'gif|jpg|jpeg|bmp|png'; 18 $tar_content = $v['simpledesc']; 19 if(preg_match_all("/(src)=([\"|']?)([^ \"'>]+\.($ext))\\2/i", $tar_content, $matches)){ 20 $tupianji = $matches[3];
-
D:\www\qy\lib\db\db_factory.php [ 123 ] » keke_db->query ( arguments )
0
string(78) "select * from keke_witkey_zyinfo order by listorder desc, id desc limit 0 , 1"
1
int(0)
118 $db = self::init(); 119 $result = ''; 120 if (SQL_CACHE_ENABLED === true && SQL_CACHE_PAGE_ENABLED === true && $is_cache) { 121 $result = SqlCacheClass::get($sql); 122 if ($result === false) { 123 $result = self::$db_obj->query($sql, $is_unbuffer); 124 SqlCacheClass::set($sql, $result); 125 } 126 return $result; 127 } elseif (IS_CACHE) { 128 $cache_time > 0 || is_null($cache_time) and ( $result = self::db_cache(1, $sql, $cache_time) and $cached = 1);
-
D:\www\qy\lib\db\db_factory.php [ 94 ] » mysqli_drver->query ( arguments )
0
string(78) "select * from keke_witkey_zyinfo order by listorder desc, id desc limit 0 , 1"
1
int(0)
89 public function get_one($sql) { 90 return $this->_mydb->get_one_row($sql); 91 } 92 93 public function query($sql, $is_unbuffer = 0) { 94 return $this->_mydb->query($sql, $is_unbuffer); 95 } 96 97 public function __destruct() { 98 $this->_mydb->close(); 99 }
-
D:\www\qy\lib\db\mysqli_driver.php [ 32 ] » mysqli_drver->execute_sql ( arguments )
0
string(78) "select * from keke_witkey_zyinfo order by listorder desc, id desc limit 0 , 1"
1
int(0)
27 } 28 mysqli_select_db ($this->_link,$this->_dbname) or $this->halt ( 'select database:' . $this->_dbname . ' fail!' ); 29 return $this->_link; 30 } 31 public function query($sql, $is_unbuffer = 0) { 32 $this->execute_sql ( $sql, $is_unbuffer ); 33 $result = array (); 34 while ( ($rs = $this->fetch_array ()) != false ) { 35 $result [] = $rs; 36 } 37 $this->free_result ();
-
D:\www\qy\lib\db\mysqli_driver.php [ 158 ] » mysqli_drver->halt ( arguments )
0
bool(false)
1
string(78) "select * from keke_witkey_zyinfo order by listorder desc, id desc limit 0 , 1"
153 } 154 protected function execute_sql($sql, $is_nubuffer = 0) { 155 ! is_resource ( $this->_link ) and $this->dbConnection (); 156 $is_nubuffer == 1 and $query_type = "mysqli_store_result" or $query_type = "mysqli_query"; 157 array_push($this->_query_sql, $sql); 158 $this->_last_query_id = $query_type ($this->_link,$sql) or $this->halt ( mysql_error (), $sql ); 159 $this->_query_num ++; 160 return $this->_last_query_id; 161 } 162 public function get_query_num() { 163 return $this->_query_num;