D:\wwwroot\kongming\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\kongming\index.php [ 3 ] » include ( arguments )
0
string(32) "D:\wwwroot\kongming\app_comm.php"
1 <?php 2 define("IN_KEKE", TRUE); 3 include 'app_comm.php'; 4 $task_open = $kekezu->_task_open; 5 $shop_open = $kekezu->_shop_open; 6 $dos = $kekezu->_route; 7 (!empty ($do) && in_array($do, $dos)) and $do or (!$_GET && !$_POST and $do = $kekezu->_sys_config ['set_index'] or $do = 'index'); 8 if (stristr($_SERVER["REQUEST_URI"], "index.html")) {
-
D:\wwwroot\kongming\app_comm.php [ 3 ] » require ( arguments )
0
string(47) "D:\wwwroot\kongming\lib\inc\keke_core_class.php"
1 <?php 2 require (dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'lib/inc/keke_base_class.php'); 3 require (dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'lib/inc/keke_core_class.php'); 4 $basic_config = $kekezu->_sys_config; 5 $model_list = $kekezu->_model_list; 6 $nav_list = $kekezu->_nav_list; 7 if (( bool ) ini_get ( 'safe_mode' ) == true) { 8 ini_set ( 'safe_mode', 'Off' );
-
D:\wwwroot\kongming\lib\inc\keke_core_class.php [ 1180 ] » kekezu::get_instance ( )
1175 } 1176 } 1177 $ipath = dirname ( dirname ( dirname ( __FILE__ ) ) ) . DIRECTORY_SEPARATOR . "data" . DIRECTORY_SEPARATOR . "keke_kppw_install.lck"; 1178 file_exists ( $ipath ) == true or header ( "Location: install/index.php" ); 1179 kekezu::register_autoloader (); 1180 $kekezu = &kekezu::get_instance (); 1181 keke_lang_class::load_lang_class ( 'keke_core_class' ); 1182 $_cache_obj = $kekezu->_cache_obj; 1183 $page_obj = $kekezu->_page_obj; 1184 $template_obj = $kekezu->_tpl_obj;
-
D:\wwwroot\kongming\lib\inc\keke_core_class.php [ 887 ] » kekezu->__construct ( )
882 public $_route; 883 public $_upload_params = array(); 884 public static function &get_instance() { 885 static $obj = null; 886 if ($obj == null) { 887 $obj = new kekezu (); 888 } 889 return $obj; 890 } 891 function __construct() { 892 $this->init ();
-
D:\wwwroot\kongming\lib\inc\keke_core_class.php [ 892 ] » kekezu->init ( )
887 $obj = new kekezu (); 888 } 889 return $obj; 890 } 891 function __construct() { 892 $this->init (); 893 keke_lang_class::loadlang ( 'public', 'public' ); 894 } 895 function init() { 896 global $_K, $_lang; 897 define ( "S_ROOT", substr ( dirname ( __FILE__ ), 0, - 7 ) );
-
D:\wwwroot\kongming\lib\inc\keke_core_class.php [ 912 ] » kekezu->init_industry ( )
907 $this->_cache_obj = new keke_cache_class ( CACHE_TYPE, $_K ['cache_config'] ); 908 $this->_tpl_obj = new keke_tpl_class (); 909 $this->_page_obj = new keke_page_class (); 910 $this->init_out_put (); 911 $this->init_model (); 912 $this->init_industry (); 913 $this->init_oauth (); 914 $this->init_curr (); 915 if (! isset ( $_SESSION ['auid'] ) and $this->_sys_config ['is_close'] == 1 && $_GET ['do'] != 'close' && substr ( $_SERVER ['PHP_SELF'], - 16 ) != '/'.ADMIN_DIRECTORY.'/index.php') { 916 header ( "Location:index.php?do=close" ); 917 }
-
D:\wwwroot\kongming\lib\inc\keke_core_class.php [ 1029 ] » db_factory::query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1024 } 1025 } 1026 } 1027 } 1028 $this->_indus_arr = kekezu::get_table_data ( '*', 'witkey_industry', '', ' CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END ', '', '', 'indus_id', NULL ); 1029 $arrtotask = db_factory::query("show COLUMNS FROM ".TABLEPRE.'witkey_industry'." WHERE Field='totask' "); 1030 if($arrtotask[0]){ 1031 $this->_indus_task_arr = kekezu::get_table_data ( '*', "witkey_industry", "indus_type=1 and indus_pid = 0 and totask=1 ", " CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END ", '', '', 'indus_id', NULL ); 1032 } 1033 $arrtogoods = db_factory::query("show COLUMNS FROM ".TABLEPRE.'witkey_industry'." WHERE Field='togoods' "); 1034 if($arrtogoods[0]){
-
D:\wwwroot\kongming\lib\db\db_factory.php [ 111 ] » keke_db->query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1
int(0)
106 }else{ 107 !$cached&&self::db_set_cache ($sql, $cache_time); 108 return array(); 109 } 110 }else{ 111 return $result = self::$db_obj->query ( $sql, $is_unbuffer ); 112 } 113 } 114 public static function inserttable($tablename, $insertsqlarr, $returnid = 1, $replace = false) { 115 $db = self::init (); 116 $result = $db->inserttable ( $tablename, $insertsqlarr, $returnid, $replace );
-
D:\wwwroot\kongming\lib\db\db_factory.php [ 81 ] » mysqli_drver->query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1
int(0)
76 } 77 public function get_one($sql) { 78 return $this->_mydb->get_one_row ( $sql ); 79 } 80 public function query($sql, $is_unbuffer = 0) { 81 return $this->_mydb->query ( $sql, $is_unbuffer ); 82 } 83 public function __destruct() { 84 $this->_mydb->close (); 85 } 86 }
-
D:\wwwroot\kongming\lib\db\mysqli_driver.php [ 32 ] » mysqli_drver->execute_sql ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
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:\wwwroot\kongming\lib\db\mysqli_driver.php [ 158 ] » mysqli_drver->halt ( arguments )
0
bool(false)
1
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
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;