Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\PublicClass\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PublicClass.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="wd1">??? ??? </th> <th class="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "Status": //PublicClass_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "PublicClassUserDomainName": //PublicClass_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._UserType._Domain.Name") %> </span> </th> <% break; case "PublicClassUserDomainCode": //PublicClass_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._UserType._Domain.Code") %> </span> </th> <% break; case "PublicClassUserUserTypeName": //PublicClass_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "PublicClassUserTrueName": //PublicClass_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "PublicClassUserUserName": //PublicClass_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "Compere": //PublicClass_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Compere").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_????????").HtmlEncode() %> <%= OrderBy("Compere") %> </span> </th> <% break; case "Name": //PublicClass_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Cover": //PublicClass_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_???").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "Ad": //PublicClass_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Ad").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_?????").HtmlEncode() %> <%= OrderBy("Ad") %> </span> </th> <% break; case "BeginTime": //PublicClass_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"BeginTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_???????").HtmlEncode() %> <%= OrderBy("BeginTime") %> </span> </th> <% break; case "EndTime": //PublicClass_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "CutoffTime": //PublicClass_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CutoffTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_?????????").HtmlEncode() %> <%= OrderBy("CutoffTime") %> </span> </th> <% break; case "VideoCount": //PublicClass_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoCount").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_??????").HtmlEncode() %> <%= OrderBy("VideoCount") %> </span> </th> <% break; case "VideoView": //PublicClass_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoView").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_????????").HtmlEncode() %> <%= OrderBy("VideoView") %> </span> </th> <% break; case "CommentCount": //PublicClass_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CommentCount").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_?????").HtmlEncode() %> <%= OrderBy("CommentCount") %> </span> </th> <% break; case "Examine": //PublicClass_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Examine").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_???????").HtmlEncode() %> <%= OrderBy("Examine") %> </span> </th> <% break; case "Description": //PublicClass_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "CreateTime": //PublicClass_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "SortNumber": //PublicClass_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("PublicClass_?????").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/PublicClass/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="wd1"> <%= new MarkingInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.???,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.?????.ToString(),MKGuid=item.Guid }.ToHtml()%> <%= new MarkingInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.???,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.?????.ToString(),MKGuid=item.Guid }.ToHtml()%> </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.PublicClassStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "PublicClassUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Name", item) %> </span> </td> <% break; case "PublicClassUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Code", item) %> </span> </td> <% break; case "PublicClassUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "PublicClassUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "PublicClassUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "Compere": %> <td> <span title="<%= item.Compere.ToString(string.Empty).ToScriptTag() %>"> <%= item.Compere %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.PublicClassUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "Ad": %> <td> <%= IMG(SettingGroup.PublicClassUploadPath, item.Ad) %> <%= item.Ad %> </td> <% break; case "BeginTime": %> <td> <span title="<%= item.BeginTime.ToAutoShortDate() %>"> <%= item.BeginTime.ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToAutoShortDate() %>"> <%= item.EndTime.ToAutoShortDate() %> </span> </td> <% break; case "CutoffTime": %> <td> <span title="<%= item.CutoffTime.ToAutoShortDate() %>"> <%= item.CutoffTime.ToAutoShortDate() %> </span> </td> <% break; case "VideoCount": %> <td> <span title="<%= item.VideoCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoCount %> </span> </td> <% break; case "VideoView": %> <td> <span title="<%= item.VideoView.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoView %> </span> </td> <% break; case "CommentCount": %> <td> <span title="<%= item.CommentCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.CommentCount %> </span> </td> <% break; case "Examine": %> <td> <span title="<%= (item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassExamineEnum)item.Examine).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassExamineEnum)item.Examine).Define() : null %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToTime() %>"> <%= item.CreateTime.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