Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\VideoConvert\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoConvert.List1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define(), Lang = ".listContainer .trsel" }%> </th> <th class="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "VideoConvertVideoUserDomainName": //VideoConvert_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "VideoConvertVideoUserDomainCode": //VideoConvert_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "VideoConvertVideoUserUserTypeName": //VideoConvert_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "VideoConvertVideoUserTrueName": //VideoConvert_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "VideoConvertVideoUserUserName": //VideoConvert_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "VideoConvertVideoName": //VideoConvert_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "CreateTime": //VideoConvert_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "FileSize": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.FileSize").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("_Video.FileSize") %> </span> </th> <%--<% break; case "SHDStatus"://VideoConvert_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_???????????").HtmlEncode() %> <%= OrderBy("SHDStatus") %> </span> </th> <% break; case "SHDStartTime"://VideoConvert_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_???????????").HtmlEncode() %> <%= OrderBy("SHDStartTime") %> </span> </th> <% break; case "SHDEndTime"://VideoConvert_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDEndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_???????????").HtmlEncode() %> <%= OrderBy("SHDEndTime") %> </span> </th> <% break; case "SHDDescript"://VideoConvert_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_???????????").HtmlEncode() %> <%= OrderBy("SHDDescript") %> </span> </th>--%> <% break; case "HDStatus": //VideoConvert_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_??????????").HtmlEncode() %> <%= OrderBy("HDStatus") %> </span> </th> <% break; case "HDStartTime": //VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("HDStartTime") %> </span> </th> <% break; case "HDEndTime": //VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDEndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("HDEndTime") %> </span> </th> <% break; case "HDDescript": //VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("HDDescript") %> </span> </th> <% break; case "NRStatus": //VideoConvert_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_??????????").HtmlEncode() %> <%= OrderBy("NRStatus") %> </span> </th> <% break; case "NRStartTime": //VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("NRStartTime") %> </span> </th> <% break; case "NREndTime": //VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NREndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("NREndTime") %> </span> </th> <% break; case "NRDescript": //VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("NRDescript") %> </span> </th> <%--<% break; case "LWStatus"://VideoConvert_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_??????????").HtmlEncode() %> <%= OrderBy("LWStatus") %> </span> </th> <% break; case "LWStartTime"://VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("LWStartTime") %> </span> </th> <% break; case "LWEndTime"://VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWEndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("LWEndTime") %> </span> </th> <% break; case "LWDescript"://VideoConvert_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_?????????").HtmlEncode() %> <%= OrderBy("LWDescript") %> </span> </th>--%> <% break; case "Description": //VideoConvert_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("VideoConvert_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/VideoConvert/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="wd2"> <nobr><a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "VideoConvertVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "VideoConvertVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "VideoConvertVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "VideoConvertVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "VideoConvertVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "VideoConvertVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "FileSize": %> <td> <span title="<%= item.ParentVideo.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize( item.ParentVideo.FileSize==null?0: item.ParentVideo.FileSize.Value) %> </span> </td> <% break; case "SHDStatus": %> <td> <span title="<%= item.SHDStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.SHDStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoConvertStatus)item.SHDStatus).Define() : null %> </span> </td> <% break; case "SHDStartTime": %> <td> <span title="<%= item.SHDStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.SHDStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SHDEndTime": %> <td> <span title="<%= item.SHDEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.SHDEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SHDDescript": %> <td> <%= new HtmlSpan(item.SHDDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "HDStatus": %> <td> <span title="<%= item.HDStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.HDStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoConvertStatus)item.HDStatus).Define() : null %> </span> </td> <% break; case "HDStartTime": %> <td> <span title="<%= item.HDStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.HDStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "HDEndTime": %> <td> <span title="<%= item.HDEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.HDEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "HDDescript": %> <td> <%= new HtmlSpan(item.HDDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "NRStatus": %> <td> <span title="<%= item.NRStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.NRStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoConvertStatus)item.NRStatus).Define() : null %> </span> </td> <% break; case "NRStartTime": %> <td> <span title="<%= item.NRStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.NRStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "NREndTime": %> <td> <span title="<%= item.NREndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.NREndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "NRDescript": %> <td> <%= new HtmlSpan(item.NRDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "LWStatus": %> <td> <span title="<%= item.LWStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.LWStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoConvertStatus)item.LWStatus).Define() : null %> </span> </td> <% break; case "LWStartTime": %> <td> <span title="<%= item.LWStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.LWStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "LWEndTime": %> <td> <span title="<%= item.LWEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.LWEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "LWDescript": %> <td> <%= new HtmlSpan(item.LWDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de