Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\PublicClassVideo\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PublicClassVideo.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="frmPublicClassVideo" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_PublicClassVideo.ParentPublicClass"], "", "display:none;")%>'> <th title="<%= Define.Get("PublicClassVideo_PublicClassUserTrueName_?????????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_PublicClassUserTrueName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_PublicClassVideo.ParentPublicClass.ParentUser.TrueName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("PublicClassVideo_???????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentPublicClass_Name", IN(this.ViewData["_PublicClassVideo"], this.ViewData["_PublicClassVideo.ParentPublicClass.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmPublicClassVideo [name=ParentPublicClass]","Edit");" }%> <%= new HtmlHidden("ParentPublicClass", this.ViewData["_PublicClassVideo.ParentPublicClass.Guid"])%> <a href="#selectPublicClass" class="decoration-none" onclick="return SelectPublicClass('#frmPublicClassVideo [name=ParentPublicClass]','#frmPublicClassVideo [name=ParentPublicClass_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("ParentPublicClass") %> </td> </tr> <tr style='<%= IN(this.ViewData["_PublicClassVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("PublicClassVideo_VideoUserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_VideoUserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_PublicClassVideo.ParentVideo.ParentUser.ParentUserType.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_PublicClassVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("PublicClassVideo_VideoUserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_VideoUserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_PublicClassVideo.ParentVideo.ParentUser.ParentUserType.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_PublicClassVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("PublicClassVideo_VideoUserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_VideoUserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_PublicClassVideo.ParentVideo.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_PublicClassVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("PublicClassVideo_VideoUserTrueName_?????????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_VideoUserTrueName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_PublicClassVideo.ParentVideo.ParentUser.TrueName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_PublicClassVideo.ParentVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("PublicClassVideo_VideoUserUserName_????????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_VideoUserUserName_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_PublicClassVideo.ParentVideo.ParentUser.UserName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("PublicClassVideo_???????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentVideo_Name", IN(this.ViewData["_PublicClassVideo"], this.ViewData["_PublicClassVideo.ParentVideo.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmPublicClassVideo [name=ParentVideo]","Edit");" }%> <%= new HtmlHidden("ParentVideo", this.ViewData["_PublicClassVideo.ParentVideo.Guid"])%> <a href="#selectVideo" class="decoration-none" onclick="return SelectVideo('#frmPublicClassVideo [name=ParentVideo]','#frmPublicClassVideo [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("PublicClassVideo_??????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreaetTime", this.ViewData["_PublicClassVideo.CreaetTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreaetTime") %> </td> </tr> <tr> <th title="<%= Define.Get("PublicClassVideo_?????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("PublicClassVideo_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_PublicClassVideo.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 title="<%= Define.Get("PublicClassVideo_???????").ToScriptTag() %>"> <%= Define.Get("PublicClassVideo_???????")%>?? </th> <td> <%= new HtmlSelect("Status", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.PublicClassVideoStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_PublicClassVideo.Status"])%> <%= new HtmlYKTip("Status") %> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_PublicClassVideo"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_PublicClassVideo"])%></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/PublicClassVideoAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmPublicClassVideo" }); //????? $("#frmPublicClassVideo [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("PublicClassVideo_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("PublicClassVideo_SortNumber_???????????").ToScriptChar() %>" } }); //??????? $("#frmPublicClassVideo [name=ParentPublicClass]").formValidator({ targetFocus: "#frmPublicClassVideo [name=ParentPublicClass_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("PublicClassVideo_PublicClassGuid_??????????????").ToScriptChar() %>" } }); //??????? $("#frmPublicClassVideo [name=ParentVideo]").formValidator({ targetFocus: "#frmPublicClassVideo [name=ParentVideo_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("PublicClassVideo_VideoGuid_????????????").ToScriptChar() %>" } }); //??????? $("#frmPublicClassVideo [name=Status]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("PublicClassVideo_Status_????????????").ToScriptChar() %>" } }); //?????? $("#frmPublicClassVideo [name=CreaetTime]").formValidator({ validatorGroup: "Edit", rules: { regex: "datetime" }, message: { regex: "<%= Define.Get("PublicClassVideo_CreaetTime_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { PublicClassVideoAjax.Insert($("#frmPublicClassVideo"), send, function (json) { document.getElementById("frmPublicClassVideo").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { PublicClassVideoAjax.Update($("#frmPublicClassVideo"), send, function (json) { document.getElementById("frmPublicClassVideo").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmPublicClassVideo").KEY.value; PublicClassVideoAjax.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