1、121212345612312345-1234-123-3-?$.ajax( async: false )$(function () $.ajax(type: “POST“,url: “./Handler/UserLogin.ashx“,data: type: “IsPerfect“ ,datatype: “text“,success: function (data) var len = data.length;if (len 0) layer.alert( ?, title: _-?, closeBtn: 0 , function () window.location.href = data
2、;),error: function () /layer.alert(“”?“););)function EnterPress(e) / eventvar e = e | window.event;if (e.keyCode = 13) var user = “System.Web.HttpCookie“;if (user = null | user = “) Login();function GetQueryString(name) var reg = new RegExp(“(|var r = window.location.search.substr(1).match(reg);if (
3、r != null) return unescape(r2); return null;function Getfield(val) var id = GetQueryString(“newsId“);if (id = null) id = 1501002241 $.ajax(cache: false,async: false,type: “POST“,url: “Download.aspx“,data: type: val, id: id ,dataType: “text“,success: function (data) /alert(val + “:“ + data);switch (v
4、al) case “dggm“:if (data = “block“) $(“.rmb“).show();break;case “userType“:$(“#huserType“).val(data);break;case “IsRZ“:$(“#hRZ“).val(data);break;case “IsDown“:$(“#hDown“).val(data);break;default:break;);$(function () Getfield(dggm);Getfield(userType);Getfield(IsRZ);Getfield(IsDown);$(“.xz“).click(fu
5、nction () /”-?var userType = $(“#huserType“).val();if (userType = 0) layer.alert(“!“); return;if (userType = 2 | userType = 3) var kxz = $(“#ctl00_ContentPlaceHolder1_hAllowDownload“).val();if (kxz = “0“) layer.alert(“ -U”?“); return;var ptype = $(“#ctl00_ContentPlaceHolder1_hPointType“).val();var p
6、oint = $(“#ctl00_ContentPlaceHolder1_hIPoint“).val();var text;switch (userType) case “1“:var rz = $(“#hRZ“).val();if (rz 0) text = “?img src=“Styles/images/level“ + rz + “.png“ height=“22“ /” -?; else text = “”U“ -?a href=verify.aspx style=color:blue; target=_blank“;text += “? + point + “? + ptype;i
7、f (ptype = “U?) text += “( U?“; else text += “( ?“;break;case “2“:case “3“:text = “ -”?“?;break;default:layer.confirm(text, title: ,btn: , /, function () layer.closeAll();$(“#ctl00_ContentPlaceHolder1_down“).click(););)$(“.rmb“).click(function () var userType = $(“#huserType“).val();if (userType = 0
8、) layer.alert(“!“); return;var newsId = $(“#ctl00_ContentPlaceHolder1_hnewsId“).val();window.open(“SinglePay.aspx?newsId=“ + newsId);)$(“.dj_jc“).click(function () var newsId = $(“#ctl00_ContentPlaceHolder1_hnewsId“).val();var userType = $(“#huserType“).val();if (userType = 0) layer.alert(“!“); retu
9、rn;if (userType = 1) var IsD = $(“#hDown“).val();if (IsD = “False“) layer.alert(“ ”!“); return; else window.open(“jiucuo.aspx?newsId=“ + newsId); else window.open(“jiucuo.aspx?newsId=“ + newsId);)-?/span- ?/span?/a?/a”?/a-?/a ?/a-?/a- - - “ - “ ? “? “”? “? -?10-53035693?/a-“-“a target=“_blank“ title=“? href=“AllSearch.aspx?gid=1&sid=9“ style=“width: