Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\VideoTimeInfo\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoTimeInfo.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 "VideoTimeInfoVideoUserDomainName": //VideoTimeInfo_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "VideoTimeInfoVideoUserDomainCode": //VideoTimeInfo_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "VideoTimeInfoVideoUserUserTypeName": //VideoTimeInfo_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "VideoTimeInfoVideoUserTrueName": //VideoTimeInfo_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "VideoTimeInfoVideoUserUserName": //VideoTimeInfo_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "VideoTimeInfoVideoName": //VideoTimeInfo_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "Seconds": //VideoTimeInfo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Seconds").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_??????").HtmlEncode() %> <%= OrderBy("Seconds") %> </span> </th> <% break; case "SecondsEnd": //VideoTimeInfo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SecondsEnd").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_??????").HtmlEncode() %> <%= OrderBy("SecondsEnd") %> </span> </th> <% break; case "Description": //VideoTimeInfo_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_????????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "Media": //VideoTimeInfo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Media").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_??????").HtmlEncode() %> <%= OrderBy("Media") %> </span> </th> <% break; case "Cover": //VideoTimeInfo_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_????????").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "SortNumber": //VideoTimeInfo_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("VideoTimeInfo_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/VideoTimeInfo/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 "VideoTimeInfoVideoUserDomainName": %> <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 "VideoTimeInfoVideoUserDomainCode": %> <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 "VideoTimeInfoVideoUserUserTypeName": %> <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 "VideoTimeInfoVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "VideoTimeInfoVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "VideoTimeInfoVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "Seconds": %> <td> <span title="<%= item.Seconds.ToString(string.Empty).ToScriptTag() %>"> <%= item.Seconds %> </span> </td> <% break; case "SecondsEnd": %> <td> <span title="<%= item.SecondsEnd.ToString(string.Empty).ToScriptTag() %>"> <%= item.SecondsEnd %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "Media": %> <td> <%= File(SettingGroup.VideoTimeInfoUploadPath, item.Media) %> <%= item.Media %> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.VideoTimeInfoUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de