Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\VideoAttachment\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoAttachment.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="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "VideoAttachmentVideoUserDomainName": //VideoAttachment_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "VideoAttachmentVideoUserDomainCode": //VideoAttachment_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "VideoAttachmentVideoUserUserTypeName": //VideoAttachment_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "VideoAttachmentVideoUserTrueName": //VideoAttachment_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "VideoAttachmentVideoUserUserName": //VideoAttachment_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "VideoAttachmentVideoName": //VideoAttachment_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "FileName": //VideoAttachment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_?????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "FileType": //VideoAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_??????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "FileSize": //VideoAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Description": //VideoAttachment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //VideoAttachment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("VideoAttachment_?????").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/VideoAttachment/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> | <%= new HtmlAnchor("??DF") { Href ="#convertPDF=" + item.Guid,OnClick="ConvertToPDF(this);return false;",Key= SetKey(item.Guid,item.Version) }%> </nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "VideoAttachmentVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "VideoAttachmentVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "VideoAttachmentVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "VideoAttachmentVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "VideoAttachmentVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "VideoAttachmentVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "FileName": %> <td> <%= File(SettingGroup.VideoAttachmentUploadPath,null, item.FileName,item.FileName) %> <%= File(SettingGroup.VideoAttachmentUploadPath+item.ParentVideo.Guid+"/",null, item.PDFName,"PDF") %> <%= PDF2SWF(SettingGroup.VideoAttachmentUploadPath+item.ParentVideo.Guid+"/", item.SWFName,"SWF") %> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoAttachmentFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoAttachmentFileTypeEnum)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) %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </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