Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\DomainUpload\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.DomainUpload.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="frmDomainUpload" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("DomainUpload_???????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentDomain_Name_Code", IN(this.ViewData["_DomainUpload"], this.ViewData["_DomainUpload.ParentDomain.Name"] + "[" + this.ViewData["_DomainUpload.ParentDomain.Code"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmDomainUpload [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", this.ViewData["_DomainUpload.ParentDomain.Guid"])%> <a href="#selectDomain" class="decoration-none" onclick="return SelectDomain('#frmDomainUpload [name=ParentDomain]','#frmDomainUpload [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("DomainUpload_??????????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentTagDomain_Name_Code", IN(this.ViewData["_DomainUpload"], this.ViewData["_DomainUpload.ParentTagDomain.Name"] + "[" + this.ViewData["_DomainUpload.ParentTagDomain.Code"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmDomainUpload [name=ParentTagDomain]","Edit");" }%> <%= new HtmlHidden("ParentTagDomain", this.ViewData["_DomainUpload.ParentTagDomain.Guid"])%> <a href="#selectTagDomain" class="decoration-none" onclick="return SelectDomain('#frmDomainUpload [name=ParentTagDomain]','#frmDomainUpload [name=ParentTagDomain_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("ParentTagDomain") %> </td> </tr> <tr> <th title="<%= Define.Get("DomainUpload_??????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_DomainUpload.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr style='<%= IN(this.ViewData["_DomainUpload.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("DomainUpload_VideoUserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_VideoUserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_DomainUpload.ParentVideo.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_DomainUpload.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("DomainUpload_VideoUserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_VideoUserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_DomainUpload.ParentVideo.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_DomainUpload.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("DomainUpload_VideoUserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_VideoUserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_DomainUpload.ParentVideo.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_DomainUpload.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("DomainUpload_VideoUserTrueName_?????????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_VideoUserTrueName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_DomainUpload.ParentVideo.ParentUser.TrueName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_DomainUpload.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("DomainUpload_VideoUserUserName_????????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_VideoUserUserName_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_DomainUpload.ParentVideo.ParentUser.UserName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("DomainUpload_???????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentVideo_Name", IN(this.ViewData["_DomainUpload"], this.ViewData["_DomainUpload.ParentVideo.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmDomainUpload [name=ParentVideo]","Edit");" }%> <%= new HtmlHidden("ParentVideo", this.ViewData["_DomainUpload.ParentVideo.Guid"])%> <a href="#selectVideo" class="decoration-none" onclick="return SelectVideo('#frmDomainUpload [name=ParentVideo]','#frmDomainUpload [name=ParentVideo_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("ParentVideo") %> </td> </tr> <tr> <th title="<%= Define.Get("DomainUpload_????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("UploadStatus", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.DomainUploadUploadStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_DomainUpload.UploadStatus"])%> <%= new HtmlYKTip("UploadStatus") %> </td> </tr> <tr> <th title="<%= Define.Get("DomainUpload_??????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("UploadDescription", this.ViewData["_DomainUpload.UploadDescription"], 4000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("DomainUpload_??????????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("StartTime", this.ViewData["_DomainUpload.StartTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("StartTime") %> </td> </tr> <tr> <th title="<%= Define.Get("DomainUpload_?????????").ToScriptTag() %>"> <%= Define.Get("DomainUpload_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_DomainUpload.EndTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("EndTime") %> </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["_DomainUpload"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_DomainUpload"])%></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/DomainUploadAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmDomainUpload" }); //??????? $("#frmDomainUpload [name=ParentDomain]").formValidator({ targetFocus : "#frmDomainUpload [name=ParentDomain_Name_Code]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("DomainUpload_DomainGuid_????????????").ToScriptChar() %>" } }); //?????????? $("#frmDomainUpload [name=ParentTagDomain]").formValidator({ targetFocus : "#frmDomainUpload [name=ParentTagDomain_Name_Code]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("DomainUpload_TagDomainGuid_???????????????").ToScriptChar() %>" } }); //?????? $("#frmDomainUpload [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("DomainUpload_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("DomainUpload_CreateTime_??????????????").ToScriptChar() %>" } }); //??????? $("#frmDomainUpload [name=ParentVideo]").formValidator({ targetFocus : "#frmDomainUpload [name=ParentVideo_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("DomainUpload_VideoGuid_????????????").ToScriptChar() %>" } }); //???? $("#frmDomainUpload [name=UploadStatus]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("DomainUpload_UploadStatus_?????????").ToScriptChar() %>" } }); //?????????? $("#frmDomainUpload [name=StartTime]").formValidator({ validatorGroup: "Edit", rules: { regex: "datetime" }, message: { regex: "<%= Define.Get("DomainUpload_StartTime_?????????????????").ToScriptChar() %>" } }); //????????? $("#frmDomainUpload [name=EndTime]").formValidator({ validatorGroup: "Edit", rules: { regex: "datetime" }, message: { regex: "<%= Define.Get("DomainUpload_EndTime_?????????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { DomainUploadAjax.Insert($("#frmDomainUpload"), send, function (json) { document.getElementById("frmDomainUpload").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { DomainUploadAjax.Update($("#frmDomainUpload"), send, function (json) { document.getElementById("frmDomainUpload").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmDomainUpload").KEY.value; DomainUploadAjax.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