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