Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Tools\WeiKeHelper\ClientLogin.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ClientLogin.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Tools.WeiKeHelper.ClientLogin" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("js", "/global.js")%> <%= Import.CSS("Carousel.css")%> <%= Import.CSS("style.css")%> <title></title> <link href="./css/style.css" rel="Stylesheet" type="text/css" /> </head> <body style="text-align:center;"> <%if(this.ErrorCode!=0) {%> ErrorCode = <%=this.ErrorCode %><br /> Message = <%=this.Message %> <%}else{ %> <% if(CookieGroup.UserCode != null) { %> <p>????????<a href="ClientUploadInfo.aspx?Guid=<%=this.Guids %>&Name=<%=AVA.ResourcesPlatform.Config.WebUrlConfig.EncodeParam(this.Names) %>&finish=0">?????????????????</a></p> <% } else { %> <div class="forms login-form" > <form action="" onsubmit="return false;" id="frmLogin"> <div class="items "> <div class="item item-border" style="display:<%= this.ListDomain.Count>1 ? "block" : " none"%>;"> <label class="lbl">????????</label> <%= new HtmlSelect("DomainGuid", "Name", "Guid", "Guid") { Option = this.ListDomain, SelectedValue = CookieGroup.DomainGuid, Height=28 }%> <%= new HtmlYKTip("DomainGuid")%> </div> <div class="item item-border"> <label class="lbl user-input">?????</label> <%= new HtmlText("UserName", null)%> <%= new HtmlYKTip("UserName") %> </div> <div class="item item-border"> <label class="lbl psw-input">???</label> <%= new HtmlPassword("Password") %> <%= new HtmlYKTip("Password") %> </div> <div class="item " style=""> <%= new HtmlHidden("Src","ClientUploadInfo.aspx?Guid="+this.Guids+"&Name="+this.Names) %> <%= new HtmlSubmit("???", "Login", "LoginClient(this);") { Class = "login_btn" }%> <span class="forgot_pwd"> <%--<%= new HtmlAnchor("??????") { Href = WebUrl.FindPWD(), Target="_blank" }%>--%> </span> </div> </div> </form> </div> <% } } %> <script type="text/javascript"> //????????????????? $(function () { $("#frmLogin [name=UserName]").focus(); }); function LoginClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.Login", data: Global.GetFormValue($("#frmLogin")), async: true, dataType: 'json', success: function (result) { $(send).val("??????"); var names = "<%= this.Names%>"; window.location.href = "ClientUploadInfo.aspx?Guid=<%= this.Guids%>&Name=" + escape(names); Global.Disabled(send, false); }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); $("#frmLogin [name=Password]").val(""); } }); } function clearCookie() { //?????????????????????????????? return; var keys = document.cookie.match(/[^ =;]+(?=\=)/g); if (keys) { for (var i = keys.length; i--;) document.cookie = keys[i] + '=0;expires=' + new Date(0).toUTCString() } } clearCookie(); </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de