Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\ApplicationApply\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationApply.Edit" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <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="frmApplicationApply" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("ApplicationApply_???????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("ApplicationApply_ApplyStatus_????????????").ToScriptTag()%>"> <%= new HtmlSelect("ApplyStatus", "Value", "Key") { Disabled=true, Option = typeof(AVA.ResourcesPlatform.Model.Pub.ApplicationApplyApplyStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_ApplicationApply.ApplyStatus"])%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ParentUser, this.ParentUser.TrueName + "[" + this.ParentUser.UserName + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmApplicationApply [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ParentUser == null ? "" : this.ParentUser.Guid)%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmApplicationApply [name=ParentUser]','#frmApplicationApply [name=ParentUser_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> <%= new HtmlYKTip("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplyTime", this.ViewData["_ApplicationApply.ApplyTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("DomainCode", this.ViewData["_ApplicationApply.DomainCode"], 256) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("DomainCode") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????Guid").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????Guid").HtmlEncode() %>?? </th> <td> <%= new HtmlText("SubDomainCode", this.ViewData["_ApplicationApply.SubDomainCode"], 32) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("SubDomainCode") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("RecordEquipmentName", this.ViewData["_ApplicationApply.RecordEquipmentName"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("RecordEquipmentName") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("UserName", this.User == null ? "" : this.User.UserName, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ApplicationParentUser",this.User == null ? "" : this.User.Guid)%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmApplicationApply [name=ApplicationParentUser]','#frmApplicationApply [name=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> <%= new HtmlYKTip("UserName") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplicationDate", this.ViewData["_ApplicationApply.ApplicationDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("ApplicationDate") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_???????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("StartTime", this.ViewData["_ApplicationApply.StartTime"].ToDateTimeN().ToTime()) { Class = "ipt-t ipt-t-dft time " }%> <%= new HtmlYKTip("StartTime") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_ApplicationApply.EndTime"].ToDateTimeN().ToTime()) { Class = "ipt-t ipt-t-dft time " }%> <%= new HtmlYKTip("EndTime") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_ApplicationApply.CreateTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlHidden("Cover", ViewData["_ApplicationApply.Cover"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <br /> <a href="#deleteCover" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadCover" class="decoration-none" onclick="return UploadFile('#frmApplicationApply [name=Cover]','<%= Define.Get("ApplicationApply_Cover_????????????????????")%>','0','<%= SettingGroup.ApplicationApplyUploadPath %>','','960','540')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_ApplicationApply.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("NumberOfPeople", this.ViewData["_ApplicationApply.NumberOfPeople"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("NumberOfPeople") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Speaker", this.ViewData["_ApplicationApply.Speaker"], 200) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_???").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Title", this.ViewData["_ApplicationApply.Title"], 200) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("ApplicationApply_Share_?????????????????????").ToScriptTag()%>"> <%= new HtmlRadio("Share", this.ViewData["_ApplicationApply.Share"].ToInt(-1) == 0, 0, null) { ID = "ApplicationApply_Share_0", Checked = (this.ViewData["_ApplicationApply.Share"].ToIntN() == 0 ? true : false) }.Style(new { Width = "auto" })%> <label for="Application_Share_0"> ???</label> <%= new HtmlRadio("Share", this.ViewData["_ApplicationApply.Share"].ToInt(-1) == 2, 2, null) { ID = "ApplicationApply_Share_2" , Checked = (this.ViewData["_ApplicationApply.Share"].ToIntN() == 2 ? true : false) }.Style(new { Width = "auto" })%> <label for="Application_Share_2"> ???</label> <%= new HtmlYKTip("Share") %> <%-- <%= new HtmlCheckBox("Share", this.ViewData["_ApplicationApply.Share"], 1, 0) { Class = ""}%>--%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("GradeName", this.Grade == null ? "" : this.Grade.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentGrade",this.Grade == null ? "" : this.Grade.Guid)%> <a href="#selectGrade" class="decoration-none" onclick="return SelectGradeLast('#frmApplicationApply [name=ParentGrade]','#frmApplicationApply [name=GradeName]')"><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("GradeName") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("DownloadAllRecord", this.ViewData["_ApplicationApply.DownloadAllRecord"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("DownloadDateTime", this.ViewData["_ApplicationApply.DownloadDateTime"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ViewPassword", this.ViewData["_ApplicationApply.ViewPassword"], 32) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <% var categorys = this.ViewData["_ApplicationApply.CategoryName"] == null ? null : this.ViewData["_ApplicationApply.CategoryName"].ToString().Split(","); foreach (var category in this.ListCategory) { %> <label for="category<%= category.Guid %>"> <%= new HtmlCheckBox("CategoryName", category.Guid, "") { Checked=(categorys==null ? false : categorys.Contains(category.Name) ? true : false), ID="category"+ category.Guid }%> <%= new HtmlSpan(category.Name) { TextLength=9 ,Suffix="..." }%><%--(<%= recordEquipment.IPAddress %>)--%> </label> <% } %> <%--<%= new HtmlText("CategoryName", this.ViewData["_ApplicationApply.CategoryName"], 256) { Class = "ipt-t ipt-t-dft " }%>--%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("AlbumName", this.ViewData["_ApplicationApply.AlbumName"], 64) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("LessionName", this.Lesson == null ? "" : this.Lesson.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentLesson",this.Lesson == null ? "" : this.Lesson.Guid)%> <a href="#selectLesson" class="decoration-none" onclick="return SelectLesson('#frmApplicationApply [name=ParentLesson]','#frmApplicationApply [name=LessionName]')"><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("LessionName") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %>?? </th> <td> <% var channles = this.ViewData["_ApplicationApply.ChannelName"] == null ? null : this.ViewData["_ApplicationApply.ChannelName"].ToString().Split(","); foreach (var channle in this.ListChannel) { %> <label for="channle<%= channle.Guid %>"> <%= new HtmlCheckBox("ChannelName", channle.Guid, "") { Checked=(channles==null ? false : channles.Contains(channle.Name) ? true : false), ID="channle"+ channle.Guid }%> <%= new HtmlSpan(channle.Name) { TextLength=9 ,Suffix="..." }%> </label> <% } %> <%-- <%= new HtmlText("ChannelName", this.ViewData["_ApplicationApply.ChannelName"], 256) { Class = "ipt-t ipt-t-dft " }%>--%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Chatper", this.ViewData["_ApplicationApply.Chatper"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("NeetLoginToLive", this.ViewData["_ApplicationApply.NeetLoginToLive"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("IsHDVideo", this.ViewData["_ApplicationApply.IsHDVideo"], true, false) { Class = "", DefaultChecked = false}%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_???IP???").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???IP???").HtmlEncode() %>?? </th> <td> <%= new HtmlText("IPAddress", this.ViewData["_ApplicationApply.IPAddress"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_???Web???").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???Web???").HtmlEncode() %>?? </th> <td> <%= new HtmlText("WebPort", this.ViewData["_ApplicationApply.WebPort"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_???ID").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???ID").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ProgramID", this.ViewData["_ApplicationApply.ProgramID"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("ProgramID") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("RecordPort", this.ViewData["_ApplicationApply.RecordPort"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("LoginName", this.ViewData["_ApplicationApply.LoginName"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Password", this.ViewData["_ApplicationApply.Password"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_??????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("ProductVersion", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.ApplicationApplyProductVersionEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_ApplicationApply.ProductVersion"])%> <%= new HtmlYKTip("ProductVersion") %> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("IsAgentHD", this.ViewData["_ApplicationApply.IsAgentHD"], true, false) { Class = "", DefaultChecked = false}%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplicationAttachment", this.ViewData["_ApplicationApply.ApplicationAttachment"], 2000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_???????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("PushNo", this.ViewData["_ApplicationApply.PushNo"], 50) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_????????????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplicationFileURL", this.ViewData["_ApplicationApply.ApplicationFileURL"], 1000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ApplicationApply_?????").ToScriptTag() %>"> <%= Define.Get("ApplicationApply_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("ApplicationApply_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_ApplicationApply.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </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["_ApplicationApply"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%--<%= GetSubmitText(this.ViewData["_ApplicationApply"])%>--%>??????</span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html> <%= 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/ApplicationApplyAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmApplicationApply" }); //????? $("#frmApplicationApply [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("ApplicationApply_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ApplicationApply_SortNumber_???????????").ToScriptChar() %>" } }); //?????? $("#frmApplicationApply [name=DomainCode]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ApplicationApply_DomainCode_???????????").ToScriptChar() %>" } }); //?????? $("#frmApplicationApply [name=RecordEquipmentName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ApplicationApply_RecordEquipmentName_???????????").ToScriptChar() %>" } }); //????? $("#frmApplicationApply [name=UserName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ApplicationApply_UserName_?????????").ToScriptChar() %>" } }); //?????? $("#frmApplicationApply [name=ApplicationDate]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("ApplicationApply_ApplicationDate_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ApplicationApply_ApplicationDate_??????????????").ToScriptChar() %>" } }); //??????? //$("#frmApplicationApply [name=StartTime]").formValidator({ // validatorGroup: "Edit", // rules: // { // required: null, // regex: "date" // }, // message: // { // required: "<%= Define.Get("ApplicationApply_StartTime_????????????").ToScriptChar() %>", // regex: "<%= Define.Get("ApplicationApply_StartTime_??????????????").ToScriptChar() %>" // } //}); //?????? //$("#frmApplicationApply [name=EndTime]").formValidator({ // validatorGroup: "Edit", // rules: // { // required: null, // regex: "date" // }, // message: // { // required: "<%= Define.Get("ApplicationApply_EndTime_???????????").ToScriptChar() %>", // regex: "<%= Define.Get("ApplicationApply_EndTime_??????????????").ToScriptChar() %>" // } //}); //?????? $("#frmApplicationApply [name=NumberOfPeople]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("ApplicationApply_NumberOfPeople_???????????").ToScriptChar() %>" } }); //?????? $("#frmApplicationApply [name=GradeName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ApplicationApply_GradeName_???????????").ToScriptChar() %>" } }); //???????? //$("#frmApplicationApply [name=LessionName]").formValidator({ // validatorGroup: "Edit", // rules: // { // required: null // }, // message: // { // required: "<%= Define.Get("ApplicationApply_LessionName_????????????").ToScriptChar() %>" // } //}); ////?????? $("#frmApplicationApply [name=ParentUser]").formValidator({ targetFocus: "#frmApplicationApply [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { ApplicationApplyAjax.Insert($("#frmApplicationApply"), send, function (json) { document.getElementById("frmApplicationApply").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { ApplicationApplyAjax.Update($("#frmApplicationApply"), send, function (json) { document.getElementById("frmApplicationApply").KEY.value = json.Key; alert("?????????"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmApplicationApply").KEY.value; ApplicationApplyAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //?????? $("#frmApplicationApply [name=Cover]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.ApplicationUploadPath %>" + $("#frmApplicationApply [name=Cover]").val()); //??????????? </script> <script type="text/javascript"> //?????? </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de