// 能否是手機版$(function(){//set_is_mobile();var u = navigator.userAgent;var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;});// 消滅V11的緩存function removeV11Cache() {localStorage.removeItem('UserCenterAccessToken');localStorage.removeItem('UserCenterAccessTokenLife');}function is_mobile(){return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767);}function show_userpanel(){ //處理繁體言語跳會員中心變簡體成績 var langId = 0; langId = getThisLangId(langId); var url = "http://www.3ye.com/uc/#/clean?idweb=59773&lang=0&sessionId=71o6iodpcea3l7fc10g53vv7i5"; if (langId<=1 && url.indexOf("lang=0") != -1) { if (langId == 1) url = url.replace('lang=0','lang=1'); }if(is_mobile()){location.href = url;}else{//location.href = "http://www.3ye.com/uc/#/clean?idweb=59773&lang=0&sessionId=71o6iodpcea3l7fc10g53vv7i5";//var newTab=window.open('http://www.3ye.com/uc/#/clean?idweb=59773&lang=0&sessionId=71o6iodpcea3l7fc10g53vv7i5');//處理新窗口被阻擋成績 wujianchao 2017-9-1if(''=='userModel'){ var target = '_self'; }else{ var target = '_blank'; }var a = $("tourl").get(0);var e = document.createEvent('MouseEvents');e.initEvent( 'click', true, true );a.dispatchEvent(e);}}function show_myorder(){if(is_mobile()){location.href = "http://www.3ye.com/uc/#/clean?idweb=59773&lang=0&sessionId=71o6iodpcea3l7fc10g53vv7i5&lang=0&redirect=%2Fuc%2F%23%2Forder%2Finfo%2F";}else{window.open("http://www.3ye.com/uc/#/clean?idweb=59773&lang=0&sessionId=71o6iodpcea3l7fc10g53vv7i5&lang=0&redirect=%2Fuc%2F%23%2Forder%2Finfo%2F");}}function check_login(form){//set_is_mobile();//alert(form.username.value);//alert(form.pwd.value);var tips = "用戶名和暗碼必需填寫";if(tips=="") tips ="信息還沒有管家婆论坛开奖结果说完全";if(!form.username.value || !form.pwd.value){alert(tips);return false;}//setTimeout(function(){location.reload();})return true;}//健忘精准澳门平特一肖百度手机卫士暗碼$(function(){$('[id="idBoxFpass"]').click(function(){if(is_mobile()){location.href = "http://admin.35net.com/exusers/forget.php?id=59773&lang=0&noajax=1";}else{var forget ="健忘管家婆精选心水资料站 192.168.0.1暗碼";var url = "http://admin.35net.com/exusers/forget.php?id=59773&lang=0&ispc=1";document.getElementById("boxName").innerHTML="健忘精准澳门平特一肖百度手机卫士暗碼精准澳门平特一肖百度手机卫士";if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×"; document.getElementById("showiframe").src=url;box.Show({width:"450px",height:"200px"});//user_dialog(forget,url);//彈出框//$('.dialog_bg .dialog').css({"height":"230px","top":"calc(50% - 115px)"});//轉變精准澳门平特一肖百度手机卫士彈出框的高寬}});}); function getCookie(name)//取cookies函數 { var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)")); if(arr != null) return unescape(arr[2]); return null; } function getThisLangId(id){ if (id=='0' || id==undefined) { var JF_cn="ft"+self.location.hostname.toString().replace(/\./g,""); if (getCookie(JF_cn) != null) { id = getCookie(JF_cn); } }else{ } if (id==undefined) { id=0; } return id; }//注冊function OnRegister(id){ id = getThisLangId(id);var s_PostUrl = "http://admin.35net.com/fenxiaosrc/getFXIDUser.php?callback=?";var arr_PostData = {}; var issafariBrowser = /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent);if(is_mobile() || issafariBrowser){var mobileUrl = "http://admin.35net.com/exusers/register.php?id=59773&lang="+id+"&noajax=1";$.getJSON(s_PostUrl,arr_PostData,function(data){var i_FIDUser = data.FXIDUser;mobileUrl+= "&FIDUser="+i_FIDUser;location.href = mobileUrl;});}else{ var srcUrl = "http://admin.35net.com/exusers/register.php?id=59773&lang="+id+"&ispc=1";document.getElementById("boxName").innerHTML="會員注冊";if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×";var url = "http://admin.35net.com/exusers/register.php?id=59773&lang="+id+"&ispc=1";//iframe的鏈接;document.getElementById("showiframe").src = url;box.Show({width:"500px",height:"380px"});//user_dialog(title,url); //彈出框}}function OnLogin(id, no_jump = 0, backurl = '',trunPage=''){ id = getThisLangId(id); if(!window.name.includes('isCheckLoginSuccess_')){window.name += 'isCheckLoginSuccess_';} var issafariBrowser = /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent);if(is_mobile() || issafariBrowser){ let protocol = window.location.protocol; let href = window.location.href; href = href.replace(protocol+'//','');trunPage = trunPage&&trunPage != 'userCenter'?'&trunPage='+encodeURIComponent(href):''; hrefType = protocol=='http:'?'notssl':'ssl';location.href = "http://admin.35net.com/exusers/u8_login.php?idweb=59773&lang="+id+"&qqlogin="+trunPage+"&hrefType="+hrefType;}else{trunPage = trunPage&&trunPage != 'userCenter'?'&trunPage='+trunPage:'';var url = "http://admin.35net.com/exusers/u8_login.php?idweb=59773&lang="+id+"&qqlogin="+trunPage;//iframe的鏈接document.getElementById("boxName").innerHTML="用戶登錄";if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×";document.getElementById("showiframe").src=url;box.Show({width:"500px",height:"250px"});//document.getElementById("idBox").style.height = "38%";//user_dialog(title,url);//彈出框//$(".dialog_bg .dialog").addClass("h300");//轉變彈出框的高寬}}//QQ登錄 | 微信登錄$(function(){ var id = getThisLangId(id);$('[id="idQQlogin"]').click(function(){if(is_mobile()){location = 'http://admin.35net.com/exusers/qq_login.php?id=59773&lang='+id;}else{//var title = "QQ登錄";//題目//var url = "http://admin.35net.com/exusers/qq_login.php?id=59773&lang="+id+"&ispc=1";//iframe的鏈接//document.getElementById("boxName").innerHTML="QQ登錄";//if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×";//document.getElementById("showiframe").src=url;//box.Show();//user_dialog(title,url);//彈出框//$(".dialog_bg .dialog").addClass("w640");//轉變精准澳门平特一肖百度手机卫士彈出框的高寬 //由於精准澳门平特一肖百度手机卫士穀歌版本成績精准澳门平特一肖百度手机卫士,直接彈出新的窗口停止登錄 window.open("http://admin.35net.com/exusers/qq_login.php?id=59773&lang="+id+"&ispc=1");}});$('[id="idWXlogin"]').click(function(){if(is_mobile()){location = 'http://admin.35net.com/exusers/wechat_login.php?id=59773&lang='+id+'&ismobile=1&FIDUser=';}else{var title = "微信登錄";//題目精准澳门平特一肖百度手机卫士var url = "http://admin.35net.com/exusers/wechat_qrcode.php?id=59773&lang="+id;//iframe的鏈接document.getElementById("boxName").innerHTML="微信登錄";if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×";document.getElementById("showiframe").src=url;box.Show({width:"400px",height:"300px"}); //user_dialog(title,url);//彈出框//$(".dialog_bg .dialog").addClass("h300");//轉變彈出框的高寬}});});function user_dialog(title,url){//彈出iframevar title = title;//題目精准澳门平特一肖百度手机卫士var srcUrl= url;//iframe的鏈接$("body").append("
");$(".dialog_bg").append("
");$(".dialog_top").append("

