Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Subject\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Subject.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="gWel-tab"> <div class="tabs txt-link"> <ul> <li><%= Define.Get("Client_??????") %>??? </li> <% if (Has(this.ViewData["_Subject"])) { %> <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> <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> <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> <form id="frmSubject" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_Subject.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("Subject_UserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("Subject_UserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Subject.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_Subject.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("Subject_UserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("Subject_UserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Subject.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_Subject.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("Subject_UserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("Subject_UserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Subject.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_Subject"], this.ViewData["_Subject.ParentUser.TrueName"] + "[" + this.ViewData["_Subject.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubject [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_Subject.ParentUser.Guid"])%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmSubject [name=ParentUser]','#frmSubject [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("Subject_?????????").ToScriptTag() %>"> <%= Define.Get("Subject_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentSubject_Name", IN(this.ViewData["_Subject"], this.ViewData["_Subject.ParentSubject.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%> <%= new HtmlHidden("ParentSubject", this.ViewData["_Subject.ParentSubject.Guid"])%> <a href="#selectSubject" class="decoration-none" onclick="return SelectSubject('#frmSubject [name=ParentSubject]','#frmSubject [name=ParentSubject_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> </td> </tr> <tr> <th title="<%= Define.Get("Subject_????????").ToScriptTag() %>"> <%= Define.Get("Subject_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Compere", this.ViewData["_Subject.Compere"], 2000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_?????????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_Subject.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???").ToScriptTag() %>"> <%= Define.Get("Subject_???").HtmlEncode() %>?? </th> <td> <%= new HtmlHidden("Cover", ViewData["_Subject.Cover"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <br /> <a href="#deleteCover" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadCover" class="decoration-none" onclick="return UploadFile('#frmSubject [name=Cover]','<%= Define.Get("Subject_Cover_????????????")%>','0','<%= SettingGroup.SubjectUploadPath %>','','960', '540')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("BeginTime", this.ViewData["_Subject.BeginTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("BeginTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_Subject.EndTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("EndTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_?????????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CutoffTime", this.ViewData["_Subject.CutoffTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("CutoffTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <label for="Subject_Share_0"> <%= new HtmlRadio("Share", 0, null) { ID = "Subject_Share_0", Class = "", Checked = (this.ViewData["_Subject.Share"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Subject_Share_???") %></label> <%--<label for="Subject_Share_1"> <%= new HtmlRadio("Share", 1, null) { ID = "Subject_Share_1", Class = "", Checked = (this.ViewData["_Subject.Share"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Subject_Share_???") %></label>--%> <label for="Subject_Share_2"> <%= new HtmlRadio("Share", 2, null) { ID = "Subject_Share_2", Class = "", Checked = (this.ViewData["_Subject.Share"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Subject_Share_???") %></label> <%= new HtmlYKTip("Share") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_???????").HtmlEncode() %>?? </th> <td> <label for="Subject_Examine_0"> <%= new HtmlRadio("Examine", 0, null) { ID = "Subject_Examine_0", Class = "", Checked = (this.ViewData["_Subject.Examine"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Subject_Examine_??????") %></label> <label for="Subject_Examine_1"> <%= new HtmlRadio("Examine", 1, null) { ID = "Subject_Examine_1", Class = "", Checked = (this.ViewData["_Subject.Examine"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Subject_Examine_??????") %></label> <label for="Subject_Examine_2"> <%= new HtmlRadio("Examine", 2, null) { ID = "Subject_Examine_2", Class = "", Checked = (this.ViewData["_Subject.Examine"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Subject_Examine_????????") %></label> <%= new HtmlYKTip("Examine") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("LockSubject", this.ViewData["_Subject.LockSubject"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("ShareUpload", this.ViewData["_Subject.ShareUpload"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Theme", this.ViewData["_Subject.Theme"], 64) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???????????????").ToScriptTag() %>"> <%= Define.Get("Subject_???????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("STEnable", this.ViewData["_Subject.STEnable"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???????????").ToScriptTag() %>"> <%= Define.Get("Subject_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("CutoffTimeBeforLock", this.ViewData["_Subject.CutoffTimeBeforLock"], 1, 0) { Class = ""}%> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentLockUser_TrueName_UserName", IN(this.ViewData["_Subject.ParentLockUser"], this.ViewData["_Subject.ParentLockUser.TrueName"] + "[" + this.ViewData["_Subject.ParentLockUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubject [name=ParentLockUser]","ParentLockUser");" }%> <%= new HtmlHidden("ParentLockUser", this.ViewData["_Subject.ParentLockUser.Guid"])%> <a href="#selectLockUser" class="decoration-none" onclick="return SelectUser('#frmSubject [name=ParentLockUser]','#frmSubject [name=ParentLockUser_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("ParentLockUser") %> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("LockDateTime", this.ViewData["_Subject.LockDateTime"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("LockDescription", this.ViewData["_Subject.LockDescription"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_???").ToScriptTag() %>"> <%= Define.Get("Subject_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_Subject.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_Subject.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_?????????????").ToScriptTag() %>"> <%= Define.Get("Subject_?????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("CheckVideoAttachment", this.ViewData["_Subject.CheckVideoAttachment"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_?????").ToScriptTag() %>"> <%= Define.Get("Subject_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("Subject_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_Subject.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("Subject_????").ToScriptTag() %>"> <%= Define.Get("Subject_????")%>?? </th> <td> <label for="Subject_Status_0"> <%= new HtmlRadio("Status", 0, null) { ID = "Subject_Status_0", Class = "", Checked = (this.ViewData["_Subject.Status"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Subject_Status_???") %></label> <label for="Subject_Status_2"> <%= new HtmlRadio("Status", 2, null) { ID = "Subject_Status_2", Class = "", Checked = (this.ViewData["_Subject.Status"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Subject_Status_???") %></label> <label for="Subject_Status_3"> <%= new HtmlRadio("Status", 3, null) { ID = "Subject_Status_3", Class = "", Checked = (this.ViewData["_Subject.Status"].ToIntN() == 3 ? true : false) }%><%= Define.Get("Subject_Status_???") %></label> <%= new HtmlYKTip("Status") %> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Subject"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_Subject"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> <% if (Has(this.ViewData["_Subject"])) { %> <div style="display: none;" class="panel"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Subject_??????").ToScriptTag() %>"> <%= Define.Get("Subject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoCount", this.ViewData["_Subject.VideoCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_????????").ToScriptTag() %>"> <%= Define.Get("Subject_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Period", this.ViewData["_Subject.Period"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Period") %> </td> </tr> <tr> <th title="<%= Define.Get("Subject_????????").ToScriptTag() %>"> <%= Define.Get("Subject_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoView", this.ViewData["_Subject.VideoView"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_?????").ToScriptTag() %>"> <%= Define.Get("Subject_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CommentCount", this.ViewData["_Subject.CommentCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Subject_?????").ToScriptTag() %>"> <%= Define.Get("Subject_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CollectCount", this.ViewData["_Subject.CollectCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> </table> </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="../SubjectUser/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectUserApply/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectVideo/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectAlbum/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectApplication/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectAttachment/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectCategory/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectChannel/ListIFrame.aspx?SubjectGuid=<%= 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="../SubjectTag/ListIFrame.aspx?SubjectGuid=<%= 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="../STAward/ListIFrame.aspx?SubjectGuid=<%= 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="../STScoreItem/ListIFrame.aspx?SubjectGuid=<%= 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="../STUser/ListIFrame.aspx?SubjectGuid=<%= 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="../STUserScoreItem/ListIFrame.aspx?SubjectGuid=<%= 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="../STfinallyScore/ListIFrame.aspx?SubjectGuid=<%= 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/SubjectAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmSubject" }); //????? $("#frmSubject [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("Subject_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Subject_SortNumber_???????????").ToScriptChar() %>" } }); //???? $("#frmSubject [name=Status]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Subject_Status_?????????").ToScriptChar() %>" } }); //??????? $("#frmSubject [name=ParentUser]").formValidator({ targetFocus : "#frmSubject [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Subject_UserGuid_????????????").ToScriptChar() %>" } }); //????????? $("#frmSubject [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Subject_Name_??????????????").ToScriptChar() %>" } }); //??????? $("#frmSubject [name=BeginTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Subject_BeginTime_????????????").ToScriptChar() %>", regex: "<%= Define.Get("Subject_BeginTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmSubject [name=EndTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Subject_EndTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Subject_EndTime_??????????????").ToScriptChar() %>" } }); //????????? $("#frmSubject [name=CutoffTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Subject_CutoffTime_??????????????").ToScriptChar() %>", regex: "<%= Define.Get("Subject_CutoffTime_?????????????????").ToScriptChar() %>" } }); //?????? $("#frmSubject [name=Share]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Subject_Share_???????????").ToScriptChar() %>" } }); //??????? $("#frmSubject [name=Examine]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Subject_Examine_????????????").ToScriptChar() %>" } }); //?????? $("#frmSubject [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("Subject_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Subject_CreateTime_??????????????").ToScriptChar() %>" } }); $.validator.initConfig({ validatorGroup: "ParentLockUser", form: "#frmSubject" }); //?????? $("#frmSubject [name=ParentLockUser]").formValidator({ targetFocus : "#frmSubject [name=ParentLockUser_TrueName_UserName]", validatorGroup: "ParentLockUser", rules: { required: null }, message: { required: "<%= Define.Get("Subject_LockUserGuid_???????????").ToScriptChar() %>" } }); //??????? $("#frmSubject [name=Status]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Subject_Status_????????????").ToScriptChar() %>" } }); $("#frmSubject [name=BeginTime]").datepicker({ onClose: function () { $.validator.itemValid("#frmSubject [name=BeginTime]", "Edit"); } }); $("#frmSubject [name=EndTime]").datepicker({ onClose: function () { $.validator.itemValid("#frmSubject [name=EndTime]", "Edit"); } }); $("#frmSubject [name=CutoffTime]").datepicker({ onClose: function () { $.validator.itemValid("#frmSubject [name=CutoffTime]", "Edit"); } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { SubjectAjax.Insert($("#frmSubject"), send, function (json) { document.getElementById("frmSubject").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Update(send) { SubjectAjax.Update($("#frmSubject"), send, function (json) { document.getElementById("frmSubject").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Delete(send) { var key = document.getElementById("frmSubject").KEY.value; SubjectAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??? $("#frmSubject [name=Cover]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.SubjectUploadPath %>" + $("#frmSubject [name=Cover]").val()); //??????????? </script> <script type="text/javascript"> //?????? //????????? $(function () { $("#frmSubject [name=Lock]").bind("click", function () { AutoValidateParentLockUser(); }); AutoValidateParentLockUser(); }) function AutoValidateParentLockUser() { var send = document.getElementById("frmSubject").elements["LockSubject"]; if (send.checked == true) { $("#frmSubject .ParentLockUser").show(); $.validator.addValid("#frmSubject [name=ParentLockUser]", "ParentLockUser", "Edit"); } else { $("#frmSubject .ParentLockUser").hide(); $.validator.removeValid("#frmSubject [name=ParentLockUser]", "Edit"); } } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de