Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Notice\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Notice.Edit" %> <!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.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="frmNotice" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Notice_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Notice_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentDomain_Name_Code", IN(this.ViewData["_Notice"], this.ViewData["_Notice.ParentDomain.Name"] + "[" + this.ViewData["_Notice.ParentDomain.Code"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmNotice [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", this.ViewData["_Notice.ParentDomain.Guid"])%> <a href="#selectDomain" class="decoration-none" onclick="return SelectDomain('#frmNotice [name=ParentDomain]','#frmNotice [name=ParentDomain_Name_Code]')"><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("ParentDomain") %> </td> </tr> <tr> <th title="<%= Define.Get("Notice_???").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Notice_???").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Title", this.ViewData["_Notice.Title"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Title") %> </td> </tr> <tr> <th title="<%= Define.Get("Notice_??????").ToScriptTag() %>"> <%= Define.Get("Notice_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_Notice.Description"]) { Class = "ipt-t ipt-t-dft width600 height400 xheditor-full"}%> </td> </tr> <tr> <th title="<%= Define.Get("Notice_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Notice_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ActiveBeginDate", this.ViewData["_Notice.ActiveBeginDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("ActiveBeginDate") %> </td> </tr> <tr> <th title="<%= Define.Get("Notice_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Notice_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ActiveEndDate", this.ViewData["_Notice.ActiveEndDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("ActiveEndDate") %> </td> </tr> <tr> <th title="<%= Define.Get("Notice_??????").ToScriptTag() %>"> <%= Define.Get("Notice_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("Type", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum), DefaultSelectValue=(int)AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum.??? }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_Notice.Type"])%> <%= new HtmlYKTip("Type") %> </td> </tr> <tr> <th title="<%= Define.Get("Notice_????????????").ToScriptTag() %>"> <%= Define.Get("Notice_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("IsMarquee", this.ViewData["_Notice.IsMarquee"], true, false) { Class = ""}%> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Notice_????").ToScriptTag() %>"> <%= Define.Get("Notice_????")%>?? </th> <td class="tooltip" title="<%= Define.Get("Notice_Status_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("Status", this.ViewData["_Notice.Status"], 1, 0) { DefaultChecked = 0 }%> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Notice"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_Notice"])%></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/NoticeAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmNotice" }); //??????? $("#frmNotice [name=ParentDomain]").formValidator({ targetFocus : "#frmNotice [name=ParentDomain_Name_Code]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Notice_DomainGuid_????????????").ToScriptChar() %>" } }); //??? $("#frmNotice [name=Title]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Notice_Title_????????").ToScriptChar() %>" } }); //??????? $("#frmNotice [name=ActiveBeginDate]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Notice_ActiveBeginDate_????????????").ToScriptChar() %>", regex: "<%= Define.Get("Notice_ActiveBeginDate_??????????????").ToScriptChar() %>" } }); //?????? $("#frmNotice [name=ActiveEndDate]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Notice_ActiveEndDate_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Notice_ActiveEndDate_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { NoticeAjax.Insert($("#frmNotice"), send, function (json) { document.getElementById("frmNotice").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { NoticeAjax.Update($("#frmNotice"), send, function (json) { document.getElementById("frmNotice").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmNotice").KEY.value; NoticeAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de