Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyMeeting.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeeting.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeeting" %> <%= new MyMeetingNavTopInstance(this) { Local = MyMeetingNavTopItem.?????? }.ToHtml()%> <div class="box well"> <div class="p_title"> <span class="title">????????</span>???<%= this.Query.RecordCount%>????? </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.ToLongDate()) { Width = 100 }%> ?? <%= new HtmlText("EndTime", this.EndTime.ToLongDate()) { Width = 100 }%> <%= new HtmlHidden("Key","MyMeeting") %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("??????...", "window.location.href='" + WebUrl.MyMeetingAdd() + "';")%> <%= new HtmlButton("???", "MeetingBatchDelete(this);")%> </form> <script type="text/javascript"> $(function () { $("#frmMeetingSearch [name=BeginTime]").datepicker({ //maxDate: new Date($("#frmMeetingSearch [name=EndTime]").val()), onClose: function () { //$("#frmMeetingSearch [name=EndTime]").datetimepicker("option", "minDate", new Date(this.value)); } }); $("#frmMeetingSearch [name=EndTime]").datepicker({ //minDate: new Date($("#frmMeetingSearch [name=BeginTime]").val()), onClose: function () { //$("#frmMeetingSearch [name=BeginTime]").datetimepicker("option", "maxDate", new Date(this.value)); } }); }); </script> <script type="text/javascript"> //?????? function MeetingBatchDelete(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) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("????????????") Global.Disabled(send, false); $("#frmMeetingSearch").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 MeetingDelete(send, pkid) { if (confirm("???????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("????????????") Global.Disabled(send, false); $("#frmMeetingSearch").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 MeetingChangeStatusClient(send, pkid) { if (confirm("??????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingChangeStatus", data: "key=" + pkid + "&Status=" + $(send).val(), async: true, dataType: 'json', success: function (result) { alert("?????????????") send.lang = send.value; Global.Disabled(send, false); location.reload(); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); send.value = send.lang; var message = XMLHttpRequest.responseText; Global.Error(message); } }); } else { send.value = send.lang; } }; //???????? function MeetingChangeSortNumberClient(send, pkid) { if (send.value != send.lang) { if (confirm("???????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingChangeSortNumber", data: "key=" + pkid + "&SortNumber=" + encodeURIComponent($(send).val()), async: true, dataType: 'json', success: function (result) { alert("??????????????") Global.Disabled(send, false); $("#frmMeetingSearch").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; } } }; </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">????</td> <td valign="middle">?????? </td> <td valign="middle">?????? </td> <td valign="middle"width="12%">???</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" valign="middle"> <%= new HtmlCheckBox() { Value = SetKey(meeting.Guid, meeting.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="v"> <ul> <% if (meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.??? || meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.???) { %> <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> <% } else { %> <li> <%= new HtmlAnchor( new HtmlImg(SettingGroup.MeetingCover(meeting), meeting.Name) { Width = 100, Height = 62, OnErrorImg = SettingGroup.DefaultImg } ) { Href="#",OnClick="CheckStatus()"}%> </li> <% } %> </ul> </td> <td> <% if (meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.??? || meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.???) { %> <%= new HtmlAnchor(meeting.Name) { Href = WebUrl.MeetingView(meeting.Guid), Suffix="..", TextLength=6, Target = "_blank" }%> <% } else { %> <%= new HtmlAnchor(meeting.Name) { Href = "#",OnClick="CheckStatus()" , Suffix="..", TextLength=6 } %> <% } %> <br /> <%-- <% 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 %>"> <nobr> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum)meeting.Examine).Define() %> </nobr> </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%><br /> ?????<%= meeting.CommentCount%>--%> </td> <td> <% 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 %>"> <%= new HtmlSelect(null, "Value", "Key", "Key") { OnChange = "MeetingChangeStatusClient(this,'" + SetKey(meeting.Guid, meeting.Version) + "');", Lang = meeting.Status.ToString(), Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum), SelectedValue = meeting.Status }%> </span> </td> <td> <%= meeting.BeginTime.ToShortDate() %> <br /> ?? <br /> <%= meeting.EndTime.ToShortDate() %> </td> <td> <%= meeting.CutoffTime.ToShortDate() %> <%-- <br /> ?????<%= meeting.VideoView%><br /> ?????<%= meeting.CommentCount%>--%> </td> <td> <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingEdit(meeting.Guid) }%> | <%--<%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingSpeakerList(meeting.Guid) }%>--%> <a href="#delete" onclick="MeetingDelete(this,'<%= SetKey(meeting.Guid, meeting.Version) %>'); return false;">???</a> <%--br /> <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingUserList(meeting.Guid) }%> | <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingUserApplyList(meeting.Guid) }%> <br /> <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingAttachmentList(meeting.Guid) }%> | <%= new HtmlAnchor("???") { Href = WebUrl.MyMeetingVideoList(meeting.Guid) }%> <br />--%> <%= new HtmlText("SortNumber", meeting.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};MeetingChangeSortNumberClient(this,'" + SetKey(meeting.Guid, meeting.Version) + "')", Lang = meeting.SortNumber.ToString(), Width = 50, Title = "??????????????" }%> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> function CheckStatus() { alert("???????????"); return false; } $("#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, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyMeeting(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