Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\VideoApply\ListAudit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListAudit.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoApply.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> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_???????").HtmlEncode() %> <%= OrderBy("ApplyStatus") %> </span> </th> <% foreach (var field in this.Fields) { switch (field) { case "PushNo": //VideoApply_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PushNo").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_???????").HtmlEncode() %> <%= OrderBy("PushNo") %> </span> </th> <% break; case "SubDomainCode": //VideoApply_????????Guid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubDomainCode").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_????????Guid").HtmlEncode() %> <%= OrderBy("SubDomainCode") %> </span> </th> <% break; case "VideoApplyUserUserName": //VideoApply_UserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_UserUserName_????????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "ApplyTime": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("ApplyTime") %> </span> </th> <% break; case "UserName": //VideoApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"UserName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????").HtmlEncode() %> <%= OrderBy("UserName") %> </span> </th> <% break; case "CategoryName": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CategoryName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("CategoryName") %> </span> </th> <% break; case "LessionName": //VideoApply_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LessionName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_????????").HtmlEncode() %> <%= OrderBy("LessionName") %> </span> </th> <% break; case "PressName": //VideoApply_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PressName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_????????").HtmlEncode() %> <%= OrderBy("PressName") %> </span> </th> <% break; case "GradeName": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"GradeName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("GradeName") %> </span> </th> <% break; case "Name": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "FileName": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "Cover": //VideoApply_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_???").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "Summary": //VideoApply_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Summary").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_????").HtmlEncode() %> <%= OrderBy("Summary") %> </span> </th> <% break; case "FileType": //VideoApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "FileSize": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Period": //VideoApply_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Period").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_????????").HtmlEncode() %> <%= OrderBy("Period") %> </span> </th> <% break; case "Copyright": //VideoApply_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Copyright").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_???").HtmlEncode() %> <%= OrderBy("Copyright") %> </span> </th> <% break; case "Share": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Share").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("Share") %> </span> </th> <% break; case "Description": //VideoApply_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "RecTime": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("RecTime") %> </span> </th> <% break; case "CreateTime": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "VideoConvertStatus": //VideoApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoConvertStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> <%= OrderBy("VideoConvertStatus") %> </span> </th> <% break; case "HasDownload": //VideoApply_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HasDownload").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_????????????").HtmlEncode() %> <%= OrderBy("HasDownload") %> </span> </th> <% break; case "Spreaker": //VideoApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Spreaker").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????").HtmlEncode() %> <%= OrderBy("Spreaker") %> </span> </th> <% break; case "TeacherRatio": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TeacherRatio").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("TeacherRatio") %> </span> </th> <% break; case "StudentRatio": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StudentRatio").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("StudentRatio") %> </span> </th> <% break; case "TransferRatio": //VideoApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TransferRatio").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????").HtmlEncode() %> <%= OrderBy("TransferRatio") %> </span> </th> <% break; case "TeachingType": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TeachingType").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("TeachingType") %> </span> </th> <% break; case "CaptionsFile": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CaptionsFile").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("CaptionsFile") %> </span> </th> <% break; case "ApplicationTitle": //VideoApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplicationTitle").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_??????").HtmlEncode() %> <%= OrderBy("ApplicationTitle") %> </span> </th> <% break; case "HDURL": //VideoApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDURL").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> <%= OrderBy("HDURL") %> </span> </th> <% break; case "NRURL": //VideoApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRURL").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> <%= OrderBy("NRURL") %> </span> </th> <% break; case "VideoFileName": //VideoApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoFileName").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> <%= OrderBy("VideoFileName") %> </span> </th> <% break; case "VideoAttachment": //VideoApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoAttachment").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> <%= OrderBy("VideoAttachment") %> </span> </th> <% break; case "VideoTimeInfo": //VideoApply_????????? %> <th> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> </th> <% break; case "VideoTimeInfoOther": //VideoApply_????????? %> <th> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> </th> <% break; case "VideoSW": //VideoApply_????????? %> <th> <%= Define.Get("VideoApply_?????????").HtmlEncode() %> </th> <% break; case "VideoSWPattern": //VideoApply_??????????? %> <th> <%= Define.Get("VideoApply_???????????").HtmlEncode() %> </th> <% break; case "SortNumber": //VideoApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("VideoApply_?????").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/VideoApply/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> <%= new HtmlHidden("",item.Name){ Class="SpanName"} %> </td> <td class="wd2"> <nobr> <%--<a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a>--%> <%-- <% if (item.ApplyStatus == (int)AVA.ResourcesPlatform.Model.Pub.VideoApplyApplyStatusEnum.????? || item.ApplyStatus == (int)AVA.ResourcesPlatform.Model.Pub.VideoApplyApplyStatusEnum.?????) { %>--%> <a href="edit.aspx?guid=<%= item.Guid %>">???</a> <%--<% } else { %> <a href="/Pub/PushFileDownload/List.aspx?targetGuid=<%=item.Guid %>">?????????</a> <% } %>--%> </nobr> </td> <td> <span title="<%= (item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyApplyStatusEnum)item.ApplyStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>" class="ApplyStatus"> <%= item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyApplyStatusEnum)item.ApplyStatus).Define() : null %> </span> </td> <% foreach (var field in this.Fields) { switch (field) { case "PushNo": %> <td> <span title="<%= item.PushNo.ToString(string.Empty).ToScriptTag() %>"> <%= item.PushNo %> </span> </td> <% break; case "SubDomainCode": %> <td> <span title="<%= item.SubDomainCode.ToString(string.Empty).ToScriptTag() %>"> <%= item.SubDomainCode %> </span> </td> <% break; case "VideoApplyUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "ApplyTime": %> <td> <span title="<%= item.ApplyTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ApplyTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "UserName": %> <td> <span title="<%= item.UserName.ToString(string.Empty).ToScriptTag() %>"> <%= item.UserName %> </span> </td> <% break; case "CategoryName": %> <td> <span title="<%= item.CategoryName.ToString(string.Empty).ToScriptTag() %>"> <%= item.CategoryName %> </span> </td> <% break; case "LessionName": %> <td> <span title="<%= item.LessionName.ToString(string.Empty).ToScriptTag() %>"> <%= item.LessionName %> </span> </td> <% break; case "PressName": %> <td> <span title="<%= item.PressName.ToString(string.Empty).ToScriptTag() %>"> <%= item.PressName %> </span> </td> <% break; case "GradeName": %> <td> <span title="<%= item.GradeName.ToString(string.Empty).ToScriptTag() %>"> <%= item.GradeName %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "FileName": %> <td> <span title="<%= item.FileName.ToString(string.Empty).ToScriptTag() %>"> <%= item.FileName %> </span> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.VideoApplyUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "Summary": %> <td> <%= new HtmlSpan(item.Summary) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyFileTypeEnum)item.FileType).Define() : null %> </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 "Copyright": %> <td> <span title="<%= (item.Copyright != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyCopyrightEnum)item.Copyright).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Copyright != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyCopyrightEnum)item.Copyright).Define() : null %> </span> </td> <% break; case "Share": %> <td> <span title="<%= (item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyShareEnum)item.Share).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyShareEnum)item.Share).Define() : null %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "RecTime": %> <td> <span title="<%= item.RecTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.RecTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "VideoConvertStatus": %> <td> <span title="<%= (item.VideoConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyVideoConvertStatusEnum)item.VideoConvertStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyVideoConvertStatusEnum)item.VideoConvertStatus).Define() : null %> </span> </td> <% break; case "HasDownload": %> <td> <span title="<%= item.HasDownload.ToString(string.Empty).ToScriptTag() %>"> <%= item.HasDownload? "??" : "??" %> </span> </td> <% break; case "Spreaker": %> <td> <span title="<%= item.Spreaker.ToString(string.Empty).ToScriptTag() %>"> <%= item.Spreaker %> </span> </td> <% break; case "TeacherRatio": %> <td> <span title="<%= item.TeacherRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.TeacherRatio %> </span> </td> <% break; case "StudentRatio": %> <td> <span title="<%= item.StudentRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.StudentRatio %> </span> </td> <% break; case "TransferRatio": %> <td> <span title="<%= item.TransferRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.TransferRatio %> </span> </td> <% break; case "TeachingType": %> <td> <span title="<%= (item.TeachingType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyTeachingTypeEnum)item.TeachingType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.TeachingType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoApplyTeachingTypeEnum)item.TeachingType).Define() : null %> </span> </td> <% break; case "CaptionsFile": %> <td> <span title="<%= item.CaptionsFile.ToString(string.Empty).ToScriptTag() %>"> <%= item.CaptionsFile %> </span> </td> <% break; case "ApplicationTitle": %> <td> <span title="<%= item.ApplicationTitle.ToString(string.Empty).ToScriptTag() %>"> <%= item.ApplicationTitle %> </span> </td> <% break; case "HDURL": %> <td> <span title="<%= item.HDURL.ToString(string.Empty).ToScriptTag() %>"> <%= item.HDURL %> </span> </td> <% break; case "NRURL": %> <td> <span title="<%= item.NRURL.ToString(string.Empty).ToScriptTag() %>"> <%= item.NRURL %> </span> </td> <% break; case "VideoFileName": %> <td> <span title="<%= item.VideoFileName.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoFileName %> </span> </td> <% break; case "VideoAttachment": %> <td> <span title="<%= item.VideoAttachment.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoAttachment %> </span> </td> <% break; case "VideoTimeInfo": %> <td> <span title="<%= item.VideoTimeInfo.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoTimeInfo %> </span> </td> <% break; case "VideoTimeInfoOther": %> <td> <span title="<%= item.VideoTimeInfoOther.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoTimeInfoOther %> </span> </td> <% break; case "VideoSW": %> <td> <span title="<%= item.VideoSW.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoSW %> </span> </td> <% break; case "VideoSWPattern": %> <td> <span title="<%= item.VideoSWPattern.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoSWPattern %> </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