Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\VideoMoveDetails\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoMoveDetails.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.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="frmVideoMoveDetails" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_VideoMoveDetails.ParentVideoMove"], "", "display:none;")%>'> <th title="<%= Define.Get("VideoMoveDetails_VideoMoveVideoName_??????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_VideoMoveVideoName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_VideoMoveDetails.ParentVideoMove.ParentVideo.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_VideoMoveDetails.ParentVideoMove"], "", "display:none;")%>'> <th title="<%= Define.Get("VideoMoveDetails_VideoMovePlaySaveServerName_??????????????????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_VideoMovePlaySaveServerName_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_VideoMoveDetails.ParentVideoMove.ParentPlaySaveServer.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_VideoMoveDetails.ParentVideoMove"], "", "display:none;")%>'> <th title="<%= Define.Get("VideoMoveDetails_VideoMovePlaySaveServerName_??????????????????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_VideoMovePlaySaveServerName_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_VideoMoveDetails.ParentVideoMove.ParentPlaySaveServer.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_??????????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentVideoMove_Guid", IN(this.ViewData["_VideoMoveDetails"], this.ViewData["_VideoMoveDetails.ParentVideoMove.Guid"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideoMoveDetails [name=ParentVideoMove]","Edit");" }%> <%= new HtmlHidden("ParentVideoMove", this.ViewData["_VideoMoveDetails.ParentVideoMove.Guid"])%> <a href="#selectVideoMove" class="decoration-none" onclick="return SelectVideoMove('#frmVideoMoveDetails [name=ParentVideoMove]','#frmVideoMoveDetails [name=ParentVideoMove_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("ParentVideoMove") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_??????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("FileURL", this.ViewData["_VideoMoveDetails.FileURL"], 4000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_??????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_VideoMoveDetails.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_??????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("QueueTime", this.ViewData["_VideoMoveDetails.QueueTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_??????????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_??????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("VideoMoveDetails_MoveStatus_??????????").ToScriptTag()%>"> <%= new HtmlSelect("MoveStatus", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoMoveDetailsMoveStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_VideoMoveDetails.MoveStatus"])%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_???????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("BeginTime", this.ViewData["_VideoMoveDetails.BeginTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_??????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_VideoMoveDetails.EndTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveFolder_??????").ToScriptTag() %>"> <%= Define.Get("VideoMoveFolder_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Description", this.ViewData["_VideoMoveFolder.Description"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoMoveDetails_?????").ToScriptTag() %>"> <%= Define.Get("VideoMoveDetails_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("VideoMoveDetails_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_VideoMoveDetails.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["_VideoMoveDetails"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_VideoMoveDetails"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </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/VideoMoveDetailsAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmVideoMoveDetails" }); //????? $("#frmVideoMoveDetails [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("VideoMoveDetails_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("VideoMoveDetails_SortNumber_???????????").ToScriptChar() %>" } }); //?????????? $("#frmVideoMoveDetails [name=ParentVideoMove]").formValidator({ targetFocus: "#frmVideoMoveDetails [name=ParentVideoMove_Guid]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("VideoMoveDetails_VideoMoveGuid_????????????????").ToScriptChar() %>" } }); //?????? $("#frmVideoMoveDetails [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("VideoMoveDetails_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("VideoMoveDetails_CreateTime_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { VideoMoveDetailsAjax.Insert($("#frmVideoMoveDetails"), send, function (json) { document.getElementById("frmVideoMoveDetails").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { VideoMoveDetailsAjax.Update($("#frmVideoMoveDetails"), send, function (json) { document.getElementById("frmVideoMoveDetails").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmVideoMoveDetails").KEY.value; VideoMoveDetailsAjax.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