D:\WWW\x\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\x\index.php [ 166 ] » require ( arguments )
0
string(25) "D:\WWW\x\control\task.php"
161 $isMobile = false; 162 }else{ 163 $isMobile = CommonClass::isMobile(); 164 } 165 $isMobile and define('IS_MOBILE', TRUE) or define('IS_MOBILE', FALSE); 166 require 'control/' . $do . '.php'; 167 $new_theme_control_pc=array( 168 'index', 169 'tasklist', 170 'gongxiang', 171 'task',
-
D:\WWW\x\control\task.php [ 10 ] » db_factory::get_one ( arguments )
0
string(52) "select * from keke_witkey_task where task_id=5102273"
5 //$rs_indus = kekezu::get_classify_indus('task', 'total'); 6 $nav_active_index = "task"; 7 8 $intId = intval($id); 9 if ($intId) { 10 $arrTaskInfo = db_factory::get_one("select * from ".TABLEPRE."witkey_task where task_id=".$intId); 11 $arrTaskInfo or kekezu::show_msgd(kekezu::lang("operate_notice"), "index.php?do=tasklist", 2, "对不起,您访问的任务无法打开!", "warning"); 12 $task_shop = db_factory::get_one ("select * from ".TABLEPRE."witkey_arrticle where (is_shiyong=2 or is_shiyong=3) and uid=".$arrTaskInfo['uid']); 13 $strUrl = "index.php?do=task&id=" . $intId; 14 $art_id and $strUrl .= "&art_id=" . $art_id; 15 }
-
D:\WWW\x\lib\db\db_factory.php [ 162 ] » keke_db->get_one ( arguments )
0
string(52) "select * from keke_witkey_task where task_id=5102273"
157 public static function get_one($sql, $cache_time = 0) { 158 $db = self::init(); 159 if (SQL_CACHE_ENABLED === true && SQL_CACHE_PAGE_ENABLED === true) { 160 $result = SqlCacheClass::get($sql); 161 if ($result === false) { 162 $result = self::$db_obj->get_one($sql); 163 SqlCacheClass::set($sql, $result); 164 } 165 return $result; 166 } elseif (IS_CACHE) { 167 $cache_time > 0 || is_null($cache_time) and ( $result = self::db_cache(1, $sql, $cache_time) and $cached = 1);
-
D:\WWW\x\lib\db\db_factory.php [ 90 ] » mysqli_drver->get_one_row ( arguments )
0
string(52) "select * from keke_witkey_task where task_id=5102273"
85 public function getCount($sql, $row = 0, $filed = null) { 86 return $this->_mydb->getCount($sql, $row, $filed); 87 } 88 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 }
-
D:\WWW\x\lib\db\mysqli_driver.php [ 77 ] » mysqli_drver->execute_sql ( arguments )
0
string(52) "select * from keke_witkey_task where task_id=5102273"
72 } 73 public function get_trans_num() { 74 return $this->_trans; 75 } 76 public function get_one_row($sql) { 77 $this->execute_sql ( $sql ); 78 $res = $this->fetch_array (); 79 $this->free_result (); 80 return $res; 81 } 82 public function insert_id($insertSql) {
-
D:\WWW\x\lib\db\mysqli_driver.php [ 158 ] » mysqli_drver->halt ( arguments )
0
bool(false)
1
string(52) "select * from keke_witkey_task where task_id=5102273"
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;