"+title+"×

");$(".dialog_content").append("");$(".dialog_close").click(function(){$("body").find(".dialog_bg").remove("");})}$(function(){//已登錄則隱蔽精准澳门平特一肖百度手机卫士登錄框})/* * 獲得2021澳门最快手机开奖url中的get參數 */function url_params(url){var ret = [], s, kvs, i, len, pos;if ((pos = url.indexOf("?")) != -1 && (s = url.substr(pos + 1))){kvs = s.split("&");for(i = 0, len = kvs.length; i < len; ++i) {if((pos = kvs[i].indexOf("=")) >= 0) {ret.push([kvs[i].substring(0, pos), kvs[i].substring(pos+1)]);}}}return ret;}/* * 獲得url中的get參數 */function url_addr(url){var pos = url.indexOf("?");return pos >= 0 ? url.substring(0, pos) : url;}/* * 歸並get參數 */function url_params_join(params) {var kvs = [], i, len;for(i = 0, len = params.length; i < len; ++i) {kvs.push(params[i][0] + '='+ params[i][1]);}return kvs.join('&');}/* * 曏url中添加一個get參數 */function url_params_add(url, key, value){var params = url_params(url), i, len;for(i = 0, len = params.length; i < len; ++i) {if(params[i][0] === key) {params[i][1] = value;break;}}if(i >= len) {params.push([key, value]);}return url_addr(url) + '?' + url_params_join(params);}if(typeof(is_weixin)=="undefined"){function is_weixin(){var ua = navigator.userAgent.toLowerCase();if(ua.match(/MicroMessenger/i)=="micromessenger") {return true;} else {return false;}}}