Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\ListenLesson\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ListenLesson.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="gWel-tab"> <div class="tabs txt-link"> <ul> <li>?????? </li> <% if (Has(this.ViewData["_ListenLesson"])) { %> <li style="padding-left: 20px; padding-right: 20px;">?????? </li> <li style="padding-left: 20px; padding-right: 20px;">?????? </li> <li style="padding-left: 20px; padding-right: 20px;">???????? </li> <li style="padding-left: 20px; padding-right: 20px;">?????????? </li> <li style="padding-left: 20px; padding-right: 20px;">???????????? </li> <% } %> </ul> </div> <div class="pans"> <div style="display: none;" class="panel"> <div class="subcontent"> <form id="frmListenLesson" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_ListenLesson.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("ListenLesson_UserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_UserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_ListenLesson.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_ListenLesson.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("ListenLesson_UserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_UserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_ListenLesson.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_ListenLesson.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("ListenLesson_UserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_UserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_ListenLesson.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_???????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_ListenLesson"], this.ViewData["_ListenLesson.ParentUser.TrueName"] + "[" + this.ViewData["_ListenLesson.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmListenLesson [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_ListenLesson.ParentUser.Guid"])%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmListenLesson [name=ParentUser]','#frmListenLesson [name=ParentUser_TrueName_UserName]')"><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("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_???????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentCategory_Name", IN(this.ViewData["_ListenLesson"], this.ViewData["_ListenLesson.ParentCategory.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmListenLesson [name=ParentCategory]","Edit");" }%> <%= new HtmlHidden("ParentCategory", this.ViewData["_ListenLesson.ParentCategory.Guid"])%> <a href="#selectCategory" class="decoration-none" onclick="return SelectCategoryLast('#frmListenLesson [name=ParentCategory]','#frmListenLesson [name=ParentCategory_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("ParentCategory") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_??????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_ListenLesson.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_????").HtmlEncode() %>?? </th> <td> <label for="ListenLesson_Status_0"> <%= new HtmlRadio("Status", 0, null) { ID = "ListenLesson_Status_0", Class = "", Checked = (this.ViewData["_ListenLesson.Status"].ToIntN() == 0 ? true : false) }%><%= Define.Get("ListenLesson_Status_???") %></label> <label for="ListenLesson_Status_1"> <%= new HtmlRadio("Status", 1, null) { ID = "ListenLesson_Status_1", Class = "", Checked = (this.ViewData["_ListenLesson.Status"].ToIntN() == 1 ? true : false) }%><%= Define.Get("ListenLesson_Status_????????") %></label> <label for="ListenLesson_Status_2"> <%= new HtmlRadio("Status", 2, null) { ID = "ListenLesson_Status_2", Class = "", Checked = (this.ViewData["_ListenLesson.Status"].ToIntN() == 2 ? true : false) }%><%= Define.Get("ListenLesson_Status_?????????") %></label> <label for="ListenLesson_Status_3"> <%= new HtmlRadio("Status", 3, null) { ID = "ListenLesson_Status_3", Class = "", Checked = (this.ViewData["_ListenLesson.Status"].ToIntN() == 3 ? true : false) }%><%= Define.Get("ListenLesson_Status_????????") %></label> <%= new HtmlYKTip("Status") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_??????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_ListenLesson.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_???????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("BeginTime", this.ViewData["_ListenLesson.BeginTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("BeginTime") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_??????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_ListenLesson.EndTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("EndTime") %> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_?????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Speaker", this.ViewData["_ListenLesson.Speaker"], 200) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("ListenLesson_???").ToScriptTag() %>"> <%= Define.Get("ListenLesson_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_ListenLesson.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr class="hidden"> <th title="<%= Define.Get("ListenLesson_???").ToScriptTag() %>"> <%= Define.Get("ListenLesson_???").HtmlEncode() %>?? </th> <td> <%= new HtmlText("AllScore", this.ViewData["_ListenLesson.AllScore"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("AllScore") %> </td> </tr> <tr class="hidden"> <th title="<%= Define.Get("ListenLesson_?????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("ListenLesson_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_ListenLesson.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("ListenLesson_????").ToScriptTag() %>"> <%= Define.Get("ListenLesson_????")%>?? </th> <td> <%= new HtmlCheckBox("Status", this.ViewData["_ListenLesson.Status"], 1, 0) { DefaultChecked = 0 }%> </td> </tr>--%> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_ListenLesson"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_ListenLesson"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../LLApplication/ListIFrame.aspx?ListenLessonGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../LLUser/ListIFrame.aspx?ListenLessonGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../LLScoreItem/ListIFrame.aspx?ListenLessonGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../LLFinallyScore/ListIFrame.aspx?ListenLessonGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../LLUserFile/ListIFrame.aspx?ListenLessonGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> </div> </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/ListenLessonAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmListenLesson" }); //????? $("#frmListenLesson [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("ListenLesson_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ListenLesson_SortNumber_???????????").ToScriptChar() %>" } }); //???? $("#frmListenLesson [name=Status]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ListenLesson_Status_?????????").ToScriptChar() %>" } }); //??????? $("#frmListenLesson [name=ParentUser]").formValidator({ targetFocus: "#frmListenLesson [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ListenLesson_UserGuid_????????????").ToScriptChar() %>" } }); //??????? $("#frmListenLesson [name=ParentCategory]").formValidator({ targetFocus: "#frmListenLesson [name=ParentCategory_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ListenLesson_CategoryGuid_????????????").ToScriptChar() %>" } }); //?????? $("#frmListenLesson [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("ListenLesson_Name_???????????").ToScriptChar() %>" } }); //?????? $("#frmListenLesson [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("ListenLesson_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ListenLesson_CreateTime_??????????????").ToScriptChar() %>" } }); //??????? $("#frmListenLesson [name=BeginTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("ListenLesson_BeginTime_????????????").ToScriptChar() %>", regex: "<%= Define.Get("ListenLesson_BeginTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmListenLesson [name=EndTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("ListenLesson_EndTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("ListenLesson_EndTime_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { ListenLessonAjax.Insert($("#frmListenLesson"), send, function (json) { document.getElementById("frmListenLesson").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Update(send) { ListenLessonAjax.Update($("#frmListenLesson"), send, function (json) { document.getElementById("frmListenLesson").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmListenLesson").KEY.value; ListenLessonAjax.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