<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.CreditsVideo.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //CreditsVideo_状态 %> <% break; case "CreditsType": //CreditsVideo_片头视频类型 %> <%-- <% break; case "TargetGuid": //CreditsVideo_播放片头视频目标Guid %> --%> <% break; case "Name": //CreditsVideo_片头视频名称 %> <%-- <% break; case "FileName": //CreditsVideo_片头视频文件名 %> --%> <% break; case "Description": //CreditsVideo_片头视频描述 %> <% break; case "ConvertStatus": //CreditsVideo_视频转换结果 %> <% break; case "ConvertDescription": //CreditsVideo_转换备注 %> <% break; case "ConvertStartTime": //CreditsVideo_转换开始时间 %> <% break; case "ConvertEndTime": //CreditsVideo_转换完成时间 %> <% break; case "VideoInfo": //CreditsVideo_视频信息 %> <% break; case "CreateTime": //CreditsVideo_创建时间 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "CreditsType": %> <%-- <% break; case "TargetGuid": %> --%> <% break; case "Name": %> <%--<% break; case "FileName": %> --%> <% break; case "Description": %> <% break; case "ConvertStatus": %> <% break; case "ConvertDescription": %> <% break; case "ConvertStartTime": %> <% break; case "ConvertEndTime": %> <% break; case "VideoInfo": %> <% break; case "CreateTime": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("CreditsVideo_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("CreditsVideo_片头视频类型").HtmlEncode() %> <%= OrderBy("CreditsType") %> ',event)"> <%= Define.Get("CreditsVideo_播放片头视频目标Guid").HtmlEncode() %> <%= OrderBy("TargetGuid") %> ',event)"> <%= Define.Get("CreditsVideo_片头视频名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("CreditsVideo_片头视频文件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("CreditsVideo_片头视频描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("CreditsVideo_视频转换结果").HtmlEncode() %> <%= OrderBy("ConvertStatus") %> ',event)"> <%= Define.Get("CreditsVideo_转换备注").HtmlEncode() %> <%= OrderBy("ConvertDescription") %> ',event)"> <%= Define.Get("CreditsVideo_转换开始时间").HtmlEncode() %> <%= OrderBy("ConvertStartTime") %> ',event)"> <%= Define.Get("CreditsVideo_转换完成时间").HtmlEncode() %> <%= OrderBy("ConvertEndTime") %> ',event)"> <%= Define.Get("CreditsVideo_视频信息").HtmlEncode() %> <%= OrderBy("VideoInfo") %> ',event)"> <%= Define.Get("CreditsVideo_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoStatusEnum)item.Status).Define() : null %> <%= item.CreditsType != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoCreditsTypeEnum)item.CreditsType).Define() : null %> <%= item.TargetGuid %> <%= item.Name %> <%= File(SettingGroup.CreditsVideoUploadPath, item.FileName) %> <%= item.FileName %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.ConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoConvertStatusEnum)item.ConvertStatus).Define() : null %> <%= new HtmlSpan(item.ConvertDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.ConvertStartTime.ToDateTimeN().ToAutoShortDate() %> <%= item.ConvertEndTime.ToDateTimeN().ToAutoShortDate() %> <%= new HtmlSpan(item.VideoInfo) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>