<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingVideo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingVideo" %> <%= new MyMeetingNavInstance(this) { Local = MyMeetingNavItem.活动关联视频 }.ToHtml()%>
我的教研:<%= this.Meeting.Name %> 共<%= this.Query.RecordCount %>个视频
视频名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 确认状态: <%= new HtmlSelect("ConfirmStatus", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.ConfirmStatus)%> <%= new HtmlHidden("Key","MyMeetingVideo") %> <%= new HtmlHidden("ParentMeeting",this.Meeting.Guid) %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%= new HtmlButton("添加视频", "window.location.href='" + WebUrl.MyMeetingVideoAdd(this.Meeting.Guid) + "';")%> <%= new HtmlButton("确认", "MeetingVideoBatchConfirm(this);")%> <%= new HtmlButton("拒绝", "MeetingVideoBatchUnConfirm(this);")%> <%= new HtmlButton("删除", "MeetingVideoBatchDelete(this);")%>
<% 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; %> <% } %>
视频 用户 时间 操作
<%= new HtmlCheckBox() { Value = SetKey(meetingVideo.Guid, meetingVideo.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
  • <%= 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" }%>
  • <%= new HtmlAnchor(video.Name) { Href = WebUrl.MeetingPlay(meeting.Guid, video.Guid), Suffix="..", TextLength=12, Target = "_blank" }%>
    <%= new HtmlAnchor(video.Author) { Href= WebUrl.Show(video.ParentUser.ParentDomain.Code,video.ParentUser.UserName) }%> ( <%= new HtmlAnchor(video.ParentUser.UserName) { Href= WebUrl.Show(video.ParentUser.ParentDomain.Code,video.ParentUser.UserName) }%> )
    <% var classStatus = ""; if (video.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.有效) { classStatus = "pass"; } else { classStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)video.Status).Define() %> <% 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 = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)video.Examine).Define() %> <% var videoConvertStatus = ""; if (video.VideoConvertStatus == (int)AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum.已转换) { videoConvertStatus = "pass"; } else { videoConvertStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)video.VideoConvertStatus).Define() %> <%--
    播放:<%= video.VideoView %> 评论:<%= video.CommentCount %>--%>

<%= video.ParentUser.ParentDomain.Name %>
<%= new HtmlAnchor(video.Author) { Href= WebUrl.Show(video.ParentUser.ParentDomain.Code,video.ParentUser.UserName) }%> ( <%= new HtmlAnchor(video.ParentUser.UserName) { Href= WebUrl.Show(video.ParentUser.ParentDomain.Code,video.ParentUser.UserName) }%> )
大小:<%= AVA.ResourcesPlatform.Config.Helper.FormatSize(video.FileSize.ToDouble()) %>
时长:<%= video.Period %>秒
播放:<%= video.VideoView %> 评论:<%= video.CommentCount %>
<%--
权限:<%= ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)video.Share).Define() %> --%>
添加: <%= new HtmlSpan(meetingVideo.SubmissionTime.ToShortDate()) { Title = meetingVideo.SubmissionRemark }%>
<% if (meetingVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum.通过) { %> 确认: <% } else if (meetingVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum.拒绝) { %> 拒绝: <% } else if (meetingVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.MeetingVideoConfirmStatusEnum.未审核) { %> 未审核: <% } %> <%= new HtmlSpan(meetingVideo.ConfirmTime.ToShortDate()) { Title = meetingVideo.ConfirmRemark }%>
删除 | <%= new HtmlAnchor("预览") { Href = WebUrl.MeetingPlay(meeting.Guid, video.Guid) }%>
<%= new HtmlText("SortNumber", meetingVideo.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};MeetingVideoChangeSortNumberClient(this,'" + SetKey(meetingVideo.Guid, meetingVideo.Version) + "')", Lang = meetingVideo.SortNumber.ToString(), Width = 50, Title = "修改当前视频在教研中的位置" }%>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyMeetingVideo(this.Meeting.Guid, int.MaxValue, this.Name, this.ConfirmStatus.ToString(null)) }.ToHtml()%>