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