<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Album.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Album_状态 %> <% break; case "AlbumUserDomainName": //Album_UserDomainName_平台名称 %> <% break; case "AlbumUserDomainCode": //Album_UserDomainCode_平台编码 %> <% break; case "AlbumUserUserTypeName": //Album_UserUserTypeName_用户类型名称 %> <% break; case "AlbumUserTrueName": //Album_UserTrueName_真实名称 %> <% break; case "AlbumUserUserName": //Album_UserUserName_用户名 %> <% break; case "Name": //Album_专辑名称 %> <% break; case "Cover": //Album_封面 %> <% break; case "VideoCount": //Album_视频总数 %> <% break; case "FileSize": //Album_文件大小 %> <% break; case "Period": //Album_时长(秒) %> <% break; case "VideoView": //Album_专辑访问量 %> <% break; case "CommentCount": //Album_评论数 %> <% break; case "CollectCount": //Album_收藏数 %> <% break; case "Share": //Album_观看权限 %> <% break; case "LockAlbum": //Album_是否加锁 %> <% break; case "LockAlbumUserDomainName": //LockAlbum_UserDomainName_Lock平台名称 %> <% break; case "LockAlbumUserDomainCode": //LockAlbum_UserDomainCode_Lock平台编码 %> <% break; case "LockAlbumUserUserTypeName": //LockAlbum_UserUserTypeName_Lock用户类型名称 %> <% break; case "LockAlbumUserTrueName": //LockAlbum_UserTrueName_Lock真实名称 %> <% break; case "LockAlbumUserUserName": //LockAlbum_UserUserName_Lock用户名 %> <% break; case "LockDateTime": //Album_锁定时间 %> <% break; case "LockDescription": //Album_锁定说明 %> <% break; case "Examine": //Album_审核状态 %> <% break; case "Description": //Album_描述 %> <% break; case "CreateTime": //Album_创建时间 %> <% break; case "OpenUpload": //Album_开放上传 %> <% break; case "OpenUploadNeedExamine": //Album_是否审核上传至开放专辑的视频 %> <% break; case "IsWeiKeAlbum": //Album_是否为微课专辑 %> <% break; case "SortNumber": //Album_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "AlbumUserDomainName": %> <% break; case "AlbumUserDomainCode": %> <% break; case "AlbumUserUserTypeName": %> <% break; case "AlbumUserTrueName": %> <% break; case "AlbumUserUserName": %> <% break; case "Name": %> <% break; case "Cover": %> <% break; case "VideoCount": %> <% break; case "FileSize": %> <% break; case "Period": %> <% break; case "VideoView": %> <% break; case "CommentCount": %> <% break; case "CollectCount": %> <% break; case "Share": %> <% break; case "LockAlbum": %> <% break; case "LockAlbumUserDomainName": %> <% break; case "LockAlbumUserDomainCode": %> <% break; case "LockAlbumUserUserTypeName": %> <% break; case "LockAlbumUserTrueName": %> <% break; case "LockAlbumUserUserName": %> <% break; case "LockDateTime": %> <% break; case "LockDescription": %> <% break; case "Examine": %> <% break; case "Description": %> <% break; case "CreateTime": %> <% break; case "OpenUpload": %> <% break; case "OpenUploadNeedExamine": %> <% break; case "IsWeiKeAlbum": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> 推荐 置顶 ',event)"> <%= Define.Get("Album_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Album_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("Album_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("Album_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("Album_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("Album_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("Album_专辑名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("Album_封面").HtmlEncode() %> <%= OrderBy("Cover") %> ',event)"> <%= Define.Get("Album_视频总数").HtmlEncode() %> <%= OrderBy("VideoCount") %> ',event)"> <%= Define.Get("Album_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("Album_时长(秒)").HtmlEncode() %> <%= OrderBy("Period") %> ',event)"> <%= Define.Get("Album_专辑访问量").HtmlEncode() %> <%= OrderBy("VideoView") %> ',event)"> <%= Define.Get("Album_评论数").HtmlEncode() %> <%= OrderBy("CommentCount") %> ',event)"> <%= Define.Get("Album_收藏数").HtmlEncode() %> <%= OrderBy("CollectCount") %> ',event)"> <%= Define.Get("Album_观看权限").HtmlEncode() %> <%= OrderBy("Share") %> ',event)"> <%= Define.Get("Album_是否加锁").HtmlEncode() %> <%= OrderBy("LockAlbum") %> ',event)"> <%= Define.Get("LockAlbum_UserDomainName_Lock平台名称").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Name") %> ',event)"> <%= Define.Get("LockAlbum_UserDomainCode_Lock平台编码").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Code") %> ',event)"> <%= Define.Get("LockAlbum_UserUserTypeName_Lock用户类型名称").HtmlEncode() %> <%= OrderBy("_LockUser._UserType.Name") %> ',event)"> <%= Define.Get("LockAlbum_UserTrueName_Lock真实名称").HtmlEncode() %> <%= OrderBy("_LockUser.TrueName") %> ',event)"> <%= Define.Get("LockAlbum_UserUserName_Lock用户名").HtmlEncode() %> <%= OrderBy("_LockUser.UserName") %> ',event)"> <%= Define.Get("Album_锁定时间").HtmlEncode() %> <%= OrderBy("LockDateTime") %> ',event)"> <%= Define.Get("Album_锁定说明").HtmlEncode() %> <%= OrderBy("LockDescription") %> ',event)"> <%= Define.Get("Album_审核状态").HtmlEncode() %> <%= OrderBy("Examine") %> ',event)"> <%= Define.Get("Album_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("Album_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("Album_开放上传").HtmlEncode() %> <%= OrderBy("OpenUpload") %> ',event)"> <%= Define.Get("Album_是否审核上传至开放专辑的视频").HtmlEncode() %> <%= OrderBy("OpenUploadNeedExamine") %> ',event)"> <%= Define.Get("Album_是否为微课专辑").HtmlEncode() %> <%= OrderBy("IsWeiKeAlbum") %> ',event)"> <%= Define.Get("Album_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= 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()%> <%= DefineEnum.修改.Define() %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> <%= item.Name %> <%= IMG(SettingGroup.AlbumUploadPath, item.Cover) %> <%= item.Cover %> <%= item.VideoCount %> <%= item.FileSize %> <%= item.Period %> <%= item.VideoView %> <%= item.CommentCount %> <%= item.CollectCount %> <%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumShareEnum)item.Share).Define() : null %> <%= item.LockAlbum != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumLockAlbumEnum)item.LockAlbum).Define() : null %> "> <%= ViewData.Val("ParentLockUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentLockUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentLockUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentLockUser.TrueName", item) %> "> <%= ViewData.Val("ParentLockUser.UserName", item) %> <%= item.LockDateTime %> <%= new HtmlSpan(item.LockDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum)item.Examine).Define() : null %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= item.OpenUpload != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumOpenUploadEnum)item.OpenUpload).Define() : null %> <%= item.OpenUploadNeedExamine %> <%= item.IsWeiKeAlbum ? "是" : "否" %> <%= item.SortNumber %>