D:\wwwroot\w58zaojia\wwwroot\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' => mysql_error ( $this->_link ), ':query' => $sql ), mysql_errno ( $this->_link ) );
193 exit ();
194 }
195 public function special_filed(&$value) {
196 if ('*' == $value || false !== strpos ( $value, '(' ) || false !== strpos ( $value, '.' ) || false !== strpos ( $value, '`' )) {
197 } else {
-
D:\wwwroot\w58zaojia\wwwroot\index.php [ 35 ] » keke_curren_class::get_curr_list ( arguments )
0
string(10) "code,title"
30 $language = $kekezu->_lang; 31 $currency = $kekezu->_currency; 32 $curr_list = $kekezu->_curr_list; 33 $api_open = $kekezu->_api_open; 34 $weibo_list = $kekezu->_weibo_list; 35 $f_c_list = keke_curren_class::get_curr_list('code,title'); 36 $_currencies = keke_curren_class::get_curr_list(); 37 $_footerAbouts = CommonClass::getFooterPage(); 38 $log_account = null; 39 if (isset ($_COOKIE ['log_account'])) { 40 $log_account = $_COOKIE ['log_account'];
-
D:\wwwroot\w58zaojia\wwwroot\lib\sys\keke_curren_class.php [ 25 ] » keke_core_class::get_table_data ( arguments )
0
string(10) "code,title"
1
string(17) "witkey_currencies"
2
string(0) ""
3
string(0) ""
4
string(0) ""
5
string(0) ""
6
string(4) "code"
7
int(3600)
20 self::$_now = $kekezu->_currency; 21 self::$_default = self::$_currencies [self::$_curr]; 22 self::$_symbol_right = self::$_currencies [self::$_curr]['symbol_right']; 23 } 24 public static function get_curr_list($code='*'){ 25 return self::$_currencies = kekezu::get_table_data ($code, 'witkey_currencies', '', '', '', '', 'code', 3600 ); 26 } 27 public static function output($v,$dec=-1,$simple=false) { 28 self::get_instance(); 29 $curr = self::$_now; 30 $data = self::$_currencies [$curr];
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 548 ] » db_factory::get_table_data ( arguments )
0
string(10) "code,title"
1
string(17) "witkey_currencies"
2
string(0) ""
3
string(0) ""
4
string(0) ""
5
string(0) ""
6
string(4) "code"
7
int(3600)
543 $config_obj = new $v (); 544 $config_arr = $config_obj->$q ( 1, null ); 545 return $config_arr [0]; 546 } 547 public static function get_table_data($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '', $cachetime = 0) { 548 return db_factory::get_table_data ( $fileds, $table, $where, $order, $group, $limit, $pk, $cachetime ); 549 } 550 public static function get_task_config($model_id = '') { 551 global $kekezu; 552 if ($model_id) { 553 $where = " where model_id= '$model_id' ";
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 185 ] » keke_db->select ( arguments )
0
string(10) "code,title"
1
string(17) "witkey_currencies"
2
string(0) ""
3
string(0) ""
4
string(0) ""
5
string(0) ""
6
string(4) "code"
180 $wh and $where = $wh; 181 $db = self::init (); 182 $sql = $table .$fileds. $where . $pk . $cachetime; 183 if(IS_CACHE){ 184 $cachetime>0||is_null($cachetime) and ($result = self::db_cache ( 1, $sql, $cachetime ) and $cached=1); 185 $result or ($result = $db->select ( $fileds, $table, $where, $order, $group, $limit, $pk ) and $cached=0); 186 if($result&&$result!='QUERY_EMPTY'){ 187 !$cached&&self::db_set_cache ($sql, $cachetime, $result ); 188 return $result; 189 }else{ 190 !$cached&&self::db_set_cache ($sql, $cachetime);
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 72 ] » mysqli_drver->select ( arguments )
0
string(10) "code,title"
1
string(17) "witkey_currencies"
2
string(0) ""
3
string(0) ""
4
string(0) ""
5
string(0) ""
6
string(4) "code"
67 } 68 public function get_query_num() { 69 return $this->_mydb->get_query_num (); 70 } 71 public function select($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '') { 72 return $this->_mydb->select ( $fileds, $table, $where, $order, $group, $limit, $pk ); 73 } 74 public function getCount($sql, $row = 0, $filed = null) { 75 return $this->_mydb->getCount ( $sql, $row, $filed ); 76 } 77 public function get_one($sql) {
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\mysqli_driver.php [ 136 ] » array_walk ( arguments )
input
array(2) { [0]=> string(4) "code" [1]=> string(5) "title" }
funcname
array(2) { [0]=> object(mysqli_drver)#5 (9) { ["_dbhost"]=> string(9) "localhost" ["_dbname"]=> string(9) "w58zaojia" ["_dbuser"]=> string(9) "w58zaojia" ["_dbpass"]=> string(10) "C7W8mBD-e!" ["_dbcharset"]=> string(4) "utf8" ["_link"]=> bool(false) ["_last_query_id"]=> object(mysqli_result)#12 (5) { ["current_field"]=> int(0) ["field_count"]=> int(1) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } ["_query_num"]=> int(13) ["_query_sql"]=> array(13) { [0]=> string(123) "select session_data from keke_witkey_session where session_id = 'fepvsfesia1narqaa4kagmctc0' and session_expirse>1734902514" [1]=> string(65) "select config_id,k,v,type,listorder from keke_witkey_basic_config" [2]=> string(64) "select * from keke_witkey_model where 1=1 order by model_id asc" [3]=> string(172) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [4]=> string(170) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid >0 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [5]=> string(134) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [6]=> string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' " [7]=> string(185) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 and totask=1 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [8]=> string(61) "show COLUMNS FROM keke_witkey_industry WHERE Field='togoods' " [9]=> string(186) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 and togoods=1 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [10]=> string(97) "select count(msg_id) from keke_witkey_msg where uid<1 and view_status!=1 and type=1 and to_uid=0" [11]=> string(97) "select count(msg_id) from keke_witkey_msg where uid<1 and view_status!=1 and type=2 and to_uid=0" [12]=> string(106) "select count(msg_id) from keke_witkey_msg where to_uid = 0 and view_status!=1 and uid>0 and msg_status<>2 " } } [1]=> string(13) "special_filed" }
131 $order and $order = ' ORDER BY ' . $order; 132 $group and $group = ' GROUP BY ' . $group; 133 $limit and $limit = ' LIMIT ' . $limit; 134 $fileds != '*' and $filed = explode ( ',', $fileds ); 135 if (isset($filed)&&is_array ( $filed )) { 136 array_walk ( $filed, array ($this, 'special_filed' ) ); 137 $fileds = implode ( ',', $filed ); 138 } 139 $sql = 'SELECT ' . $fileds . ' FROM `' . $this->_dbname . '`.`' . TABLEPRE . $table . '`' . $where . $group . $order . $limit; 140 $this->execute_sql ( $sql ); 141 $datalist = array ();
-
PHP internal call » spl_autoload_call ( arguments )
class_name
string(4) "code"
-
PHP internal call » keke_core_class::autoload ( arguments )
0
string(4) "code"
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 494 ] » keke_core_class::get_table_data ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
7
NULL
489 if (file_exists ( $f2 )) { 490 self::keke_require_once ( $f2, $class_name ); 491 return class_exists ( $f2, false ) || interface_exists ( $f2, false ); 492 } 493 } 494 $auth_item = self::get_table_data ( 'auth_code,auth_dir', 'witkey_auth_item', '', 'listorder asc ', '', '', 'auth_code', null ); 495 foreach ( $auth_item as $v ) { 496 $auth_dir = $v ['auth_dir']; 497 $f3 = S_ROOT . '/auth/' . $auth_dir . '/lib/' . $class_name . '.php'; 498 if (file_exists ( $f3 )) { 499 self::keke_require_once ( $f3, $class_name );
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 548 ] » db_factory::get_table_data ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
7
NULL
543 $config_obj = new $v (); 544 $config_arr = $config_obj->$q ( 1, null ); 545 return $config_arr [0]; 546 } 547 public static function get_table_data($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '', $cachetime = 0) { 548 return db_factory::get_table_data ( $fileds, $table, $where, $order, $group, $limit, $pk, $cachetime ); 549 } 550 public static function get_task_config($model_id = '') { 551 global $kekezu; 552 if ($model_id) { 553 $where = " where model_id= '$model_id' ";
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 185 ] » keke_db->select ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
180 $wh and $where = $wh; 181 $db = self::init (); 182 $sql = $table .$fileds. $where . $pk . $cachetime; 183 if(IS_CACHE){ 184 $cachetime>0||is_null($cachetime) and ($result = self::db_cache ( 1, $sql, $cachetime ) and $cached=1); 185 $result or ($result = $db->select ( $fileds, $table, $where, $order, $group, $limit, $pk ) and $cached=0); 186 if($result&&$result!='QUERY_EMPTY'){ 187 !$cached&&self::db_set_cache ($sql, $cachetime, $result ); 188 return $result; 189 }else{ 190 !$cached&&self::db_set_cache ($sql, $cachetime);
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 72 ] » mysqli_drver->select ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
67 } 68 public function get_query_num() { 69 return $this->_mydb->get_query_num (); 70 } 71 public function select($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '') { 72 return $this->_mydb->select ( $fileds, $table, $where, $order, $group, $limit, $pk ); 73 } 74 public function getCount($sql, $row = 0, $filed = null) { 75 return $this->_mydb->getCount ( $sql, $row, $filed ); 76 } 77 public function get_one($sql) {
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\mysqli_driver.php [ 136 ] » array_walk ( arguments )
input
array(2) { [0]=> string(9) "auth_code" [1]=> string(8) "auth_dir" }
funcname
array(2) { [0]=> object(mysqli_drver)#5 (9) { ["_dbhost"]=> string(9) "localhost" ["_dbname"]=> string(9) "w58zaojia" ["_dbuser"]=> string(9) "w58zaojia" ["_dbpass"]=> string(10) "C7W8mBD-e!" ["_dbcharset"]=> string(4) "utf8" ["_link"]=> bool(false) ["_last_query_id"]=> object(mysqli_result)#12 (5) { ["current_field"]=> int(0) ["field_count"]=> int(1) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } ["_query_num"]=> int(13) ["_query_sql"]=> array(13) { [0]=> string(123) "select session_data from keke_witkey_session where session_id = 'fepvsfesia1narqaa4kagmctc0' and session_expirse>1734902514" [1]=> string(65) "select config_id,k,v,type,listorder from keke_witkey_basic_config" [2]=> string(64) "select * from keke_witkey_model where 1=1 order by model_id asc" [3]=> string(172) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [4]=> string(170) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid >0 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [5]=> string(134) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [6]=> string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' " [7]=> string(185) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 and totask=1 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [8]=> string(61) "show COLUMNS FROM keke_witkey_industry WHERE Field='togoods' " [9]=> string(186) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 and togoods=1 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [10]=> string(97) "select count(msg_id) from keke_witkey_msg where uid<1 and view_status!=1 and type=1 and to_uid=0" [11]=> string(97) "select count(msg_id) from keke_witkey_msg where uid<1 and view_status!=1 and type=2 and to_uid=0" [12]=> string(106) "select count(msg_id) from keke_witkey_msg where to_uid = 0 and view_status!=1 and uid>0 and msg_status<>2 " } } [1]=> string(13) "special_filed" }
131 $order and $order = ' ORDER BY ' . $order; 132 $group and $group = ' GROUP BY ' . $group; 133 $limit and $limit = ' LIMIT ' . $limit; 134 $fileds != '*' and $filed = explode ( ',', $fileds ); 135 if (isset($filed)&&is_array ( $filed )) { 136 array_walk ( $filed, array ($this, 'special_filed' ) ); 137 $fileds = implode ( ',', $filed ); 138 } 139 $sql = 'SELECT ' . $fileds . ' FROM `' . $this->_dbname . '`.`' . TABLEPRE . $table . '`' . $where . $group . $order . $limit; 140 $this->execute_sql ( $sql ); 141 $datalist = array ();
-
PHP internal call » spl_autoload_call ( arguments )
class_name
string(9) "auth_code"
-
PHP internal call » keke_core_class::autoload ( arguments )
0
string(9) "auth_code"
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 494 ] » keke_core_class::get_table_data ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
7
NULL
489 if (file_exists ( $f2 )) { 490 self::keke_require_once ( $f2, $class_name ); 491 return class_exists ( $f2, false ) || interface_exists ( $f2, false ); 492 } 493 } 494 $auth_item = self::get_table_data ( 'auth_code,auth_dir', 'witkey_auth_item', '', 'listorder asc ', '', '', 'auth_code', null ); 495 foreach ( $auth_item as $v ) { 496 $auth_dir = $v ['auth_dir']; 497 $f3 = S_ROOT . '/auth/' . $auth_dir . '/lib/' . $class_name . '.php'; 498 if (file_exists ( $f3 )) { 499 self::keke_require_once ( $f3, $class_name );
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 548 ] » db_factory::get_table_data ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
7
NULL
543 $config_obj = new $v (); 544 $config_arr = $config_obj->$q ( 1, null ); 545 return $config_arr [0]; 546 } 547 public static function get_table_data($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '', $cachetime = 0) { 548 return db_factory::get_table_data ( $fileds, $table, $where, $order, $group, $limit, $pk, $cachetime ); 549 } 550 public static function get_task_config($model_id = '') { 551 global $kekezu; 552 if ($model_id) { 553 $where = " where model_id= '$model_id' ";
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 185 ] » keke_db->select ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
180 $wh and $where = $wh; 181 $db = self::init (); 182 $sql = $table .$fileds. $where . $pk . $cachetime; 183 if(IS_CACHE){ 184 $cachetime>0||is_null($cachetime) and ($result = self::db_cache ( 1, $sql, $cachetime ) and $cached=1); 185 $result or ($result = $db->select ( $fileds, $table, $where, $order, $group, $limit, $pk ) and $cached=0); 186 if($result&&$result!='QUERY_EMPTY'){ 187 !$cached&&self::db_set_cache ($sql, $cachetime, $result ); 188 return $result; 189 }else{ 190 !$cached&&self::db_set_cache ($sql, $cachetime);
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 72 ] » mysqli_drver->select ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
67 } 68 public function get_query_num() { 69 return $this->_mydb->get_query_num (); 70 } 71 public function select($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '') { 72 return $this->_mydb->select ( $fileds, $table, $where, $order, $group, $limit, $pk ); 73 } 74 public function getCount($sql, $row = 0, $filed = null) { 75 return $this->_mydb->getCount ( $sql, $row, $filed ); 76 } 77 public function get_one($sql) {
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\mysqli_driver.php [ 136 ] » array_walk ( arguments )
input
array(2) { [0]=> string(9) "auth_code" [1]=> string(8) "auth_dir" }
funcname
array(2) { [0]=> object(mysqli_drver)#5 (9) { ["_dbhost"]=> string(9) "localhost" ["_dbname"]=> string(9) "w58zaojia" ["_dbuser"]=> string(9) "w58zaojia" ["_dbpass"]=> string(10) "C7W8mBD-e!" ["_dbcharset"]=> string(4) "utf8" ["_link"]=> bool(false) ["_last_query_id"]=> object(mysqli_result)#12 (5) { ["current_field"]=> int(0) ["field_count"]=> int(1) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } ["_query_num"]=> int(13) ["_query_sql"]=> array(13) { [0]=> string(123) "select session_data from keke_witkey_session where session_id = 'fepvsfesia1narqaa4kagmctc0' and session_expirse>1734902514" [1]=> string(65) "select config_id,k,v,type,listorder from keke_witkey_basic_config" [2]=> string(64) "select * from keke_witkey_model where 1=1 order by model_id asc" [3]=> string(172) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [4]=> string(170) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid >0 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [5]=> string(134) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [6]=> string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' " [7]=> string(185) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 and totask=1 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [8]=> string(61) "show COLUMNS FROM keke_witkey_industry WHERE Field='togoods' " [9]=> string(186) "SELECT * FROM `w58zaojia`.`keke_witkey_industry` WHERE indus_type=1 and indus_pid = 0 and togoods=1 ORDER BY CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END " [10]=> string(97) "select count(msg_id) from keke_witkey_msg where uid<1 and view_status!=1 and type=1 and to_uid=0" [11]=> string(97) "select count(msg_id) from keke_witkey_msg where uid<1 and view_status!=1 and type=2 and to_uid=0" [12]=> string(106) "select count(msg_id) from keke_witkey_msg where to_uid = 0 and view_status!=1 and uid>0 and msg_status<>2 " } } [1]=> string(13) "special_filed" }
131 $order and $order = ' ORDER BY ' . $order; 132 $group and $group = ' GROUP BY ' . $group; 133 $limit and $limit = ' LIMIT ' . $limit; 134 $fileds != '*' and $filed = explode ( ',', $fileds ); 135 if (isset($filed)&&is_array ( $filed )) { 136 array_walk ( $filed, array ($this, 'special_filed' ) ); 137 $fileds = implode ( ',', $filed ); 138 } 139 $sql = 'SELECT ' . $fileds . ' FROM `' . $this->_dbname . '`.`' . TABLEPRE . $table . '`' . $where . $group . $order . $limit; 140 $this->execute_sql ( $sql ); 141 $datalist = array ();
-
PHP internal call » spl_autoload_call ( arguments )
class_name
string(9) "a6t6h2o7a"
-
PHP internal call » keke_core_class::autoload ( arguments )
0
string(9) "a6t6h2o7a"
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 494 ] » keke_core_class::get_table_data ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
7
NULL
489 if (file_exists ( $f2 )) { 490 self::keke_require_once ( $f2, $class_name ); 491 return class_exists ( $f2, false ) || interface_exists ( $f2, false ); 492 } 493 } 494 $auth_item = self::get_table_data ( 'auth_code,auth_dir', 'witkey_auth_item', '', 'listorder asc ', '', '', 'auth_code', null ); 495 foreach ( $auth_item as $v ) { 496 $auth_dir = $v ['auth_dir']; 497 $f3 = S_ROOT . '/auth/' . $auth_dir . '/lib/' . $class_name . '.php'; 498 if (file_exists ( $f3 )) { 499 self::keke_require_once ( $f3, $class_name );
-
D:\wwwroot\w58zaojia\wwwroot\lib\inc\keke_core_class.php [ 548 ] » db_factory::get_table_data ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
7
NULL
543 $config_obj = new $v (); 544 $config_arr = $config_obj->$q ( 1, null ); 545 return $config_arr [0]; 546 } 547 public static function get_table_data($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '', $cachetime = 0) { 548 return db_factory::get_table_data ( $fileds, $table, $where, $order, $group, $limit, $pk, $cachetime ); 549 } 550 public static function get_task_config($model_id = '') { 551 global $kekezu; 552 if ($model_id) { 553 $where = " where model_id= '$model_id' ";
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 185 ] » keke_db->select ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
180 $wh and $where = $wh; 181 $db = self::init (); 182 $sql = $table .$fileds. $where . $pk . $cachetime; 183 if(IS_CACHE){ 184 $cachetime>0||is_null($cachetime) and ($result = self::db_cache ( 1, $sql, $cachetime ) and $cached=1); 185 $result or ($result = $db->select ( $fileds, $table, $where, $order, $group, $limit, $pk ) and $cached=0); 186 if($result&&$result!='QUERY_EMPTY'){ 187 !$cached&&self::db_set_cache ($sql, $cachetime, $result ); 188 return $result; 189 }else{ 190 !$cached&&self::db_set_cache ($sql, $cachetime);
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\db_factory.php [ 72 ] » mysqli_drver->select ( arguments )
0
string(18) "auth_code,auth_dir"
1
string(16) "witkey_auth_item"
2
string(0) ""
3
string(14) "listorder asc "
4
string(0) ""
5
string(0) ""
6
string(9) "auth_code"
67 } 68 public function get_query_num() { 69 return $this->_mydb->get_query_num (); 70 } 71 public function select($fileds = '*', $table, $where = '', $order = '', $group = '', $limit = '', $pk = '') { 72 return $this->_mydb->select ( $fileds, $table, $where, $order, $group, $limit, $pk ); 73 } 74 public function getCount($sql, $row = 0, $filed = null) { 75 return $this->_mydb->getCount ( $sql, $row, $filed ); 76 } 77 public function get_one($sql) {
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\mysqli_driver.php [ 140 ] » mysqli_drver->execute_sql ( arguments )
0
string(94) "SELECT `auth_code`,`auth_dir` FROM `w58zaojia`.`keke_witkey_auth_item` ORDER BY listorder asc "
135 if (isset($filed)&&is_array ( $filed )) { 136 array_walk ( $filed, array ($this, 'special_filed' ) ); 137 $fileds = implode ( ',', $filed ); 138 } 139 $sql = 'SELECT ' . $fileds . ' FROM `' . $this->_dbname . '`.`' . TABLEPRE . $table . '`' . $where . $group . $order . $limit; 140 $this->execute_sql ( $sql ); 141 $datalist = array (); 142 while ( ($rs = $this->fetch_array ()) != false ) { 143 $pk and $datalist [$rs [$pk]] = $rs or $datalist [] = $rs; 144 } 145 $this->free_result ();
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\mysqli_driver.php [ 155 ] » mysqli_drver->dbConnection ( )
150 $res = mysqli_affected_rows ( $this->_link ); 151 $this->free_result (); 152 return $res; 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;
-
D:\wwwroot\w58zaojia\wwwroot\lib\db\mysqli_driver.php [ 22 ] » mysqli_drver->halt ( arguments )
0
string(26) "connect mysql server fail!"
17 $this->_dbpass = DataBase::$dbpass; 18 $this->_dbcharset = DataBase::$dbcharset; 19 } 20 public function dbConnection() { 21 function_exists('mysqli_connect') or exit('function mysqli is not support!'); 22 $this->_link = mysqli_connect ( $this->_dbhost, $this->_dbuser, $this->_dbpass) or $this->halt ( 'connect mysql server fail!' ); 23 if($this->version()>'4.1'){ 24 $this->_dbcharset and $serverset = "character_set_connection={$this->_dbcharset}, character_set_results={$this->_dbcharset}, character_set_client=binary"; 25 $this->version() > '5.0.1' and $serverset .= ((empty($serverset) ? '' : ',').'sql_mode=\'\'') ; 26 $serverset and mysqli_query($this->_link,"SET $serverset"); 27 }