Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Meeting\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Meeting.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>?????? </li> <% if (Has(this.ViewData["_Meeting"])) { %> <li>?????? </li> <li>?????? </li> <li>???????? </li> <li>?????? </li> <li>???????? </li> <li>?????? </li> <li>?????? </li> <% } %> </ul> </div> <div class="pans"> <div style="display: none;" class="panel"> <div> <form id="frmMeeting" action="" onsubmit="return false;"> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_Meeting"], "", "display:none;")%>'> <th title="<%= Define.Get("Meeting_UserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_UserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Meeting.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_Meeting"], "", "display:none;")%>'> <th title="<%= Define.Get("Meeting_UserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_UserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Meeting.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_Meeting"], "", "display:none;")%>'> <th title="<%= Define.Get("Meeting_UserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("Meeting_UserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Meeting.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_Meeting.ParentUser"], this.ViewData["_Meeting.ParentUser.TrueName"] + "[" + this.ViewData["_Meeting.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmMeeting [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_Meeting.ParentUser.Guid"])%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmMeeting [name=ParentUser]','#frmMeeting [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("Meeting_???????????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentMeetingServer_ServerName", IN(this.ViewData["_Meeting"], this.ViewData["_Meeting.ParentMeetingServer.ServerName"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmMeeting [name=ParentMeetingServer]","Edit");" }%> <%= new HtmlHidden("ParentMeetingServer", this.ViewData["_Meeting.ParentMeetingServer.Guid"])%> <a href="#selectMeetingServer" class="decoration-none" onclick="return SelectMeetingServer('#frmMeeting [name=ParentMeetingServer]','#frmMeeting [name=ParentMeetingServer_ServerName]')"><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("ParentMeetingServer") %> </td> </tr> <%--<tr> <th title="<%= Define.Get("Meeting_???????").ToScriptTag() %>"> <%= Define.Get("Meeting_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentCategory_Name", IN(this.ViewData["_Meeting"], this.ViewData["_Meeting.ParentCategory.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmMeeting [name=ParentCategory]","Edit");" }%> <%= new HtmlHidden("ParentCategory", this.ViewData["_Meeting.ParentCategory.Guid"])%> <a href="#selectCategory" class="decoration-none" onclick="return SelectCategoryLast('#frmMeeting [name=ParentCategory]','#frmMeeting [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("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_Meeting.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr class="hidden"> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentMeetingLevel_Name", IN(this.ViewData["_Meeting"], this.ViewData["_Meeting.ParentMeetingLevel.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmMeeting [name=ParentMeetingLevel]","Edit");" }%> <%= new HtmlHidden("ParentMeetingLevel", this.ViewData["_Meeting.ParentMeetingLevel.Guid"])%> <a href="#selectMeetingLevel" class="decoration-none" onclick="return SelectMeetingLevel('#frmMeeting [name=ParentMeetingLevel]','#frmMeeting [name=ParentMeetingLevel_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("ParentMeetingLevel") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_????????").ToScriptTag() %>"> <%= Define.Get("Meeting_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Compere", this.ViewData["_Meeting.Compere"], 2000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Password", this.ViewData["_Meeting.Password"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Password") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("MasterPwd", this.ViewData["_Meeting.MasterPwd"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("MasterPwd") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_???").ToScriptTag() %>"> <%= Define.Get("Meeting_???").HtmlEncode() %>?? </th> <td> <%= new HtmlHidden("Cover", ViewData["_Meeting.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('#frmMeeting [name=Cover]','<%= Define.Get("Meeting_Cover_?????????")%>','0','<%= SettingGroup.MeetingUploadPath %>','','960', '540')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("BeginTime", this.ViewData["_Meeting.BeginTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("BeginTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_Meeting.EndTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("EndTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_?????????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CutoffTime", this.ViewData["_Meeting.CutoffTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("CutoffTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_???????").ToScriptTag() %>"> <%= Define.Get("Meeting_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("PersonCount", this.ViewData["_Meeting.PersonCount"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 20 }%> <%= new HtmlYKTip("PersonCount") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("GuestEnable", this.ViewData["_Meeting.GuestEnable"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("ShareUpload", this.ViewData["_Meeting.ShareUpload"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <label for="Meeting_Share_0"> <%= new HtmlRadio("Share", 0, null) { ID = "Meeting_Share_0", Class = "", Checked = (this.ViewData["_Meeting.Share"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Meeting_Share_???") %></label> <%--<label for="Meeting_Share_1"> <%= new HtmlRadio("Share", 1, null) { ID = "Meeting_Share_1", Class = "", Checked = (this.ViewData["_Meeting.Share"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Meeting_Share_???") %></label>--%> <label for="Meeting_Share_2"> <%= new HtmlRadio("Share", 2, null) { ID = "Meeting_Share_2", Class = "", Checked = (this.ViewData["_Meeting.Share"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Meeting_Share_???") %></label> <%= new HtmlYKTip("Share") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_???????").HtmlEncode() %>?? </th> <td> <label for="Meeting_Examine_0"> <%= new HtmlRadio("Examine", 0, null) { ID = "Meeting_Examine_0", Class = "", Checked = (this.ViewData["_Meeting.Examine"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Meeting_Examine_??????") %></label> <label for="Meeting_Examine_1"> <%= new HtmlRadio("Examine", 1, null) { ID = "Meeting_Examine_1", Class = "", Checked = (this.ViewData["_Meeting.Examine"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Meeting_Examine_??????") %></label> <label for="Meeting_Examine_2"> <%= new HtmlRadio("Examine", 2, null) { ID = "Meeting_Examine_2", Class = "", Checked = (this.ViewData["_Meeting.Examine"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Meeting_Examine_????????") %></label> <%= new HtmlYKTip("Examine") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("LockMeeting", this.ViewData["_Meeting.LockMeeting"], 1, 0) { Class = ""}%> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentLockUser_TrueName_UserName", IN(this.ViewData["_Meeting.ParentLockUser"], this.ViewData["_Meeting.ParentLockUser.TrueName"] + "[" + this.ViewData["_Meeting.ParentLockUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmMeeting [name=ParentLockUser]","ParentLockUser");" }%> <%= new HtmlHidden("ParentLockUser", this.ViewData["_Meeting.ParentLockUser.Guid"])%> <a href="#selectLockUser" class="decoration-none" onclick="return SelectUser('#frmMeeting [name=ParentLockUser]','#frmMeeting [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("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("LockDateTime", this.ViewData["_Meeting.LockDateTime"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("LockDescription", this.ViewData["_Meeting.LockDescription"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_???").ToScriptTag() %>"> <%= Define.Get("Meeting_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_Meeting.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_Meeting.CreateTime"].ToDateTimeN().ToLongDate()) { DefaultValue = DateTime.Now.ToString(), Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <label for="Meeting_MeetingType_0"> <%= new HtmlRadio("MeetingType", 0, null) { ID = "Meeting_MeetingType_0", Class = "", Checked = (this.ViewData["_Meeting.MeetingType"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Meeting_MeetingType_??????") %></label> <label for="Meeting_MeetingType_1"> <%= new HtmlRadio("MeetingType", 1, null) { ID = "Meeting_MeetingType_1", Class = "", Checked = (this.ViewData["_Meeting.MeetingType"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Meeting_MeetingType_???????") %></label> <%= new HtmlYKTip("MeetingType") %> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_?????").ToScriptTag() %>"> <%= Define.Get("Meeting_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("Meeting_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_Meeting.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Meeting"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_Meeting"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> <% if (Has(this.ViewData["_Meeting"])) { %> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <form id="frmMeetingStatus" action="" onsubmit="return false;"> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Meeting_????").ToScriptTag() %>"> <%= Define.Get("Meeting_????")%>?? </th> <td> <%= new HtmlSelect("Status", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum) }.SelectValue(this.ViewData["_Meeting.Status"])%> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Status", "ChangeStatus(this);") { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span>??????????</span></div> </td> </tr> </table> </form> <% } %> </div> </div> <% if (Has(this.ViewData["_Meeting"])) { %> <div style="display: none;" class="panel"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Meeting_??????").ToScriptTag() %>"> <%= Define.Get("Meeting_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoCount", this.ViewData["_Meeting.VideoCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_????????").ToScriptTag() %>"> <%= Define.Get("Meeting_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoView", this.ViewData["_Meeting.VideoView"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_????????").ToScriptTag() %>"> <%= Define.Get("Meeting_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Period", this.ViewData["_Meeting.Period"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_?????").ToScriptTag() %>"> <%= Define.Get("Meeting_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CommentCount", this.ViewData["_Meeting.CommentCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Meeting_?????").ToScriptTag() %>"> <%= Define.Get("Meeting_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CollectCount", this.ViewData["_Meeting.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="../MeetingVideo/ListIFrame.aspx?MeetingGuid=<%= 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="../MeetingSpeaker/ListIFrame.aspx?MeetingGuid=<%= 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="../MeetingUser/ListIFrame.aspx?MeetingGuid=<%= 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="../MeetingUserApply/ListIFrame.aspx?MeetingGuid=<%= 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="../MeetingAttachment/ListIFrame.aspx?MeetingGuid=<%= 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="../MeetingTag/ListIFrame.aspx?MeetingGuid=<%= 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/MeetingAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmMeeting" }); //????? $("#frmMeeting [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("Meeting_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Meeting_SortNumber_???????????").ToScriptChar() %>" } }); //??????? $("#frmMeeting [name=ParentUser]").formValidator({ targetFocus : "#frmMeeting [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_UserGuid_????????????").ToScriptChar() %>" } }); //??????????? $("#frmMeeting [name=ParentMeetingServer]").formValidator({ targetFocus : "#frmMeeting [name=ParentMeetingServer_ServerName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_MeetingServerGuid_????????????????").ToScriptChar() %>" } }); // //??????? // $("#frmMeeting [name=ParentCategory]").formValidator({ // targetFocus : "#frmMeeting [name=ParentCategory_Name]", // validatorGroup: "Edit", // rules: // { // required: null // }, // message: // { // required: "<%= Define.Get("Meeting_CategoryGuid_????????????").ToScriptChar() %>" // } // }); //?????? $("#frmMeeting [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_Name_???????????").ToScriptChar() %>" } }); //?????? $("#frmMeeting [name=Password]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_Password_???????????").ToScriptChar() %>" } }); //?????? $("#frmMeeting [name=MasterPwd]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_MasterPwd_???????????").ToScriptChar() %>" } }); //??????? $("#frmMeeting [name=PersonCount]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("Meeting_PersonCount_?????????????").ToScriptChar() %>", regex: "<%= Define.Get("Meeting_PersonCount_?????????????").ToScriptChar() %>" } }); //?????? $("#frmMeeting [name=Share]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Meeting_Share_???????????").ToScriptChar() %>" } }); //??????? $("#frmMeeting [name=Examine]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Meeting_Examine_????????????").ToScriptChar() %>" } }); $.validator.initConfig({ validatorGroup: "ParentLockUser", form: "#frmMeeting" }); //?????? $("#frmMeeting [name=ParentLockUser]").formValidator({ targetFocus : "#frmMeeting [name=ParentLockUser_TrueName_UserName]", validatorGroup: "ParentLockUser", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_LockUserGuid_???????????").ToScriptChar() %>" } }); //??????? $("#frmMeeting [name=BeginTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Meeting_BeginTime_????????????").ToScriptChar() %>", regex: "<%= Define.Get("Meeting_BeginTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmMeeting [name=EndTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Meeting_EndTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Meeting_EndTime_??????????????").ToScriptChar() %>" } }); //????????? $("#frmMeeting [name=CutoffTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("Meeting_CutoffTime_??????????????").ToScriptChar() %>", regex: "<%= Define.Get("Meeting_CutoffTime_?????????????????").ToScriptChar() %>" } }); //?????? $("#frmMeeting [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("Meeting_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Meeting_CreateTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmMeeting [name=MeetingType]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_MeetingType_???????????").ToScriptChar() %>" } }); </script> <% if (Has(this.ViewData["_Meeting"])) { %> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Status", form: "#frmMeetingStatus" }); //???? $("#frmMeetingStatus [name=Status]").formValidator({ validatorGroup: "Status", rules: { required: null }, message: { required: "<%= Define.Get("Meeting_Status_?????????").ToScriptChar() %>" } }); </script> <% } %> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { MeetingAjax.Insert($("#frmMeeting"), send, function (json) { document.getElementById("frmMeeting").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Update(send) { MeetingAjax.Update($("#frmMeeting"), send, function (json) { document.getElementById("frmMeeting").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Delete(send) { var key = document.getElementById("frmMeeting").KEY.value; MeetingAjax.Delete(key, send, function (json) { GoList(); }); }; //??? function ChangeStatus(send) { MeetingAjax.ChangeStatus($("#frmMeetingStatus"), send, function (json) { document.getElementById("frmMeetingStatus").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; </script> <script type="text/javascript"> //?????? //??????????? //??? $("#frmMeeting [name=Cover]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.MeetingUploadPath %>" + $("#frmMeeting [name=Cover]").val()); //??????????? </script> <script type="text/javascript"> //?????? //????????? $(function () { $("#frmMeeting [name=Lock]").bind("click", function () { AutoValidateParentLockUser(); }); AutoValidateParentLockUser(); }) function AutoValidateParentLockUser() { var send = document.getElementById("frmMeeting").elements["LockMeeting"]; if (send.checked == true) { $("#frmMeeting .ParentLockUser").show(); $.validator.addValid("#frmMeeting [name=ParentLockUser]", "ParentLockUser", "Edit"); } else { $("#frmMeeting .ParentLockUser").hide(); $.validator.removeValid("#frmMeeting [name=ParentLockUser]", "Edit"); } } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de