Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MySubjectMeeting.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectMeeting.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectMeeting" %> <%= new MySubjectNavInstance(this) { Local = MySubjectNavItem.?????????, Subject = this.Subject }.ToHtml()%> <div class="box well"> <div class="p_title"> <span class="title">????????</span> <%= this.Subject.Name %><span>??<%= this.Query.RecordCount %>?????</span> </div> <div class="dataControl box"> <form id="frmSubjectMeetingSearch" method="post" action="<%= WebUrl.Proxy() %>"> ???????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> ???????? <%= new HtmlSelect("ConfirmStatus", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum) }.InsertOption("::???::", "", 0).SelectValue(this.ConfirmStatus)%> <%= new HtmlHidden("Key","MySubjectMeeting") %> <%= new HtmlHidden("ParentSubject",this.Subject.Guid) %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("??????", "window.location.href='" + WebUrl.MySubjectMeetingAdd(this.Subject.Guid) + "';")%> <%= new HtmlButton("???", "SubjectMeetingBatchConfirm(this);")%> <%= new HtmlButton("???", "SubjectMeetingBatchUnConfirm(this);")%> <%= new HtmlButton("???", "SubjectMeetingBatchDelete(this);")%> </form> <script type="text/javascript"> //?????? function SubjectMeetingBatchDelete(send) { var items = $("#MySubjectMeetingData .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("?????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("???????????????") Global.Disabled(send, false); $("#frmSubjectMeetingSearch").submit(); }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } else { alert("?????????????????????"); } }; //?????? function SubjectMeetingDelete(send, pkid) { if (confirm("?????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("???????????????") Global.Disabled(send, false); $("#frmSubjectMeetingSearch").submit(); }, beforeSend: function () { $(send).html("?????"); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).html("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; //???????? function SubjectMeetingChangeSortNumberClient(send, pkid) { if (send.value != send.lang) { if (confirm("?????????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingChangeSortNumber", data: "key=" + pkid + "&SortNumber=" + encodeURIComponent($(send).val()), async: true, dataType: 'json', success: function (result) { alert("????????????????????") Global.Disabled(send, false); $("#frmSubjectMeetingSearch").submit(); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { send.value = send.lang; Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } else { send.value = send.lang; } } }; //?????? function SubjectMeetingBatchConfirm(send) { var items = $("#MySubjectMeetingData .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("???\"???\"???????????") == true) { var confirmRemark = window.prompt("??????????????", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingBatchConfirm", data: key + "&ConfirmRemark=" + encodeURIComponent(confirmRemark), async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("???????????????") Global.Disabled(send, false); $("#frmSubjectMeetingSearch").submit(); }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } else { alert("?????????????????????"); } }; //?????? function SubjectMeetingBatchUnConfirm(send) { var items = $("#MySubjectMeetingData .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("?????????????????") == true) { var confirmRemark = window.prompt("??????????????", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingBatchUnConfirm", data: key + "&ConfirmRemark=" + encodeURIComponent(confirmRemark), async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("???????????????") Global.Disabled(send, false); $("#frmSubjectMeetingSearch").submit(); }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } else { alert("?????????????????????"); } }; </script> </div> <div id="MySubjectMeetingData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle" class="sel"> <input type="checkbox" class="trselall" /> </td> <td valign="middle"> ??? </td> <td valign="middle"> </td> <td valign="middle" class="disabled"> ?????? </td> <td valign="middle" class="disabled"> ?????? </td> <td valign="middle" class="disabled" style="width: 100px;"> ??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListSubjectMeeting.Count - 1; i++) { var subjectMeeting = this.ListSubjectMeeting[i]; var subject = this.ListSubjectMeeting[i].ParentSubject; var meeting = this.ListSubjectMeeting[i].ParentMeeting; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListSubjectMeeting.Count - 1 ? "lastLine" : "" %>'> <td class="sel" valign="middle"> <%= new HtmlCheckBox() { Value = SetKey(subjectMeeting.Guid, subjectMeeting.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="v"> <ul class="video_s"> <li> <%= new HtmlAnchor( new HtmlImg(SettingGroup.MeetingCover(meeting), meeting.Name) { Width=100, Height=62, OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.MeetingView(meeting.Guid), Target = "_blank" }%> </li> </ul> </td> <td> <p> <%= new HtmlAnchor(meeting.Name) { Href = WebUrl.MeetingView(meeting.Guid), Target = "_blank" }%> <br /> <% var classStatus = ""; if (meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.??? || meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.???) { classStatus = "pass"; } else { classStatus = ""; } %> <span class="<%=classStatus %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum)meeting.Status).Define() %> </span> <% var classExamine = ""; if (meeting.Examine == (int)AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum.??????) { classExamine = "pass"; } else if (meeting.Examine == (int)AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum.????????) { } else { classExamine = ""; } %> <span class="<%=classExamine %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum)meeting.Examine).Define() %> </span> <% if (meeting.LockMeeting == (int)AVA.ResourcesPlatform.Model.Pub.MeetingLockMeetingEnum.???) { %> <%= new HtmlSpan("???") { Title = meeting.ParentLockUser.UserName + " " + meeting.LockDateTime + " " + meeting.LockDescription }.Style(new { Color = "Red" })%> <% } %> <% if (meeting.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.MeetingShareUploadEnum.??) { %> <br /> ?????? <% } %> <br /> ?????<%= meeting.VideoView%> ?????<%= meeting.CommentCount%> </p> <%= meeting.ParentUser.ParentDomain.Name %> <br /> <%= new HtmlAnchor(meeting.ParentUser.TrueName) { Href = WebUrl.Show(meeting.ParentUser.ParentDomain.Code, meeting.ParentUser.UserName) }%> ( <%= new HtmlAnchor(meeting.ParentUser.UserName) { Href = WebUrl.Show(meeting.ParentUser.ParentDomain.Code, meeting.ParentUser.UserName) }%> ) </td> <td> <%= meeting.BeginTime.ToLongDate() %> <br /> ?? <br /> <%= meeting.EndTime.ToLongDate() %> </td> <td> <span>?????</span> <%= new HtmlSpan(subjectMeeting.SubmissionTime.ToShortDate()) { Title = subjectMeeting.SubmissionRemark }%> <br /> <% if (subjectMeeting.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum.???) { %> <span class="pass">?????</span> <% } else if (subjectMeeting.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum.???) { %> <span style="color: Red;">?????</span> <% } else if (subjectMeeting.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum.?????) { %> <span>??????</span> <% } %> <%= new HtmlSpan(subjectMeeting.ConfirmTime.ToShortDate()) { Title = subjectMeeting.ConfirmRemark }%> </td> <td> <nobr> <a href="#delete" onclick="SubjectMeetingDelete(this,'<%= SetKey(subjectMeeting.Guid, subjectMeeting.Version) %>'); return false;">???</a> | <%= new HtmlAnchor("???") { Href = WebUrl.SubjectPlay(subject.Guid, meeting.Guid) }%> </nobr> <br /> <%= new HtmlText("SortNumber", subjectMeeting.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};SubjectMeetingChangeSortNumberClient(this,'" + SetKey(subjectMeeting.Guid, subjectMeeting.Version) + "')", Lang = subjectMeeting.SortNumber.ToString(), Width = 50, Title = "???????????????????????" }%> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MySubjectMeetingData .trselall").click(function () { if (this.checked == true) { $("#MySubjectMeetingData .trsel").attr("checked", "checked"); } else { $("#MySubjectMeetingData .trsel").removeAttr("checked"); } }) function SelectMySubjectMeetingAll() { var bool = $("#MySubjectMeetingData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MySubjectMeetingData .trsel").attr("checked", "checked"); $("#MySubjectMeetingData .trselall").attr("checked", "checked"); } else { $("#MySubjectMeetingData .trsel").removeAttr("checked"); $("#MySubjectMeetingData .trselall").removeAttr("checked"); } } </script> <div> <a onclick="SelectMySubjectMeetingAll(); return false;" href="#">???? - ???</a> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectMeeting(this.Subject.Guid, int.MaxValue, this.Name, this.ConfirmStatus.ToString(null)) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de