Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Album\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Album.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": //Album_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Album_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "AlbumUserDomainName": //Album_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("Album_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "AlbumUserDomainCode": //Album_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("Album_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "AlbumUserUserTypeName": //Album_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("Album_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "AlbumUserTrueName": //Album_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("Album_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "AlbumUserUserName": //Album_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("Album_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "Name": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Cover": //Album_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("Album_???").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "VideoCount": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoCount").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("VideoCount") %> </span> </th> <% break; case "FileSize": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Period": //Album_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Period").ToScriptTag() %>',event)"> <%= Define.Get("Album_????????").HtmlEncode() %> <%= OrderBy("Period") %> </span> </th> <% break; case "VideoView": //Album_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoView").ToScriptTag() %>',event)"> <%= Define.Get("Album_????????").HtmlEncode() %> <%= OrderBy("VideoView") %> </span> </th> <% break; case "CommentCount": //Album_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CommentCount").ToScriptTag() %>',event)"> <%= Define.Get("Album_?????").HtmlEncode() %> <%= OrderBy("CommentCount") %> </span> </th> <% break; case "CollectCount": //Album_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CollectCount").ToScriptTag() %>',event)"> <%= Define.Get("Album_?????").HtmlEncode() %> <%= OrderBy("CollectCount") %> </span> </th> <% break; case "Share": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Share").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("Share") %> </span> </th> <% break; case "LockAlbum": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockAlbum").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("LockAlbum") %> </span> </th> <% break; case "LockAlbumUserDomainName": //LockAlbum_UserDomainName_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("LockAlbum_UserDomainName_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Name") %> </span> </th> <% break; case "LockAlbumUserDomainCode": //LockAlbum_UserDomainCode_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("LockAlbum_UserDomainCode_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Code") %> </span> </th> <% break; case "LockAlbumUserUserTypeName": //LockAlbum_UserUserTypeName_Lock????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("LockAlbum_UserUserTypeName_Lock?????????").HtmlEncode() %> <%= OrderBy("_LockUser._UserType.Name") %> </span> </th> <% break; case "LockAlbumUserTrueName": //LockAlbum_UserTrueName_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("LockAlbum_UserTrueName_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser.TrueName") %> </span> </th> <% break; case "LockAlbumUserUserName": //LockAlbum_UserUserName_Lock????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("LockAlbum_UserUserName_Lock?????").HtmlEncode() %> <%= OrderBy("_LockUser.UserName") %> </span> </th> <% break; case "LockDateTime": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockDateTime").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("LockDateTime") %> </span> </th> <% break; case "LockDescription": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockDescription").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("LockDescription") %> </span> </th> <% break; case "Examine": //Album_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Examine").ToScriptTag() %>',event)"> <%= Define.Get("Album_???????").HtmlEncode() %> <%= OrderBy("Examine") %> </span> </th> <% break; case "Description": //Album_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Album_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "CreateTime": //Album_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("Album_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "OpenUpload": //Album_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"OpenUpload").ToScriptTag() %>',event)"> <%= Define.Get("Album_???????").HtmlEncode() %> <%= OrderBy("OpenUpload") %> </span> </th> <% break; case "OpenUploadNeedExamine": //Album_????????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"OpenUploadNeedExamine").ToScriptTag() %>',event)"> <%= Define.Get("Album_?????????????????????").HtmlEncode() %> <%= OrderBy("OpenUploadNeedExamine") %> </span> </th> <% break; case "IsWeiKeAlbum": //Album_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsWeiKeAlbum").ToScriptTag() %>',event)"> <%= Define.Get("Album_???????????").HtmlEncode() %> <%= OrderBy("IsWeiKeAlbum") %> </span> </th> <% break; case "SortNumber": //Album_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Album_?????").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/Album/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.AlbumStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "AlbumUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "AlbumUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "AlbumUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "AlbumUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "AlbumUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.AlbumUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "VideoCount": %> <td> <span title="<%= item.VideoCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoCount %> </span> </td> <% break; case "FileSize": %> <td> <span title="<%= item.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= item.FileSize %> </span> </td> <% break; case "Period": %> <td> <span title="<%= item.Period.ToString(string.Empty).ToScriptTag() %>"> <%= item.Period %> </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 "CollectCount": %> <td> <span title="<%= item.CollectCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.CollectCount %> </span> </td> <% break; case "Share": %> <td> <span title="<%= (item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumShareEnum)item.Share).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumShareEnum)item.Share).Define() : null %> </span> </td> <% break; case "LockAlbum": %> <td> <span title="<%= (item.LockAlbum != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumLockAlbumEnum)item.LockAlbum).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.LockAlbum != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumLockAlbumEnum)item.LockAlbum).Define() : null %> </span> </td> <% break; case "LockAlbumUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Name", item) %> </span> </td> <% break; case "LockAlbumUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Code", item) %> </span> </td> <% break; case "LockAlbumUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentUserType.Name", item) %> </span> </td> <% break; case "LockAlbumUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.TrueName", item) %> </span> </td> <% break; case "LockAlbumUserUserName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.UserName", item) %> </span> </td> <% break; case "LockDateTime": %> <td> <span title="<%= item.LockDateTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.LockDateTime %> </span> </td> <% break; case "LockDescription": %> <td> <%= new HtmlSpan(item.LockDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "Examine": %> <td> <span title="<%= (item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum)item.Examine).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum)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().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "OpenUpload": %> <td> <span title="<%= (item.OpenUpload != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumOpenUploadEnum)item.OpenUpload).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.OpenUpload != null ? ((AVA.ResourcesPlatform.Model.Pub.AlbumOpenUploadEnum)item.OpenUpload).Define() : null %> </span> </td> <% break; case "OpenUploadNeedExamine": %> <td> <span title="<%= item.OpenUploadNeedExamine.ToString(string.Empty).ToScriptTag() %>"> <%= item.OpenUploadNeedExamine %> </span> </td> <% break; case "IsWeiKeAlbum": %> <td> <span title="<%= item.IsWeiKeAlbum.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsWeiKeAlbum ? "??" : "??" %> </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