Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\PublicClassVideo\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PublicClassVideo.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 "PublicClassVideoPublicClassUserTrueName": //PublicClassVideo_PublicClassUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PublicClass._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_PublicClassUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_PublicClass._User.TrueName") %> </span> </th> <% break; case "PublicClassVideoPublicClassName": //PublicClassVideo_PublicClassName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PublicClass.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_PublicClassName_??????").HtmlEncode() %> <%= OrderBy("_PublicClass.Name") %> </span> </th> <% break; case "PublicClassVideoVideoUserDomainName": //PublicClassVideo_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType._Domain.Name") %> </span> </th> <% break; case "PublicClassVideoVideoUserDomainCode": //PublicClassVideo_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType._Domain.Code") %> </span> </th> <% break; case "PublicClassVideoVideoUserUserTypeName": //PublicClassVideo_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "PublicClassVideoVideoUserTrueName": //PublicClassVideo_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "PublicClassVideoVideoUserUserName": //PublicClassVideo_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "PublicClassVideoVideoName": //PublicClassVideo_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "Status": //PublicClassVideo_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_???????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "CreaetTime": //PublicClassVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreaetTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_??????").HtmlEncode() %> <%= OrderBy("CreaetTime") %> </span> </th> <% break; case "SortNumber": //PublicClassVideo_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("PublicClassVideo_?????").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/PublicClassVideo/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 "PublicClassVideoPublicClassUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentPublicClass.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPublicClass.ParentUser.TrueName", item) %> </span> </td> <% break; case "PublicClassVideoPublicClassName": %> <td> <span title="<%= ViewData.Val("ParentPublicClass.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPublicClass.Name", item) %> </span> </td> <% break; case "PublicClassVideoVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Name", item) %> </span> </td> <% break; case "PublicClassVideoVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Code", item) %> </span> </td> <% break; case "PublicClassVideoVideoUserUserTypeName": %> <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 "PublicClassVideoVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "PublicClassVideoVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "PublicClassVideoVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassVideoStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassVideoStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "CreaetTime": %> <td> <span title="<%= item.CreaetTime.ToDateTimeN().ToTime() %>"> <%= item.CreaetTime.ToDateTimeN().ToTime() %> </span> </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