,60,'new_code','new_send','new_mobileverify_mobile','new_verifycode'); new_s.sendMessage('plugin.php?id=zhanmishu_sms:verify&no_submit=no_submit&method=new_send','mobileverify_form'); } function verifysms(){ var verify = jQuery("#verifycode").val(); var code = jQuery("#code").val(); jQuery.ajax({ type: "POST", dataType: "json", url: 'plugin.php?id=zhanmishu_sms:verify&no_submit=no_submit&method=verify', data: "verify=" + verify + "&code="+code+"&formhash={$__FORMHASH}", error: function (XMLHttpRequest, textStatus, errorThrown) { //window.clearInterval(InterValObj); }, success: function (msg){ if (msg.code < 0) { if (msg.code=='-5') { showDialog(msg.msg); }; jQuery("#sms_verify_tip_wrong").css('display', 'block'); jQuery("#sms_verify_tip").removeClass("p_right"); if (jQuery("#new_mobileverify_mobile").length > 0 && jQuery("#new_send").length > 0 && jQuery("#new_zhanmishu_sms_tip").length>0) { jQuery("#new_mobileverify_mobile").attr("disabled","disabled"); jQuery("#new_send").attr("disabled","disabled"); jQuery("#new_send").attr("style","background: #cdcdcd;padding:0 5px;height: 20px;border: 0"); jQuery("#new_zhanmishu_sms_tip").attr("disabled","disabled"); jQuery("#new_verifycode").attr("disabled","disabled"); } return false; } if (msg.code == 1) { jQuery("#sms_verify_tip").addClass("p_right"); jQuery("#sms_verify_tip_wrong").css('display', 'none'); if (jQuery("#new_mobileverify_mobile").length > 0 && jQuery("#new_send").length > 0 && jQuery("#new_zhanmishu_sms_tip").length>0) { jQuery("#new_mobileverify_mobile").removeAttr("disabled"); jQuery("#new_send").removeAttr("disabled"); jQuery("#new_send").attr("style","padding:0 5px;"); jQuery("#new_zhanmishu_sms_tip").removeAttr("disabled"); jQuery("#new_verifycode").removeAttr("disabled"); } return true; } } }); return false; } function new_verifysms(){ var verify = jQuery("#new_verifycode").val(); var oldverify = jQuery("#verifycode").val(); var code = jQuery("#new_code").val(); var oldcode = encodeURIComponent(jQuery("#code").val()); var oldmobile = jQuery("#mobileverify_mobile").val(); var mobile = encodeURIComponent(jQuery("#new_mobileverify_mobile").val()); jQuery.ajax({ type: "POST", dataType: "json", url: 'plugin.php?id=zhanmishu_sms:verify&no_submit=no_submit&method=new_verify', data: "verify=" + verify + "&oldmobile="+oldmobile+"&mobile="+mobile+"&oldverify="+oldverify+"&oldcode="+oldcode+"&code="+code+"&formhash={$__FORMHASH}", error: function (XMLHttpRequest, textStatus, errorThrown) { //window.clearInterval(InterValObj); }, success: function (msg){ if (msg.code < 0) { if (msg.code=='-5') { showDialog(msg.msg); }; jQuery("#new_sms_verify_tip_wrong").css('display', 'block'); jQuery("#new_sms_verify_tip").removeClass("p_right"); return false; } if (msg.code == 1) { jQuery("#new_sms_verify_tip").addClass("p_right"); jQuery("#new_sms_verify_tip_wrong").css('display', 'none'); return true; } } }); return false; } jQuery(function(){ getpasswd = jQuery([`onclick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')"`]); getpasswd.attr("onclick","showWindow('login', 'plugin.php?id=zhanmishu_sms:getpassword')"); }) EOF; if($showNotice) { $js .= << EOF; } $js .= << 提示信息 - 酷派天空
积分 任务 动态 分享 导读 广播 好友 日志 相册 社区道具商店 社区勋章商店 群组 |简体中文

抱歉,您尚未登录,无法进行此操作