<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PublicClass.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //PublicClass_状态 %> <% break; case "PublicClassUserDomainName": //PublicClass_UserDomainName_平台名称 %> <% break; case "PublicClassUserDomainCode": //PublicClass_UserDomainCode_平台编码 %> <% break; case "PublicClassUserUserTypeName": //PublicClass_UserUserTypeName_用户类型名称 %> <% break; case "PublicClassUserTrueName": //PublicClass_UserTrueName_真实名称 %> <% break; case "PublicClassUserUserName": //PublicClass_UserUserName_用户名 %> <% break; case "Compere": //PublicClass_主持人名称 %> <% break; case "Name": //PublicClass_评课名称 %> <% break; case "Cover": //PublicClass_封面 %> <% break; case "Ad": //PublicClass_海报图 %> <% break; case "BeginTime": //PublicClass_开始时间 %> <% break; case "EndTime": //PublicClass_结束时间 %> <% break; case "CutoffTime": //PublicClass_截止申请时间 %> <% break; case "VideoCount": //PublicClass_视频总数 %> <% break; case "VideoView": //PublicClass_视频播放量 %> <% break; case "CommentCount": //PublicClass_评论数 %> <% break; case "Examine": //PublicClass_审核状态 %> <% break; case "Description": //PublicClass_描述 %> <% break; case "CreateTime": //PublicClass_创建时间 %> <% break; case "SortNumber": //PublicClass_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "PublicClassUserDomainName": %> <% break; case "PublicClassUserDomainCode": %> <% break; case "PublicClassUserUserTypeName": %> <% break; case "PublicClassUserTrueName": %> <% break; case "PublicClassUserUserName": %> <% break; case "Compere": %> <% break; case "Name": %> <% break; case "Cover": %> <% break; case "Ad": %> <% break; case "BeginTime": %> <% break; case "EndTime": %> <% break; case "CutoffTime": %> <% break; case "VideoCount": %> <% break; case "VideoView": %> <% break; case "CommentCount": %> <% break; case "Examine": %> <% break; case "Description": %> <% break; case "CreateTime": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("PublicClass_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("PublicClass_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._UserType._Domain.Name") %> ',event)"> <%= Define.Get("PublicClass_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._UserType._Domain.Code") %> ',event)"> <%= Define.Get("PublicClass_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("PublicClass_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("PublicClass_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("PublicClass_主持人名称").HtmlEncode() %> <%= OrderBy("Compere") %> ',event)"> <%= Define.Get("PublicClass_评课名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("PublicClass_封面").HtmlEncode() %> <%= OrderBy("Cover") %> ',event)"> <%= Define.Get("PublicClass_海报图").HtmlEncode() %> <%= OrderBy("Ad") %> ',event)"> <%= Define.Get("PublicClass_开始时间").HtmlEncode() %> <%= OrderBy("BeginTime") %> ',event)"> <%= Define.Get("PublicClass_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("PublicClass_截止申请时间").HtmlEncode() %> <%= OrderBy("CutoffTime") %> ',event)"> <%= Define.Get("PublicClass_视频总数").HtmlEncode() %> <%= OrderBy("VideoCount") %> ',event)"> <%= Define.Get("PublicClass_视频播放量").HtmlEncode() %> <%= OrderBy("VideoView") %> ',event)"> <%= Define.Get("PublicClass_评论数").HtmlEncode() %> <%= OrderBy("CommentCount") %> ',event)"> <%= Define.Get("PublicClass_审核状态").HtmlEncode() %> <%= OrderBy("Examine") %> ',event)"> <%= Define.Get("PublicClass_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("PublicClass_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("PublicClass_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> <%= item.Compere %> <%= item.Name %> <%= IMG(SettingGroup.PublicClassUploadPath, item.Cover) %> <%= item.Cover %> <%= IMG(SettingGroup.PublicClassUploadPath, item.Ad) %> <%= item.Ad %> <%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> <%= item.CutoffTime.ToDateTimeN().ToAutoShortDate() %> <%= item.VideoCount %> <%= item.VideoView %> <%= item.CommentCount %> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassExamineEnum)item.Examine).Define() : null %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= item.SortNumber %>