0) { foreach($HTTP_POST_VARS as $key => $value) { if(! is_array($HTTP_POST_VARS[$key])) $HTTP_POST_VARS[$key] = stripslashes($HTTP_POST_VARS[$key]); } } if(count($HTTP_GET_VARS)>0) { foreach($HTTP_GET_VARS as $key => $value) { if(! is_array($HTTP_GET_VARS[$key])) $HTTP_GET_VARS[$key] = stripslashes($HTTP_GET_VARS[$key]); } } global $db, $mytablepre; $temp=split("/", $_SERVER["PHP_SELF"]); $PHP_SELF=$temp[count($temp)-1]; updatesession(); #ipim_dailylog(); $referer = $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; ipim_list_limit_set(8); ipim_common_str_set(20); $element_islogin=ipim_islogin(); $lang_parameter = ""; #$lang_parameter .= "&nowlang=LANG"; $lang_parameter .= !empty($_GET[lang]) ? "&nowlang=$_GET[lang]" : "&nowlang=".LANG; $lang_parameter .= !empty($_GET[tid]) ? "&tid=$_GET[tid]" : ""; $lang_parameter .= (empty($_GET[tid])&&(!empty($_GET[type_id]))) ? "&type_id=$_GET[type_id]" : ""; $group_name = "group"; $ipim_search = array( 'zh-tw'=> '6', 'zh-cn'=> '7', 'en-us'=> '3', 'pt-pt'=> '4', 'ja-jp'=> '5', ); $ipim_misclink = array( 'zh-tw'=> '191', 'zh-cn'=> '192', 'en-us'=> '193', 'pt-pt'=> '194', 'ja-jp'=> '195', ); $ipim_rollmsg_event = array( 'zh-tw'=> '191', 'zh-cn'=> '192', 'en-us'=> '193', 'pt-pt'=> '194', 'ja-jp'=> '195', ); $ipim_misclink_uptodated = array( 'zh-tw'=> '191', 'zh-cn'=> '192', 'en-us'=> '193', 'pt-pt'=> '194', 'ja-jp'=> '195', ); $ipim_trade = array( 'zh-tw'=> '143', 'zh-cn'=> '150', 'en-us'=> '157', 'pt-pt'=> '164', 'ja-jp'=> '718', ); //ipim_cache_html(); $thisurl = "http://".$_SERVER['HTTP_HOST']."/".$_SERVER['REQUEST_URI']; $search_lang_test = empty($ipim_search[LANG]) ? $ipim_search['zh-tw'] : $ipim_search[LANG]; $search_index_list = ipim_threads_position_type_getsubtypes($search_lang_test); $element_macau_weather=ipim_macau_weather_get4daylist(); //print_r($element_macau_weather); ?>