Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Video\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Video.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> <% if (SettingGroup.VideoEditingModule) { %> <th class="wd1"></th> <% } %> <th class="wd2"></th> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Video_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Video_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "VideoUserDomainName": //Video_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "VideoUserDomainCode": //Video_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("Video_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "VideoUserUserTypeName": //Video_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "VideoUserTrueName": //Video_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("Video_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "VideoUserUserName": //Video_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("Video_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "VideoCategoryName": //Video_CategoryName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_CategoryName_??????").HtmlEncode() %> <%= OrderBy("_Category.Name") %> </span> </th> <% break; case "VideoLessonTextbookPressName": //Video_LessonTextbookPressName_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Lesson._Textbook._Press.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_LessonTextbookPressName_????????").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Press.Name") %> </span> </th> <% break; case "VideoLessonTextbookGradeName": //Video_LessonTextbookGradeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Lesson._Textbook._Grade.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_LessonTextbookGradeName_??????").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Grade.Name") %> </span> </th> <% break; case "VideoLessonTextbookCategoryName": //Video_LessonTextbookCategoryName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Lesson._Textbook._Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_LessonTextbookCategoryName_?????????").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Category.Name") %> </span> </th> <% break; case "VideoLessonTextbookName": //Video_LessonTextbookName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Lesson._Textbook.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_LessonTextbookName_??????").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook.Name") %> </span> </th> <% break; case "VideoLessonName": //Video_LessonName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Lesson.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_LessonName_????????").HtmlEncode() %> <%= OrderBy("_Lesson.Name") %> </span> </th> <% break; case "VideoPressName": //Video_PressName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Press.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_PressName_????????").HtmlEncode() %> <%= OrderBy("_Press.Name") %> </span> </th> <% break; case "VideoGradeName": //Video_GradeName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Grade.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_GradeName_??????").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> </span> </th> <% break; case "Name": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "VideoPlaySaveServerName": //Video_PlaySaveServerName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PlaySaveServer.Name").ToScriptTag() %>',event)"> <%= Define.Get("Video_PlaySaveServerName_????????").HtmlEncode() %> <%= OrderBy("_PlaySaveServer.Name") %> </span> </th> <% break; case "VideoApplicationTitle": //Video_ApplicationTitle_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application.Title").ToScriptTag() %>',event)"> <%= Define.Get("Video_ApplicationTitle_???").HtmlEncode() %> <%= OrderBy("_Application.Title") %> </span> </th> <% break; case "Cover": //Video_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("Video_???").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "Summary": //Video_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Summary").ToScriptTag() %>',event)"> <%= Define.Get("Video_????").HtmlEncode() %> <%= OrderBy("Summary") %> </span> </th> <% break; case "FileType": //Video_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "FileSize": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Period": //Video_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Period").ToScriptTag() %>',event)"> <%= Define.Get("Video_????????").HtmlEncode() %> <%= OrderBy("Period") %> </span> </th> <% break; case "VideoView": //Video_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoView").ToScriptTag() %>',event)"> <%= Define.Get("Video_????????").HtmlEncode() %> <%= OrderBy("VideoView") %> </span> </th> <% break; case "CommentCount": //Video_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CommentCount").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????").HtmlEncode() %> <%= OrderBy("CommentCount") %> </span> </th> <% break; case "CollectCount": //Video_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CollectCount").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????").HtmlEncode() %> <%= OrderBy("CollectCount") %> </span> </th> <% break; case "Copyright": //Video_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Copyright").ToScriptTag() %>',event)"> <%= Define.Get("Video_???").HtmlEncode() %> <%= OrderBy("Copyright") %> </span> </th> <% break; case "Share": //Video_??????????????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Share").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("Share") %> </span> </th> <% break; case "LockVideo": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockVideo").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("LockVideo") %> </span> </th> <% break; case "LockVideoUserDomainName": //LockVideo_UserDomainName_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("LockVideo_UserDomainName_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Name") %> </span> </th> <% break; case "LockVideoUserDomainCode": //LockVideo_UserDomainCode_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("LockVideo_UserDomainCode_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Code") %> </span> </th> <% break; case "LockVideoUserUserTypeName": //LockVideo_UserUserTypeName_Lock????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("LockVideo_UserUserTypeName_Lock?????????").HtmlEncode() %> <%= OrderBy("_LockUser._UserType.Name") %> </span> </th> <% break; case "LockVideoUserTrueName": //LockVideo_UserTrueName_Lock?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("LockVideo_UserTrueName_Lock??????").HtmlEncode() %> <%= OrderBy("_LockUser.TrueName") %> </span> </th> <% break; case "LockVideoUserUserName": //LockVideo_UserUserName_Lock????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LockUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("LockVideo_UserUserName_Lock?????").HtmlEncode() %> <%= OrderBy("_LockUser.UserName") %> </span> </th> <% break; case "LockDateTime": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockDateTime").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("LockDateTime") %> </span> </th> <% break; case "LockDescription": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LockDescription").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("LockDescription") %> </span> </th> <% break; case "Examine": //Video_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Examine").ToScriptTag() %>',event)"> <%= Define.Get("Video_???????").HtmlEncode() %> <%= OrderBy("Examine") %> </span> </th> <% break; case "Description": //Video_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Video_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "RecTime": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecTime").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("RecTime") %> </span> </th> <% break; case "CreateTime": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "VideoConvertStatus": //Video_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoConvertStatus").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????????").HtmlEncode() %> <%= OrderBy("VideoConvertStatus") %> </span> </th> <% break; case "HasDownload": //Video_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HasDownload").ToScriptTag() %>',event)"> <%= Define.Get("Video_????????????").HtmlEncode() %> <%= OrderBy("HasDownload") %> </span> </th> <% break; case "Spreaker": //Video_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Spreaker").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????").HtmlEncode() %> <%= OrderBy("Spreaker") %> </span> </th> <% break; case "TeacherRatio": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TeacherRatio").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("TeacherRatio") %> </span> </th> <% break; case "StudentRatio": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StudentRatio").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("StudentRatio") %> </span> </th> <% break; case "TransferRatio": //Video_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TransferRatio").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????").HtmlEncode() %> <%= OrderBy("TransferRatio") %> </span> </th> <% break; case "TeachingType": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TeachingType").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("TeachingType") %> </span> </th> <% break; case "CaptionsFile": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CaptionsFile").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("CaptionsFile") %> </span> </th> <% break; case "FioderName": //Video_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FioderName").ToScriptTag() %>',event)"> <%= Define.Get("Video_???????????").HtmlEncode() %> <%= OrderBy("FioderName") %> </span> </th> <% break; case "HDURL": //Video_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDURL").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????????").HtmlEncode() %> <%= OrderBy("HDURL") %> </span> </th> <% break; case "NRURL": //Video_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRURL").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????????").HtmlEncode() %> <%= OrderBy("NRURL") %> </span> </th> <% break; case "IsWeiKe": //Video_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsWeiKe").ToScriptTag() %>',event)"> <%= Define.Get("Video_???????????").HtmlEncode() %> <%= OrderBy("IsWeiKe") %> </span> </th> <% break; case "TrainYear": //Video_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TrainYear").ToScriptTag() %>',event)"> <%= Define.Get("Video_??????").HtmlEncode() %> <%= OrderBy("TrainYear") %> </span> </th> <% break; case "SortNumber": //Video_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Video_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; case "VideoChannel": //Video_?????? %> <th> <span> <%= Define.Get("Video_??????").HtmlEncode() %> </span> </th> <% break; } } %> </tr> <% var webSite = AVA.ResourcesPlatform.Factory.CreateInstance.DomainDao.Get(CookieGroup.DomainGuid).RouteWebSite; foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/Video/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> <a href="<%= webSite %>/videoplay_<%=item.Guid %>.html" target="_blank">???</a> </nobr> </td> <% if (SettingGroup.VideoEditingModule) { %> <td class="wd1"> <a href="VideoEditingModule.aspx?Guid=<%= item.Guid %>" target="_blank">??????</a> </td> <% } %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "VideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "VideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "VideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "VideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "VideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "VideoCategoryName": %> <td> <span title="<%= ViewData.Val("ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentCategory.Name", item) %> </span> </td> <% break; case "VideoLessonTextbookPressName": %> <td> <span title="<%= ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Name", item) %> </span> </td> <% break; case "VideoLessonTextbookGradeName": %> <td> <span title="<%= ViewData.Val("ParentLesson.ParentTextbook.ParentGrade.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentGrade.Name", item) %> </span> </td> <% break; case "VideoLessonTextbookCategoryName": %> <td> <span title="<%= ViewData.Val("ParentLesson.ParentTextbook.ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentCategory.Name", item) %> </span> </td> <% break; case "VideoLessonTextbookName": %> <td> <span title="<%= ViewData.Val("ParentLesson.ParentTextbook.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.Name", item) %> </span> </td> <% break; case "VideoLessonName": %> <td> <span title="<%= ViewData.Val("ParentLesson.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLesson.Name", item) %> </span> </td> <% break; case "VideoPressName": %> <td> <span title="<%= ViewData.Val("ParentPress.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPress.Name", item) %> </span> </td> <% break; case "VideoGradeName": %> <td> <span title="<%= ViewData.Val("ParentGrade.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentGrade.Name", item) %> </span> </td> <% break; case "Name": %> <td> <span title=""> <%= item.Name %> <span class="txt-info"><a href="/Tools/Video/DownloadVideo.aspx?Guid=<%=item.Guid %>&DownloadType=HD" target="_blank" id="aDownloadFile<%= item.Guid %>">???</a></span> </span> </td> <% break; case "VideoPlaySaveServerName": %> <td> <span title="<%= ViewData.Val("ParentPlaySaveServer.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPlaySaveServer.Name", item) %> </span> </td> <% break; case "VideoApplicationTitle": %> <td> <span title="<%= ViewData.Val("ParentApplication.Title", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.Title", item) %> </span> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.VideoUploadPath, 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.VideoFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "FileSize": %> <td> <span title="<%= item.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize==null?0:item.FileSize.Value) %> </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 "Copyright": %> <td> <span title="<%= (item.Copyright != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoCopyrightEnum)item.Copyright).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Copyright != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoCopyrightEnum)item.Copyright).Define() : null %> </span> </td> <% break; case "Share": %> <td> <span title="<%= (item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)item.Share).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)item.Share).Define() : null %> </span> </td> <% break; case "LockVideo": %> <td> <span title="<%= (item.LockVideo != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum)item.LockVideo).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.LockVideo != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum)item.LockVideo).Define() : null %> </span> </td> <% break; case "LockVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Name", item) %> </span> </td> <% break; case "LockVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentDomain.Code", item) %> </span> </td> <% break; case "LockVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.ParentUserType.Name", item) %> </span> </td> <% break; case "LockVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentLockUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLockUser.TrueName", item) %> </span> </td> <% break; case "LockVideoUserUserName": %> <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.VideoExamineEnum)item.Examine).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)item.Examine).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.VideoVideoConvertStatusEnum)item.VideoConvertStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)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 != null ? item.TeacherRatio + "%" : null %> </span> </td> <% break; case "StudentRatio": %> <td> <span title="<%= item.StudentRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.StudentRatio != null ? item.StudentRatio + "%" : null %> </span> </td> <% break; case "TransferRatio": %> <td> <span title="<%= item.TransferRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.TransferRatio != null ? item.TransferRatio + "%" : null%> </span> </td> <% break; case "TeachingType": %> <td> <span title="<%= (item.TeachingType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoTeachingTypeEnum)item.TeachingType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.TeachingType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoTeachingTypeEnum)item.TeachingType).Define() : null %> </span> </td> <% break; case "CaptionsFile": %> <td> <span title="<%= item.CaptionsFile.ToString(string.Empty).ToScriptTag() %>"> <%= item.CaptionsFile %> </span> </td> <% break; case "FioderName": %> <td> <span title="<%= item.FioderName.ToString(string.Empty).ToScriptTag() %>"> <%= item.FioderName %> </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 "IsWeiKe": %> <td> <span title="<%= item.IsWeiKe.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsWeiKe ? "??" : "??" %> </span> </td> <% break; case "TrainYear": %> <td> <span title="<%= item.TrainYear.ToString(string.Empty).ToScriptTag() %>"> <%= item.TrainYear %> </span> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; case "VideoChannel": %> <td> <span> <% if( item._ListVideoChannel!=null) { %> <%= item._ListVideoChannel.Where(l=>l.ParentChannel.ParentChannel!=null).Select(l=>l.ParentChannel.Name).ToArray().Join(",") %> <% } %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de