Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MySubjectUserMeeting.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectUserMeeting.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectUserMeeting" %> <div class="well"> <div class="p_title"> <span class="title">??????????????</span> <%= this.Subject.Name %><span>??<%= this.Query.RecordCount %>?????</span><span class="f_r"></span> </div> <div class="dataControl box"> <form id="frmSubjectUserMeetingSearch" method="post" action="<%= WebUrl.Proxy() %>"> ????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> <%= new HtmlHidden("Key","MySubjectUserMeeting") %> <%= new HtmlHidden("ParentSubject",this.Subject.Guid) %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("??????", "window.location.href='" + WebUrl.MySubjectUserMeetingAdd(this.Subject.Guid) + "';")%> <%= new HtmlButton("???", "SubjectMeetingBatchDelete(this);")%> </form> <script type="text/javascript"> //?????? function SubjectMeetingBatchDelete(send) { var items = $("#MySubjectUserMeetingData .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); $("#frmSubjectUserMeetingSearch").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); $("#frmSubjectUserMeetingSearch").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); } }); } }; </script> </div> <div id="MySubjectUserMeetingData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle" class="sel" style="width: 20px;"> <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">??? </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"> <%= 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> </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><a href="#delete" onclick="SubjectMeetingDelete(this,'<%= SetKey(subjectMeeting.Guid, subjectMeeting.Version) %>'); return false;">???</a>| <%= new HtmlAnchor("???") { Href = WebUrl.MeetingView(meeting.Guid) }%> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MySubjectUserMeetingData .trselall").click(function () { if (this.checked == true) { $("#MySubjectUserMeetingData .trsel").attr("checked", "checked"); } else { $("#MySubjectUserMeetingData .trsel").removeAttr("checked"); } }) function SelectMySubjectUserMeetingAll() { var bool = $("#MySubjectUserMeetingData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MySubjectUserMeetingData .trsel").attr("checked", "checked"); $("#MySubjectUserMeetingData .trselall").attr("checked", "checked"); } else { $("#MySubjectUserMeetingData .trsel").removeAttr("checked"); $("#MySubjectUserMeetingData .trselall").removeAttr("checked"); } } </script> <div> <a onclick="SelectMySubjectUserMeetingAll(); return false;" href="#">???? - ???</a> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectUserMeeting(this.Subject.Guid, int.MaxValue, this.Name) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de