1function on_send() { 2 var account = $("#account").val(); 3 var pass = $("#pass").val(); 4 var captcha = $("#captcha").val(); 5 var refurl = $("#refurl").val(); 6 // é²ä¾çé¡åï¼å¦æè³¼ç©è»ç話就å°åå»è³¼ç©è» 7 var fromType = $("#fromType").val(); 8 9 //æ¯å¦åæä¿æ30天ç»å ¥çæ çæé 10 var cookie_agree = $('input[name="cookie_agree"]:checked').length; 11 12 //妿æå³é²ä¾ç話ï¼å°±å°å»è³¼ç©è» 13 if(fromType){ 14 refurl = "cart_step1.php"; 15 } 16 17 18 if (!account) { 19 20 alert("è«è¼¸å ¥å¸³è"); 21 return; 22 } 23 if (!pass) { 24 alert("è«è¼¸å ¥å¯ç¢¼"); 25 return; 26 } 27 if (!captcha) { 28 alert("è«è¼¸å ¥é©è碼"); 29 return; 30 } 31 32 $.ajax({ 33 url: "_ajax.php", 34 type: "post", 35 async: false, 36 data: { "action": "login", "account": account, "pass": pass, "captcha": captcha , "cookie_agree" : cookie_agree }, 37 success: function(data) { 38 if (data == 1) { 39 alert("ç»å ¥æå!"); 40 41 //location.replace("member_info.php"); 42 if (refurl) { 43 location.replace(refurl); 44 }else{ 45 location.replace("index.php"); 46 } 47 48 // å·²ç»å ¥ 49 loginSendToBQ() 50 51 52 53 return; 54 } 55 56 if (data == 2) { 57 alert("æå¡å¸³èæå¯ç¢¼ä¸æ£ç¢º!"); 58 //éç¢é©è碼 59 document.getElementById('siimage').src = './js/securimage/securimage_show.php?sid=' + Math.random(); 60 this.blur(); 61 return false 62 return; 63 } 64 65 if (data == 3) { 66 alert("æ¤æå¡å¸³èå¾ å¯©æ ¸!"); 67 //éç¢é©è碼 68 document.getElementById('siimage').src = './js/securimage/securimage_show.php?sid=' + Math.random(); 69 this.blur(); 70 return false 71 return; 72 } 73 74 if (data == 4) { 75 alert("æ¤æå¡å¸³è已被ç¦ç¨!"); 76 //éç¢é©è碼 77 document.getElementById('siimage').src = './js/securimage/securimage_show.php?sid=' + Math.random(); 78 this.blur(); 79 return false 80 return; 81 } 82 83 if (data == 5) { 84 alert("系統ç¼çé¯èª¤ï¼è«éæ´é é¢!"); 85 //éç¢é©è碼 86 document.getElementById('siimage').src = './js/securimage/securimage_show.php?sid=' + Math.random(); 87 this.blur(); 88 return false 89 return; 90 } 91 if (data == 6) { 92 alert("é©èç¢¼ä¸æ£ç¢º!"); 93 94 //éç¢é©è碼 95 document.getElementById('siimage').src = './js/securimage/securimage_show.php?sid=' + Math.random(); 96 this.blur(); 97 return false 98 99 return; 100 } 101 102 if (data == 7) { 103 alert("æ¤æå¡å¸³èæªèªè!"); 104 location.replace("reset_phone_auth.php"); 105 // å·²ç»å ¥ 106 loginSendToBQ() 107 return; 108 } 109 110 }, 111 error: function(e) { 112 alert("error"); 113 } 114 }); 115 116} 117 118 119function loginSendToBQ(){ 120 121 // remove navigator.geolocation.getCurrentPosition 122 123 124 var lat = ''; 125 var lng = ''; 126 sendBqData(lat, lng) 127 128} 129 130function sendBqData(lat, lng) { 131 132 var actiontype = "e3" 133 134 // backlink çºç¶åé é¢çç¶²å 135 var backlink = window.location.href; 136 137 $.ajax({ 138 type: "POST", 139 dataType: "json", 140 url: "_ajax_bq.php", 141 data: { 142 sel : "loginSendToBQ", 143 actiontype: actiontype, 144 lat: lat, 145 lng: lng, 146 backlink: backlink 147 148 }, 149 success: function (data) { 150 // alert(data); 151 console.log(data); 152 } 153 }); 154}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.