Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MyMeetingUserVideo.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingUserVideo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingUserVideo" %> <div class="well"> <div class="p_title"> <span class="title">???????????</span><%= this.Meeting.Name %><span>??<%= this.Query.RecordCount %>?????</span><span class="f_r"></span> </div> <div class="dataControl box"> <form id="frmMeetingUserVideoSearch" method="post" action="<%= WebUrl.Proxy() %>"> ????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> <%= new HtmlHidden("Key","MyMeetingUserVideo") %> <%= new HtmlHidden("ParentMeeting",this.Meeting.Guid) %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("??????", "window.location.href='" + WebUrl.MyMeetingUserVideoAdd(this.Meeting.Guid) + "';")%> <%= new HtmlButton("???", "MeetingVideoBatchDelete(this);")%> </form> <script type="text/javascript"> //?????? function MeetingVideoBatchDelete(send) { var items = $("#MyMeetingUserVideoData .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.MeetingVideoBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("????????????") Global.Disabled(send, false); $("#frmMeetingUserVideoSearch").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 MeetingVideoDelete(send, pkid) { if (confirm("??????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingVideoDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("????????????") Global.Disabled(send, false); $("#frmMeetingUserVideoSearch").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="MyMeetingUserVideoData" 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" 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.ListMeetingVideo.Count - 1; i++) { var meetingVideo = this.ListMeetingVideo[i]; var meeting = this.ListMeetingVideo[i].ParentMeeting; var video = this.ListMeetingVideo[i].ParentVideo; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListMeetingVideo.Count - 1 ? "lastLine" : "" %>'> <td class="sel"> <%= new HtmlCheckBox() { Value = SetKey(meetingVideo.Guid, meetingVideo.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="v"> <ul> <li> <%= new HtmlAnchor( new HtmlImg(SettingGroup.VideoCover(video), video.Name) { Width=100, Height=62, OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.MeetingPlay(meeting.Guid, video.Guid), Title = video.Name, Target = "_blank" }%> </li> <li> <p> <%= new HtmlAnchor(video.Name) { Href = WebUrl.MeetingPlay(meeting.Guid, video.Guid), Target = "_blank" }%> <br /> <% var classStatus = ""; if (video.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.???) { classStatus = "pass"; } else { classStatus = ""; } %> <span class="<%=classStatus %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)video.Status).Define() %> </span> <% var classExamine = ""; if (video.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.??????) { classExamine = "pass"; } else if (video.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.????????) { } else { classExamine = ""; } %> <span class="<%=classExamine %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)video.Examine).Define() %> </span> <% var videoConvertStatus = ""; if (video.VideoConvertStatus == (int)AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum.?????) { videoConvertStatus = "pass"; } else { videoConvertStatus = ""; } %> <span class="<%=videoConvertStatus %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)video.VideoConvertStatus).Define() %> </span> <br /> ?????<%= video.VideoView %> ?????<%= video.CommentCount %> </p> </li> </ul> </td> <td> <nobr> ?????<%= AVA.ResourcesPlatform.Config.Helper.FormatSize(video.FileSize.ToDouble()) %> </nobr> <br /> <nobr> ?????<%= video.Period %>?? </nobr> <br /> <nobr> ?????<%= ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)video.Share).Define() %> </nobr> </td> <td><span>?????</span> <%= new HtmlSpan(meetingVideo.SubmissionTime.ToShortDate()) { Title = meetingVideo.SubmissionRemark }%> <br /> <% if (meetingVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum.???) { %> <span class="pass">?????</span> <% } else if (meetingVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum.???) { %> <span style="color: Red;">?????</span> <% } else if (meetingVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum.?????) { %> <span>??????</span> <% } %> <%= new HtmlSpan(meetingVideo.ConfirmTime.ToShortDate()) { Title = meetingVideo.ConfirmRemark }%> </td> <td><a href="#delete" onclick="MeetingVideoDelete(this,'<%= SetKey(meetingVideo.Guid, meetingVideo.Version) %>'); return false;">???</a>| <%= new HtmlAnchor("???") { Href = WebUrl.MeetingPlay(meeting.Guid, video.Guid) }%> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyMeetingUserVideoData .trselall").click(function () { if (this.checked == true) { $("#MyMeetingUserVideoData .trsel").attr("checked", "checked"); } else { $("#MyMeetingUserVideoData .trsel").removeAttr("checked"); } }) function SelectMyMeetingUserVideoAll() { var bool = $("#MyMeetingUserVideoData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyMeetingUserVideoData .trsel").attr("checked", "checked"); $("#MyMeetingUserVideoData .trselall").attr("checked", "checked"); } else { $("#MyMeetingUserVideoData .trsel").removeAttr("checked"); $("#MyMeetingUserVideoData .trselall").removeAttr("checked"); } } </script> <div> <a onclick="SelectMyMeetingUserVideoAll(); return false;" href="#">???? - ???</a> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyMeetingUserVideo(this.Meeting.Guid, int.MaxValue, this.Name) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de