Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Subject\ListAudit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListAudit.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Subject.ListAudit1" %> <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": //Subject_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Subject_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "SubjectUserDomainName": //Subject_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("Subject_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "SubjectUserDomainCode": //Subject_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("Subject_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "SubjectUserUserTypeName": //Subject_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("Subject_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "SubjectUserTrueName": //Subject_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("Subject_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "SubjectUserUserName": //Subject_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("Subject_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "Compere": //Subject_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Compere").ToScriptTag() %>',event)"> <%= Define.Get("Subject_????????").HtmlEncode() %> <%= OrderBy("Compere") %> </span> </th> <% break; case "Name": //Subject_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Subject_?????????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Cover": //Subject_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("Subject_???").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "BeginTime": //Subject_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"BeginTime").ToScriptTag() %>',event)"> <%= Define.Get("Subject_???????").HtmlEncode() %> <%= OrderBy("BeginTime") %> </span> </th> <% break; case "EndTime": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "CutoffTime": //Subject_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CutoffTime").ToScriptTag() %>',event)"> <%= Define.Get("Subject_?????????").HtmlEncode() %> <%= OrderBy("CutoffTime") %> </span> </th> <% break; case "VideoCount": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoCount").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("VideoCount") %> </span> </th> <% break; case "VideoView": //Subject_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoView").ToScriptTag() %>',event)"> <%= Define.Get("Subject_?????").HtmlEncode() %> <%= OrderBy("VideoView") %> </span> </th> <% break; case "Period": //Subject_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Period").ToScriptTag() %>',event)"> <%= Define.Get("Subject_????????").HtmlEncode() %> <%= OrderBy("Period") %> </span> </th> <% break; case "CommentCount": //Subject_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CommentCount").ToScriptTag() %>',event)"> <%= Define.Get("Subject_?????").HtmlEncode() %> <%= OrderBy("CommentCount") %> </span> </th> <% break; case "CollectCount": //Subject_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CollectCount").ToScriptTag() %>',event)"> <%= Define.Get("Subject_?????").HtmlEncode() %> <%= OrderBy("CollectCount") %> </span> </th> <% break; case "Share": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Share").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("Share") %> </span> </th> <% break; case "LockSubject": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockSubject").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("LockSubject") %> </span> </th> <% break; case "LockSubjectUserDomainName": //LockSubject_UserDomainName_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("LockSubject_UserDomainName_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Name") %> </span> </th> <% break; case "LockSubjectUserDomainCode": //LockSubject_UserDomainCode_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("LockSubject_UserDomainCode_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Code") %> </span> </th> <% break; case "LockSubjectUserUserTypeName": //LockSubject_UserUserTypeName_Lock????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("LockSubject_UserUserTypeName_Lock?????????").HtmlEncode() %> <%= OrderBy("_LockUser._UserType.Name") %> </span> </th> <% break; case "LockSubjectUserTrueName": //LockSubject_UserTrueName_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("LockSubject_UserTrueName_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser.TrueName") %> </span> </th> <% break; case "LockSubjectUserUserName": //LockSubject_UserUserName_Lock????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("LockSubject_UserUserName_Lock?????").HtmlEncode() %> <%= OrderBy("_LockUser.UserName") %> </span> </th> <% break; case "LockDateTime": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockDateTime").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("LockDateTime") %> </span> </th> <% break; case "LockDescription": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockDescription").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("LockDescription") %> </span> </th> <% break; case "Examine": //Subject_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Examine").ToScriptTag() %>',event)"> <%= Define.Get("Subject_???????").HtmlEncode() %> <%= OrderBy("Examine") %> </span> </th> <% break; case "Description": //Subject_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Subject_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "CreateTime": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "Theme": //Subject_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Theme").ToScriptTag() %>',event)"> <%= Define.Get("Subject_??????").HtmlEncode() %> <%= OrderBy("Theme") %> </span> </th> <% break; case "STEnable": //Subject_??????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"STEnable").ToScriptTag() %>',event)"> <%= Define.Get("Subject_???????????????").HtmlEncode() %> <%= OrderBy("STEnable") %> </span> </th> <% break; case "SubjectSubjectName": //Subject_SubjectName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject.Name").ToScriptTag() %>',event)"> <%= Define.Get("Subject_SubjectName_?????????").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> </span> </th> <% break; case "CutoffTimeBeforLock": //Subject_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CutoffTimeBeforLock").ToScriptTag() %>',event)"> <%= Define.Get("Subject_???????????").HtmlEncode() %> <%= OrderBy("CutoffTimeBeforLock") %> </span> </th> <% break; case "SortNumber": //Subject_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Subject_?????").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/Subject/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.SubjectStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "SubjectUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "SubjectUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "SubjectUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "SubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "SubjectUserUserName": %> <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.SubjectUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "BeginTime": %> <td> <span title="<%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "CutoffTime": %> <td> <span title="<%= item.CutoffTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CutoffTime.ToDateTimeN().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 "Period": %> <td> <span title="<%= item.Period.ToString(string.Empty).ToScriptTag() %>"> <%= item.Period %> </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.SubjectShareEnum)item.Share).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectShareEnum)item.Share).Define() : null %> </span> </td> <% break; case "LockSubject": %> <td> <span title="<%= (item.LockSubject != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectLockSubjectEnum)item.LockSubject).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.LockSubject != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectLockSubjectEnum)item.LockSubject).Define() : null %> </span> </td> <% break; case "LockSubjectUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Name", item) %> </span> </td> <% break; case "LockSubjectUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Code", item) %> </span> </td> <% break; case "LockSubjectUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentUserType.Name", item) %> </span> </td> <% break; case "LockSubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.TrueName", item) %> </span> </td> <% break; case "LockSubjectUserUserName": %> <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.SubjectExamineEnum)item.Examine).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum)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 "Theme": %> <td> <span title="<%= item.Theme.ToString(string.Empty).ToScriptTag() %>"> <%= item.Theme %> </span> </td> <% break; case "STEnable": %> <td> <span title="<%= item.STEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.STEnable %> </span> </td> <% break; case "SubjectSubjectName": %> <td> <span title="<%= ViewData.Val("ParentSubject.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.Name", item) %> </span> </td> <% break; case "CutoffTimeBeforLock": %> <td> <span title="<%= item.CutoffTimeBeforLock.ToString(string.Empty).ToScriptTag() %>"> <%= item.CutoffTimeBeforLock %> </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