Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MySubjectUserMeetingAdd.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectUserMeetingAdd.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectUserMeetingAdd" %> <div class="well"> <div class="p_title"> <span class="title">??????????????</span><span>??????????????"<%= this.Subject.Name %>" </span><span class="f_r"></span> </div> <div class="dataControl box"> <form id="frmMeetingSearch" method="post" action="<%= WebUrl.Proxy() %>"> ????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> ????? <%= new HtmlText("BeginTime", this.BeginTime.ToShortDate()) { Width = 120 }%> ?? <%= new HtmlText("EndTime", this.EndTime.ToShortDate()) { Width = 120 }%> <%= new HtmlHidden("Key","MySubjectUserMeetingAdd") %> <%= new HtmlHidden("ParentSubject",this.Subject.Guid) %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("???????????", "SubjectMeetingBatchAdd(this);")%> </form> <script type="text/javascript"> $(function () { $("#frmMeetingSearch [name=BeginTime]").datetimepicker({ // maxDate: new Date($("#frmMeetingSearch [name=EndTime]").val()), // onClose: function () { // $("#frmMeetingSearch [name=EndTime]").datepicker("option", "minDate", new Date(this.value)); // } }); $("#frmMeetingSearch [name=EndTime]").datetimepicker({ // minDate: new Date($("#frmMeetingSearch [name=BeginTime]").val()), // onClose: function () { // $("#frmMeetingSearch [name=BeginTime]").datepicker("option", "maxDate", new Date(this.value)); // } }); }); </script> <script type="text/javascript"> //?????? function SubjectMeetingBatchAdd(send) { var items = $("#MyMeetingData .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 submissionRemark = window.prompt("??????????????", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingBatchAdd", data: key + "&SubmissionRemark=" + encodeURIComponent(submissionRemark), async: true, dataType: 'json', success: function (result) { $(send).val("???????????"); alert("???????????????") Global.Disabled(send, false); window.location.href = "<%= WebUrl.MySubjectUserMeeting(this.Subject.Guid) %>"; }, 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 SubjectMeetingAdd(send, pkid) { if (confirm("???????????????????????") == true) { var submissionRemark = window.prompt("??????????????", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectMeetingAdd", data: "key=" + pkid + "&SubmissionRemark=" + encodeURIComponent(submissionRemark), async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("???????????????") Global.Disabled(send, false); window.location.href = "<%= WebUrl.MySubjectUserMeeting(this.Subject.Guid) %>"; }, 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="MyMeetingData" 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.ListMeeting.Count - 1; i++) { var meeting = this.ListMeeting[i]; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListMeeting.Count - 1 ? "lastLine" : "" %>'> <td class="sel"> <%= new HtmlCheckBox() { Value = SetKey(meeting.Guid + "," + this.Subject.Guid, meeting.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> <%= meeting.CutoffTime.ToLongDate() %> </td> <td> <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingEdit(meeting.Guid) }%> | <a href="#delete" onclick="SubjectMeetingAdd(this,'<%= SetKey(meeting.Guid + "," + this.Subject.Guid, meeting.Version) %>'); return false;">???</a> <br /> <%= new HtmlAnchor("???") { Href = WebUrl.MeetingView(meeting.Guid) }%> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyMeetingData .trselall").click(function () { if (this.checked == true) { $("#MyMeetingData .trsel").attr("checked", "checked"); } else { $("#MyMeetingData .trsel").removeAttr("checked"); } }) function SelectMyMeetingAll() { var bool = $("#MyMeetingData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyMeetingData .trsel").attr("checked", "checked"); $("#MyMeetingData .trselall").attr("checked", "checked"); } else { $("#MyMeetingData .trsel").removeAttr("checked"); $("#MyMeetingData .trselall").removeAttr("checked"); } } </script> <div> <a onclick="SelectMyMeetingAll(); return false;" href="#">???? - ???</a> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectUserMeetingAdd(this.Subject.Guid, int.MaxValue, this.Name, this.BeginTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de