Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\SubjectUserApply\EditIFrame.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditIFrame.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectUserApply.EditIFrame" %> <!doctype html > <html> <head> <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" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.Script("/jquery.1.9.js")%> </head> <body> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <%--<span class="txt-info">[<a href="#" onclick="GoList();return false;"><%= DefineEnum.???.Define() %></a>]</span>--%> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmSubjectUserApply" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style="display: none;"> <th title="<%= Define.Get("SubjectUserApply_??????????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentSubject_Name", IN(this.Subject, this.Subject.Name)) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubjectSpeaker [name=ParentSubject]","Edit");" }%> <%= new HtmlHidden("ParentSubject", IN(this.Subject, this.Subject.Guid))%> <a href="#selectSubject" class="decoration-none" onclick="return SelectSubject('#frmSubjectSpeaker [name=ParentSubject]','#frmSubjectSpeaker [name=ParentSubject_Name]')"> <span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentSubject") %> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectUserApply"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectUserApply_UserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_UserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectUserApply.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_SubjectUserApply"], this.ViewData["_SubjectUserApply.ParentUser.TrueName"] + "[" + this.ViewData["_SubjectUserApply.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubjectUserApply [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_SubjectUserApply.ParentUser.Guid"])%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmSubjectUserApply [name=ParentUser]','#frmSubjectUserApply [name=ParentUser_TrueName_UserName]','SubjectUserApply','<%= this.Subject.Guid %>')"> <span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_???????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("ApplyStatus", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.SubjectUserApplyApplyStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_SubjectUserApply.ApplyStatus"])%> <%= new HtmlYKTip("ApplyStatus") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplyTime", this.ViewData["_SubjectUserApply.ApplyTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("ApplyTime") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("ApplyRemark", this.ViewData["_SubjectUserApply.ApplyRemark"], 500) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentConfirmUser_TrueName_UserName", IN(this.ViewData["_SubjectUserApply"], this.ViewData["_SubjectUserApply.ParentConfirmUser.TrueName"] + "[" + this.ViewData["_SubjectUserApply.ParentConfirmUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubjectUserApply [name=ParentConfirmUser]","Edit");" }%> <%= new HtmlHidden("ParentConfirmUser", this.ViewData["_SubjectUserApply.ParentConfirmUser.Guid"])%> <a href="#selectConfirmUser" class="decoration-none" onclick="return SelectUser('#frmSubjectUserApply [name=ParentConfirmUser]','#frmSubjectUserApply [name=ParentConfirmUser_TrueName_UserName]')"> <span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ConfirmTime", this.ViewData["_SubjectUserApply.ConfirmTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("ConfirmTime") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectUserApply_??????").ToScriptTag() %>"> <%= Define.Get("SubjectUserApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("ConfirmRemark", this.ViewData["_SubjectUserApply.ConfirmRemark"], 500) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_SubjectUserApply"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_SubjectUserApply"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </body> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.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("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.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.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/SubjectUserApplyAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmSubjectUserApply" }); //?????????? $("#frmSubjectUserApply [name=ParentSubject]").formValidator({ targetFocus : "#frmSubjectUserApply [name=ParentSubject_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectUserApply_SubjectGuid_???????????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectUserApply [name=ParentUser]").formValidator({ targetFocus : "#frmSubjectUserApply [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectUserApply_UserGuid_???????????").ToScriptChar() %>" } }); //??????? $("#frmSubjectUserApply [name=ApplyStatus]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectUserApply_ApplyStatus_????????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectUserApply [name=ApplyTime]").formValidator({ validatorGroup: "Edit", rules: { regex: "datetime" }, message: { regex: "<%= Define.Get("SubjectUserApply_ApplyTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectUserApply [name=ConfirmTime]").formValidator({ validatorGroup: "Edit", rules: { regex: "datetime" }, message: { regex: "<%= Define.Get("SubjectUserApply_ConfirmTime_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { SubjectUserApplyAjax.Insert($("#frmSubjectUserApply"), send, function (json) { document.getElementById("frmSubjectUserApply").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "ListIframe.aspx?SubjectGuid=<%= this.Subject.Guid %>"; }); }; //??? function Update(send) { SubjectUserApplyAjax.Update($("#frmSubjectUserApply"), send, function (json) { document.getElementById("frmSubjectUserApply").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "ListIframe.aspx?SubjectGuid=<%= this.Subject.Guid %>"; }); }; //??? function Delete(send) { var key = document.getElementById("frmSubjectUserApply").KEY.value; SubjectUserApplyAjax.Delete(key, send, function (json) { window.location.href = "ListIframe.aspx?SubjectGuid=<%= this.Subject.Guid %>"; }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? function GoList() { window.location.href = "ListIframe.aspx?SubjectGuid=<%= this.Subject.Guid %>"; } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de