Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\RecordVideo\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordVideo.Select1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1"> </th> <% foreach (var field in this.Fields) { switch (field) { case "RecordVideoRecordEquipmentDomainName": //RecordVideo_RecordEquipmentDomainName_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_RecordEquipmentDomainName_????????????").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> </span> </th> <% break; case "RecordVideoRecordEquipmentDomainCode": //RecordVideo_RecordEquipmentDomainCode_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_RecordEquipmentDomainCode_????????????").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> </span> </th> <% break; case "RecordVideoRecordEquipmentName": //RecordVideo_RecordEquipmentName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_RecordEquipmentName_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> </span> </th> <% break; case "RecordVideoPlaySaveServerName": //RecordVideo_PlaySaveServerName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PlaySaveServer.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_PlaySaveServerName_????????").HtmlEncode() %> <%= OrderBy("_PlaySaveServer.Name") %> </span> </th> <% break; case "IsHDVideo": //RecordVideo_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsHDVideo").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_????????????").HtmlEncode() %> <%= OrderBy("IsHDVideo") %> </span> </th> <% break; case "RecordVideoApplicationRecordEquipmentDomainName": //RecordVideo_ApplicationRecordEquipmentDomainName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainName_?????????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> </span> </th> <% break; case "RecordVideoApplicationRecordEquipmentDomainCode": //RecordVideo_ApplicationRecordEquipmentDomainCode_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainCode_?????????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> </span> </th> <% break; case "RecordVideoApplicationRecordEquipmentName": //RecordVideo_ApplicationRecordEquipmentName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Application._RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentName_?????????").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> </span> </th> <% break; case "RecordVideoUserDomainName": //RecordVideo_UserDomainName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_UserDomainName_?????????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "RecordVideoUserDomainCode": //RecordVideo_UserDomainCode_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_UserDomainCode_?????????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "RecordVideoUserUserTypeName": //RecordVideo_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "RecordVideoUserTrueName": //RecordVideo_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "RecordVideoUserUserName": //RecordVideo_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "FileName": //RecordVideo_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_????????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "FileType": //RecordVideo_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_?????????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "DownloadStatus": //RecordVideo_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DownloadStatus").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_??????????").HtmlEncode() %> <%= OrderBy("DownloadStatus") %> </span> </th> <% break; case "DownloadDescription": //RecordVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DownloadDescription").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_??????").HtmlEncode() %> <%= OrderBy("DownloadDescription") %> </span> </th> <% break; case "RecID": //RecordVideo_???RecID %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecID").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_???RecID").HtmlEncode() %> <%= OrderBy("RecID") %> </span> </th> <% break; case "FileSize": //RecordVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "ExtType": //RecordVideo_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ExtType").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_???????????").HtmlEncode() %> <%= OrderBy("ExtType") %> </span> </th> <% break; case "StartTime": //RecordVideo_????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_?????????????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //RecordVideo_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_????????????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "RecLen": //RecordVideo_????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecLen").ToScriptTag() %>',event)"> <%= Define.Get("RecordVideo_?????????????????").HtmlEncode() %> <%= OrderBy("RecLen") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/RecordVideo/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Name.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "RecordVideoRecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> </span> </td> <% break; case "RecordVideoRecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> </span> </td> <% break; case "RecordVideoRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "RecordVideoPlaySaveServerName": %> <td> <span title="<%= ViewData.Val("ParentPlaySaveServer.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPlaySaveServer.Name", item) %> </span> </td> <% break; case "IsHDVideo": %> <td> <span title="<%= item.IsHDVideo.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsHDVideo %> </span> </td> <% break; case "RecordVideoApplicationRecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> </span> </td> <% break; case "RecordVideoApplicationRecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> </span> </td> <% break; case "RecordVideoApplicationRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "RecordVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "RecordVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "RecordVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "RecordVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "RecordVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "FileName": %> <td> <%= File(SettingGroup.RecordVideoUploadPath, item.FileName) %> <%= item.FileName %> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "DownloadStatus": %> <td> <span title="<%= (item.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum)item.DownloadStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum)item.DownloadStatus).Define() : null %> </span> </td> <% break; case "DownloadDescription": %> <td> <span title="<%= item.DownloadDescription.ToString(string.Empty).ToScriptTag() %>"> <%= item.DownloadDescription %> </span> </td> <% break; case "RecID": %> <td> <span title="<%= item.RecID.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecID %> </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 "ExtType": %> <td> <span title="<%= (item.ExtType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoExtTypeEnum)item.ExtType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ExtType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoExtTypeEnum)item.ExtType).Define() : null %> </span> </td> <% break; case "StartTime": %> <td> <span title="<%= item.StartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "RecLen": %> <td> <span title="<%= item.RecLen.ToString(string.Empty).ToScriptTag() %>"> <%= AVA.ResourcesPlatform.Config.Helper.SecondToTime(item.RecLen.ToDouble()) %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de