Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\AlbumVideo\EditIFrame.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditIFrame.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AlbumVideo.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="frmAlbumVideo" action="" onsubmit="return false;"> <table class="g-table-cntacomm"> <tr style="display: none;"> <th title="<%= Define.Get("AlbumVideo_???????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentAlbum_Name", IN(this.Album, this.Album.Name)) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmAlbumSpeaker [name=ParentAlbum]","Edit");" }%> <%= new HtmlHidden("ParentAlbum", IN(this.Album, this.Album.Guid))%> <a href="#selectAlbum" class="decoration-none" onclick="return SelectAlbum('#frmAlbumSpeaker [name=ParentAlbum]','#frmAlbumSpeaker [name=ParentAlbum_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("ParentAlbum") %> </td> </tr> <tr style='<%= IN(this.ViewData["_AlbumVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("AlbumVideo_VideoUserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_VideoUserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_AlbumVideo.ParentVideo.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_AlbumVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("AlbumVideo_VideoUserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_VideoUserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_AlbumVideo.ParentVideo.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_AlbumVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("AlbumVideo_VideoUserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_VideoUserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_AlbumVideo.ParentVideo.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_AlbumVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("AlbumVideo_VideoUserTrueName_?????????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_VideoUserTrueName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_AlbumVideo.ParentVideo.ParentUser.TrueName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_AlbumVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("AlbumVideo_VideoUserUserName_????????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_VideoUserUserName_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_AlbumVideo.ParentVideo.ParentUser.UserName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("AlbumVideo_???????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentVideo_Name", IN(this.ViewData["_AlbumVideo"], this.ViewData["_AlbumVideo.ParentVideo.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmAlbumVideo [name=ParentVideo]","Edit");" }%> <%= new HtmlHidden("ParentVideo", this.ViewData["_AlbumVideo.ParentVideo.Guid"])%> <a href="#selectVideo" class="decoration-none" onclick="return SelectVideo('#frmAlbumVideo [name=ParentVideo]','#frmAlbumVideo [name=ParentVideo_Name]','<%= this.Album.ParentUser.Guid %>','Album','<%= this.Album.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("ParentVideo") %> </td> </tr> <tr> <th title="<%= Define.Get("AlbumVideo_??????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("SubmissionTime", this.ViewData["_AlbumVideo.SubmissionTime"].ToDateTimeN().ToLongDate()) { DefaultValue = DateTime.Now.ToLongDate(), Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("SubmissionTime") %> </td> </tr> <tr> <th title="<%= Define.Get("AlbumVideo_??????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("SubmissionRemark", this.ViewData["_AlbumVideo.SubmissionRemark"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("AlbumVideo_?????").ToScriptTag() %>"> <%= Define.Get("AlbumVideo_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("AlbumVideo_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_AlbumVideo.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> </table> <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["_AlbumVideo"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_AlbumVideo"])%></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/AlbumVideoAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmAlbumVideo" }); //??????? $("#frmAlbumVideo [name=ParentAlbum]").formValidator({ targetFocus : "#frmAlbumVideo [name=ParentAlbum_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("AlbumVideo_AlbumGuid_????????????").ToScriptChar() %>" } }); //??????? $("#frmAlbumVideo [name=ParentVideo]").formValidator({ targetFocus : "#frmAlbumVideo [name=ParentVideo_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("AlbumVideo_VideoGuid_????????????").ToScriptChar() %>" } }); //?????? $("#frmAlbumVideo [name=SubmissionTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("AlbumVideo_SubmissionTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("AlbumVideo_SubmissionTime_??????????????").ToScriptChar() %>" } }); //????? $("#frmAlbumVideo [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("AlbumVideo_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("AlbumVideo_SortNumber_???????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { AlbumVideoAjax.Insert($("#frmAlbumVideo"), send, function (json) { document.getElementById("frmAlbumVideo").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "ListIframe.aspx?AlbumGuid=<%= this.Album.Guid %>"; }); }; //??? function Update(send) { AlbumVideoAjax.Update($("#frmAlbumVideo"), send, function (json) { document.getElementById("frmAlbumVideo").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "ListIframe.aspx?AlbumGuid=<%= this.Album.Guid %>"; }); }; //??? function Delete(send) { var key = document.getElementById("frmAlbumVideo").KEY.value; AlbumVideoAjax.Delete(key, send, function (json) { window.location.href = "ListIframe.aspx?AlbumGuid=<%= this.Album.Guid %>"; }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? function GoList() { window.location.href = "ListIframe.aspx?AlbumGuid=<%= this.Album.Guid %>"; } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de