D:\wwwroot\hrx\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\hrx\wwwroot\index.php [ 25 ] » include ( arguments )
0
string(35) "D:\wwwroot\hrx\wwwroot\app_comm.php"
20 if (stristr($_SERVER['REQUEST_URI'],"/?")){ 21 if (preg_match('/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/',$_SERVER['HTTP_USER_AGENT'])){ 22 exit; 23 } } 24 define("IN_KEKE", TRUE); 25 include 'app_comm.php'; 26 $task_open = $kekezu->_task_open; 27 $shop_open = $kekezu->_shop_open; 28 $dos = $kekezu->_route; 29 (!empty ($do) && in_array($do, $dos)) and $do or (!$_GET && !$_POST and $do = $kekezu->_sys_config ['set_index'] or $do = 'index'); 30 if (stristr($_SERVER["REQUEST_URI"], "index.html")) {
-
D:\wwwroot\hrx\wwwroot\app_comm.php [ 3 ] » require ( arguments )
0
string(50) "D:\wwwroot\hrx\wwwroot\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\hrx\wwwroot\lib\inc\keke_core_class.php [ 1198 ] » kekezu::get_instance ( )
1193 } 1194 } 1195 $ipath = dirname ( dirname ( dirname ( __FILE__ ) ) ) . DIRECTORY_SEPARATOR . "data" . DIRECTORY_SEPARATOR . "keke_kppw_install.lck"; 1196 file_exists ( $ipath ) == true or header ( "Location: install/index.php" ); 1197 kekezu::register_autoloader (); 1198 $kekezu = &kekezu::get_instance (); 1199 keke_lang_class::load_lang_class ( 'keke_core_class' ); 1200 $_cache_obj = $kekezu->_cache_obj; 1201 $page_obj = $kekezu->_page_obj; 1202 $template_obj = $kekezu->_tpl_obj;
-
D:\wwwroot\hrx\wwwroot\lib\inc\keke_core_class.php [ 905 ] » kekezu->__construct ( )
900 public $_route; 901 public $_upload_params = array(); 902 public static function &get_instance() { 903 static $obj = null; 904 if ($obj == null) { 905 $obj = new kekezu (); 906 } 907 return $obj; 908 } 909 function __construct() { 910 $this->init ();
-
D:\wwwroot\hrx\wwwroot\lib\inc\keke_core_class.php [ 910 ] » kekezu->init ( )
905 $obj = new kekezu (); 906 } 907 return $obj; 908 } 909 function __construct() { 910 $this->init (); 911 keke_lang_class::loadlang ( 'public', 'public' ); 912 } 913 function init() { 914 global $_K, $_lang; 915 define ( "S_ROOT", substr ( dirname ( __FILE__ ), 0, - 7 ) );
-
D:\wwwroot\hrx\wwwroot\lib\inc\keke_core_class.php [ 930 ] » kekezu->init_industry ( )
925 $this->_cache_obj = new keke_cache_class ( CACHE_TYPE, $_K ['cache_config'] ); 926 $this->_tpl_obj = new keke_tpl_class (); 927 $this->_page_obj = new keke_page_class (); 928 $this->init_out_put (); 929 $this->init_model (); 930 $this->init_industry (); 931 $this->init_oauth (); 932 $this->init_curr (); 933 if (! isset ( $_SESSION ['auid'] ) and $this->_sys_config ['is_close'] == 1 && $_GET ['do'] != 'close' && substr ( $_SERVER ['PHP_SELF'], - 16 ) != '/'.ADMIN_DIRECTORY.'/index.php') { 934 header ( "Location:index.php?do=close" ); 935 }
-
D:\wwwroot\hrx\wwwroot\lib\inc\keke_core_class.php [ 1047 ] » db_factory::query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1042 } 1043 } 1044 } 1045 } 1046 $this->_indus_arr = kekezu::get_table_data ( '*', 'witkey_industry', '', ' CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END ', '', '', 'indus_id', NULL ); 1047 $arrtotask = db_factory::query("show COLUMNS FROM ".TABLEPRE.'witkey_industry'." WHERE Field='totask' "); 1048 if($arrtotask[0]){ 1049 $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 ); 1050 } 1051 $arrtogoods = db_factory::query("show COLUMNS FROM ".TABLEPRE.'witkey_industry'." WHERE Field='togoods' "); 1052 if($arrtogoods[0]){
-
D:\wwwroot\hrx\wwwroot\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\hrx\wwwroot\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\hrx\wwwroot\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\hrx\wwwroot\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;