Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\CreditsVideo\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.CreditsVideo.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 "Status": //CreditsVideo_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "CreditsType": //CreditsVideo_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreditsType").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_?????????").HtmlEncode() %> <%= OrderBy("CreditsType") %> </span> </th> <%-- <% break; case "TargetGuid": //CreditsVideo_????????????Guid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TargetGuid").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_????????????Guid").HtmlEncode() %> <%= OrderBy("TargetGuid") %> </span> </th>--%> <% break; case "Name": //CreditsVideo_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_?????????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <%-- <% break; case "FileName": //CreditsVideo_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_???????????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th>--%> <% break; case "Description": //CreditsVideo_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_?????????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "ConvertStatus": //CreditsVideo_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConvertStatus").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_?????????").HtmlEncode() %> <%= OrderBy("ConvertStatus") %> </span> </th> <% break; case "ConvertDescription": //CreditsVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConvertDescription").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_??????").HtmlEncode() %> <%= OrderBy("ConvertDescription") %> </span> </th> <% break; case "ConvertStartTime": //CreditsVideo_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConvertStartTime").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_??????????").HtmlEncode() %> <%= OrderBy("ConvertStartTime") %> </span> </th> <% break; case "ConvertEndTime": //CreditsVideo_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ConvertEndTime").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_?????????").HtmlEncode() %> <%= OrderBy("ConvertEndTime") %> </span> </th> <% break; case "VideoInfo": //CreditsVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoInfo").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_??????").HtmlEncode() %> <%= OrderBy("VideoInfo") %> </span> </th> <% break; case "CreateTime": //CreditsVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("CreditsVideo_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/CreditsVideo/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 "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "CreditsType": %> <td> <span title="<%= (item.CreditsType != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoCreditsTypeEnum)item.CreditsType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.CreditsType != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoCreditsTypeEnum)item.CreditsType).Define() : null %> </span> </td> <%-- <% break; case "TargetGuid": %> <td> <span title="<%= item.TargetGuid.ToString(string.Empty).ToScriptTag() %>"> <%= item.TargetGuid %> </span> </td>--%> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <%--<% break; case "FileName": %> <td> <%= File(SettingGroup.CreditsVideoUploadPath, item.FileName) %> <%= item.FileName %> </td>--%> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ConvertStatus": %> <td> <span title="<%= (item.ConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoConvertStatusEnum)item.ConvertStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoConvertStatusEnum)item.ConvertStatus).Define() : null %> </span> </td> <% break; case "ConvertDescription": %> <td> <%= new HtmlSpan(item.ConvertDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ConvertStartTime": %> <td> <span title="<%= item.ConvertStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ConvertStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "ConvertEndTime": %> <td> <span title="<%= item.ConvertEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ConvertEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "VideoInfo": %> <td> <%= new HtmlSpan(item.VideoInfo) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de