%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Video.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | 推荐 置顶 | <% if (SettingGroup.VideoEditingModule) { %><% } %> | <% foreach (var field in this.Fields) { switch (field) { case "Status": //Video_状态 %> | ',event)"> <%= Define.Get("Video_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "VideoUserDomainName": //Video_UserDomainName_平台名称 %>',event)"> <%= Define.Get("Video_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> | <% break; case "VideoUserDomainCode": //Video_UserDomainCode_平台编码 %>',event)"> <%= Define.Get("Video_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> | <% break; case "VideoUserUserTypeName": //Video_UserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("Video_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> | <% break; case "VideoUserTrueName": //Video_UserTrueName_真实名称 %>',event)"> <%= Define.Get("Video_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> | <% break; case "VideoUserUserName": //Video_UserUserName_用户名 %>',event)"> <%= Define.Get("Video_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> | <% break; case "VideoCategoryName": //Video_CategoryName_学科名称 %>',event)"> <%= Define.Get("Video_CategoryName_学科名称").HtmlEncode() %> <%= OrderBy("_Category.Name") %> | <% break; case "VideoLessonTextbookPressName": //Video_LessonTextbookPressName_出版社出版社名称 %>',event)"> <%= Define.Get("Video_LessonTextbookPressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Press.Name") %> | <% break; case "VideoLessonTextbookGradeName": //Video_LessonTextbookGradeName_年级年级名称 %>',event)"> <%= Define.Get("Video_LessonTextbookGradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Grade.Name") %> | <% break; case "VideoLessonTextbookCategoryName": //Video_LessonTextbookCategoryName_学科学科名称 %>',event)"> <%= Define.Get("Video_LessonTextbookCategoryName_学科学科名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Category.Name") %> | <% break; case "VideoLessonTextbookName": //Video_LessonTextbookName_课本课本名称 %>',event)"> <%= Define.Get("Video_LessonTextbookName_课本名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook.Name") %> | <% break; case "VideoLessonName": //Video_LessonName_单元课名称 %>',event)"> <%= Define.Get("Video_LessonName_单元课名称").HtmlEncode() %> <%= OrderBy("_Lesson.Name") %> | <% break; case "VideoPressName": //Video_PressName_出版社名称 %>',event)"> <%= Define.Get("Video_PressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Press.Name") %> | <% break; case "VideoGradeName": //Video_GradeName_年级名称 %>',event)"> <%= Define.Get("Video_GradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> | <% break; case "Name": //Video_视频名称 %>',event)"> <%= Define.Get("Video_视频名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "VideoPlaySaveServerName": //Video_PlaySaveServerName_服务器名称 %>',event)"> <%= Define.Get("Video_PlaySaveServerName_服务器名称").HtmlEncode() %> <%= OrderBy("_PlaySaveServer.Name") %> | <% break; case "VideoApplicationTitle": //Video_ApplicationTitle_主题 %>',event)"> <%= Define.Get("Video_ApplicationTitle_主题").HtmlEncode() %> <%= OrderBy("_Application.Title") %> | <% break; case "Cover": //Video_封面 %>',event)"> <%= Define.Get("Video_封面").HtmlEncode() %> <%= OrderBy("Cover") %> | <% break; case "Summary": //Video_简介 %>',event)"> <%= Define.Get("Video_简介").HtmlEncode() %> <%= OrderBy("Summary") %> | <% break; case "FileType": //Video_视频文件类型 %>',event)"> <%= Define.Get("Video_视频文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> | <% break; case "FileSize": //Video_文件大小 %>',event)"> <%= Define.Get("Video_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> | <% break; case "Period": //Video_时长(秒) %>',event)"> <%= Define.Get("Video_时长(秒)").HtmlEncode() %> <%= OrderBy("Period") %> | <% break; case "VideoView": //Video_视频播放量 %>',event)"> <%= Define.Get("Video_视频播放量").HtmlEncode() %> <%= OrderBy("VideoView") %> | <% break; case "CommentCount": //Video_评论数 %>',event)"> <%= Define.Get("Video_评论数").HtmlEncode() %> <%= OrderBy("CommentCount") %> | <% break; case "CollectCount": //Video_收藏数 %>',event)"> <%= Define.Get("Video_收藏数").HtmlEncode() %> <%= OrderBy("CollectCount") %> | <% break; case "Copyright": //Video_版权 %>',event)"> <%= Define.Get("Video_版权").HtmlEncode() %> <%= OrderBy("Copyright") %> | <% break; case "Share": //Video_是否公开:就是是否共享给其他学校用户 %>',event)"> <%= Define.Get("Video_观看权限").HtmlEncode() %> <%= OrderBy("Share") %> | <% break; case "LockVideo": //Video_是否加锁 %>',event)"> <%= Define.Get("Video_是否加锁").HtmlEncode() %> <%= OrderBy("LockVideo") %> | <% break; case "LockVideoUserDomainName": //LockVideo_UserDomainName_Lock平台名称 %>',event)"> <%= Define.Get("LockVideo_UserDomainName_Lock平台名称").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Name") %> | <% break; case "LockVideoUserDomainCode": //LockVideo_UserDomainCode_Lock平台编码 %>',event)"> <%= Define.Get("LockVideo_UserDomainCode_Lock平台编码").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Code") %> | <% break; case "LockVideoUserUserTypeName": //LockVideo_UserUserTypeName_Lock用户类型名称 %>',event)"> <%= Define.Get("LockVideo_UserUserTypeName_Lock用户类型名称").HtmlEncode() %> <%= OrderBy("_LockUser._UserType.Name") %> | <% break; case "LockVideoUserTrueName": //LockVideo_UserTrueName_Lock真实名称 %>',event)"> <%= Define.Get("LockVideo_UserTrueName_Lock真实名称").HtmlEncode() %> <%= OrderBy("_LockUser.TrueName") %> | <% break; case "LockVideoUserUserName": //LockVideo_UserUserName_Lock用户名 %>',event)"> <%= Define.Get("LockVideo_UserUserName_Lock用户名").HtmlEncode() %> <%= OrderBy("_LockUser.UserName") %> | <% break; case "LockDateTime": //Video_锁定时间 %>',event)"> <%= Define.Get("Video_锁定时间").HtmlEncode() %> <%= OrderBy("LockDateTime") %> | <% break; case "LockDescription": //Video_锁定说明 %>',event)"> <%= Define.Get("Video_锁定说明").HtmlEncode() %> <%= OrderBy("LockDescription") %> | <% break; case "Examine": //Video_审核状态 %>',event)"> <%= Define.Get("Video_审核状态").HtmlEncode() %> <%= OrderBy("Examine") %> | <% break; case "Description": //Video_描述 %>',event)"> <%= Define.Get("Video_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "RecTime": //Video_录制时间 %>',event)"> <%= Define.Get("Video_录制时间").HtmlEncode() %> <%= OrderBy("RecTime") %> | <% break; case "CreateTime": //Video_创建时间 %>',event)"> <%= Define.Get("Video_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> | <% break; case "VideoConvertStatus": //Video_视频转换结果 %>',event)"> <%= Define.Get("Video_视频转换结果").HtmlEncode() %> <%= OrderBy("VideoConvertStatus") %> | <% break; case "HasDownload": //Video_视频是否可以下载 %>',event)"> <%= Define.Get("Video_视频是否可以下载").HtmlEncode() %> <%= OrderBy("HasDownload") %> | <% break; case "Spreaker": //Video_主讲人 %>',event)"> <%= Define.Get("Video_主讲人").HtmlEncode() %> <%= OrderBy("Spreaker") %> | <% break; case "TeacherRatio": //Video_教师比例 %>',event)"> <%= Define.Get("Video_教师比例").HtmlEncode() %> <%= OrderBy("TeacherRatio") %> | <% break; case "StudentRatio": //Video_学生比例 %>',event)"> <%= Define.Get("Video_学生比例").HtmlEncode() %> <%= OrderBy("StudentRatio") %> | <% break; case "TransferRatio": //Video_转换率 %>',event)"> <%= Define.Get("Video_转换率").HtmlEncode() %> <%= OrderBy("TransferRatio") %> | <% break; case "TeachingType": //Video_授课类型 %>',event)"> <%= Define.Get("Video_授课类型").HtmlEncode() %> <%= OrderBy("TeachingType") %> | <% break; case "CaptionsFile": //Video_视频字幕 %>',event)"> <%= Define.Get("Video_视频字幕").HtmlEncode() %> <%= OrderBy("CaptionsFile") %> | <% break; case "FioderName": //Video_视频存放文件夹 %>',event)"> <%= Define.Get("Video_视频存放文件夹").HtmlEncode() %> <%= OrderBy("FioderName") %> | <% break; case "HDURL": //Video_高清视频地址 %>',event)"> <%= Define.Get("Video_高清视频地址").HtmlEncode() %> <%= OrderBy("HDURL") %> | <% break; case "NRURL": //Video_标清视频地址 %>',event)"> <%= Define.Get("Video_标清视频地址").HtmlEncode() %> <%= OrderBy("NRURL") %> | <% break; case "IsWeiKe": //Video_视频是否为微课 %>',event)"> <%= Define.Get("Video_视频是否为微课").HtmlEncode() %> <%= OrderBy("IsWeiKe") %> | <% break; case "TrainYear": //Video_培训年度 %>',event)"> <%= Define.Get("Video_培训年度").HtmlEncode() %> <%= OrderBy("TrainYear") %> | <% break; case "SortNumber": //Video_排序号 %>',event)"> <%= Define.Get("Video_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; case "VideoChannel": //Video_视频课程 %><%= Define.Get("Video_视频课程").HtmlEncode() %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> | <%= new MarkingInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.推荐,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.视频.ToString(),MKGuid=item.Guid }.ToHtml()%> <%= new MarkingInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.置顶,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.视频.ToString(),MKGuid=item.Guid }.ToHtml()%> |
|
<%
if (SettingGroup.VideoEditingModule)
{
%>
视频编辑 | <% } %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %><%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)item.Status).Define() : null %> | <% break; case "VideoUserDomainName": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> | <% break; case "VideoUserDomainCode": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> | <% break; case "VideoUserUserTypeName": %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> | <% break; case "VideoUserTrueName": %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> | <% break; case "VideoUserUserName": %>"> <%= ViewData.Val("ParentUser.UserName", item) %> | <% break; case "VideoCategoryName": %>"> <%= ViewData.Val("ParentCategory.Name", item) %> | <% break; case "VideoLessonTextbookPressName": %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Name", item) %> | <% break; case "VideoLessonTextbookGradeName": %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentGrade.Name", item) %> | <% break; case "VideoLessonTextbookCategoryName": %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentCategory.Name", item) %> | <% break; case "VideoLessonTextbookName": %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.Name", item) %> | <% break; case "VideoLessonName": %>"> <%= ViewData.Val("ParentLesson.Name", item) %> | <% break; case "VideoPressName": %>"> <%= ViewData.Val("ParentPress.Name", item) %> | <% break; case "VideoGradeName": %>"> <%= ViewData.Val("ParentGrade.Name", item) %> | <% break; case "Name": %><%= item.Name %> 下载 | <% break; case "VideoPlaySaveServerName": %>"> <%= ViewData.Val("ParentPlaySaveServer.Name", item) %> | <% break; case "VideoApplicationTitle": %>"> <%= ViewData.Val("ParentApplication.Title", item) %> | <% break; case "Cover": %><%= IMG(SettingGroup.VideoUploadPath, item.Cover) %> <%= item.Cover %> | <% break; case "Summary": %><%= new HtmlSpan(item.Summary) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "FileType": %><%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum)item.FileType).Define() : null %> | <% break; case "FileSize": %><%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize==null?0:item.FileSize.Value) %> | <% break; case "Period": %><%= item.Period %> | <% break; case "VideoView": %><%= item.VideoView %> | <% break; case "CommentCount": %><%= item.CommentCount %> | <% break; case "CollectCount": %><%= item.CollectCount %> | <% break; case "Copyright": %><%= item.Copyright != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoCopyrightEnum)item.Copyright).Define() : null %> | <% break; case "Share": %><%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)item.Share).Define() : null %> | <% break; case "LockVideo": %><%= item.LockVideo != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum)item.LockVideo).Define() : null %> | <% break; case "LockVideoUserDomainName": %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Name", item) %> | <% break; case "LockVideoUserDomainCode": %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Code", item) %> | <% break; case "LockVideoUserUserTypeName": %>"> <%= ViewData.Val("ParentLockUser.ParentUserType.Name", item) %> | <% break; case "LockVideoUserTrueName": %>"> <%= ViewData.Val("ParentLockUser.TrueName", item) %> | <% break; case "LockVideoUserUserName": %>"> <%= ViewData.Val("ParentLockUser.UserName", item) %> | <% break; case "LockDateTime": %><%= item.LockDateTime %> | <% break; case "LockDescription": %><%= new HtmlSpan(item.LockDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "Examine": %><%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)item.Examine).Define() : null %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "RecTime": %><%= item.RecTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "CreateTime": %><%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "VideoConvertStatus": %><%= item.VideoConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)item.VideoConvertStatus).Define() : null %> | <% break; case "HasDownload": %><%= item.HasDownload ? "是" : "否" %> | <% break; case "Spreaker": %><%= item.Spreaker %> | <% break; case "TeacherRatio": %><%= item.TeacherRatio != null ? item.TeacherRatio + "%" : null %> | <% break; case "StudentRatio": %><%= item.StudentRatio != null ? item.StudentRatio + "%" : null %> | <% break; case "TransferRatio": %><%= item.TransferRatio != null ? item.TransferRatio + "%" : null%> | <% break; case "TeachingType": %><%= item.TeachingType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoTeachingTypeEnum)item.TeachingType).Define() : null %> | <% break; case "CaptionsFile": %><%= item.CaptionsFile %> | <% break; case "FioderName": %><%= item.FioderName %> | <% break; case "HDURL": %><%= item.HDURL %> | <% break; case "NRURL": %><%= item.NRURL %> | <% break; case "IsWeiKe": %><%= item.IsWeiKe ? "是" : "否" %> | <% break; case "TrainYear": %><%= item.TrainYear %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; case "VideoChannel": %><% if( item._ListVideoChannel!=null) { %> <%= item._ListVideoChannel.Where(l=>l.ParentChannel.ParentChannel!=null).Select(l=>l.ParentChannel.Name).ToArray().Join(",") %> <% } %> | <% break; } } %>