Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\ApplicationApply\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationApply.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 "ApplyStatus": //ApplicationApply_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyStatus").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???????").HtmlEncode() %> <%= OrderBy("ApplyStatus") %> </span> </th> <% break; case "ApplicationApplyUserUserName": //ApplicationApply_UserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_UserUserName_????????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "ApplyTime": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplyTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("ApplyTime") %> </span> </th> <% break; case "DomainCode": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DomainCode").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("DomainCode") %> </span> </th> <% break; case "RecordEquipmentName": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecordEquipmentName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("RecordEquipmentName") %> </span> </th> <% break; case "UserName": //ApplicationApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"UserName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????").HtmlEncode() %> <%= OrderBy("UserName") %> </span> </th> <% break; case "ApplicationDate": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplicationDate").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("ApplicationDate") %> </span> </th> <% break; case "StartTime": //ApplicationApply_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "CreateTime": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "Cover": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "Description": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "NumberOfPeople": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NumberOfPeople").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("NumberOfPeople") %> </span> </th> <% break; case "Speaker": //ApplicationApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Speaker").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????").HtmlEncode() %> <%= OrderBy("Speaker") %> </span> </th> <% break; case "Title": //ApplicationApply_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Title").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???").HtmlEncode() %> <%= OrderBy("Title") %> </span> </th> <% break; case "Share": //ApplicationApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Share").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %> <%= OrderBy("Share") %> </span> </th> <% break; case "GradeName": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"GradeName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("GradeName") %> </span> </th> <% break; case "DownloadAllRecord": //ApplicationApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DownloadAllRecord").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %> <%= OrderBy("DownloadAllRecord") %> </span> </th> <% break; case "DownloadDateTime": //ApplicationApply_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DownloadDateTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????????").HtmlEncode() %> <%= OrderBy("DownloadDateTime") %> </span> </th> <% break; case "ViewPassword": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ViewPassword").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("ViewPassword") %> </span> </th> <% break; case "CategoryName": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CategoryName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("CategoryName") %> </span> </th> <% break; case "AlbumName": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AlbumName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("AlbumName") %> </span> </th> <% break; case "LessionName": //ApplicationApply_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LessionName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????").HtmlEncode() %> <%= OrderBy("LessionName") %> </span> </th> <% break; case "ChannelName": //ApplicationApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ChannelName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %> <%= OrderBy("ChannelName") %> </span> </th> <% break; case "Chatper": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Chatper").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("Chatper") %> </span> </th> <% break; case "NeetLoginToLive": //ApplicationApply_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NeetLoginToLive").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????????").HtmlEncode() %> <%= OrderBy("NeetLoginToLive") %> </span> </th> <% break; case "IsHDVideo": //ApplicationApply_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsHDVideo").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????????").HtmlEncode() %> <%= OrderBy("IsHDVideo") %> </span> </th> <% break; case "IPAddress": //ApplicationApply_???IP??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IPAddress").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???IP???").HtmlEncode() %> <%= OrderBy("IPAddress") %> </span> </th> <% break; case "WebPort": //ApplicationApply_???Web??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"WebPort").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???Web???").HtmlEncode() %> <%= OrderBy("WebPort") %> </span> </th> <% break; case "ProgramID": //ApplicationApply_???ID %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ProgramID").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???ID").HtmlEncode() %> <%= OrderBy("ProgramID") %> </span> </th> <% break; case "RecordPort": //ApplicationApply_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecordPort").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????").HtmlEncode() %> <%= OrderBy("RecordPort") %> </span> </th> <% break; case "LoginName": //ApplicationApply_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LoginName").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????").HtmlEncode() %> <%= OrderBy("LoginName") %> </span> </th> <% break; case "Password": //ApplicationApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Password").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %> <%= OrderBy("Password") %> </span> </th> <% break; case "ProductVersion": //ApplicationApply_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ProductVersion").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_??????").HtmlEncode() %> <%= OrderBy("ProductVersion") %> </span> </th> <% break; case "IsAgentHD": //ApplicationApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsAgentHD").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %> <%= OrderBy("IsAgentHD") %> </span> </th> <% break; case "ApplicationAttachment": //ApplicationApply_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplicationAttachment").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????????").HtmlEncode() %> <%= OrderBy("ApplicationAttachment") %> </span> </th> <% break; case "PushNo": //ApplicationApply_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PushNo").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_???????").HtmlEncode() %> <%= OrderBy("PushNo") %> </span> </th> <% break; case "SubDomainCode": //ApplicationApply_????????Guid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubDomainCode").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????Guid").HtmlEncode() %> <%= OrderBy("SubDomainCode") %> </span> </th> <% break; case "ApplicationFileURL": //ApplicationApply_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ApplicationFileURL").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_????????????").HtmlEncode() %> <%= OrderBy("ApplicationFileURL") %> </span> </th> <% break; case "SortNumber": //ApplicationApply_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationApply_?????").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/ApplicationApply/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Title.ToString(null).ToScriptTag() %>");"> </td> <% foreach (var field in this.Fields) { switch (field) { case "ApplyStatus": %> <td> <span title="<%= (item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationApplyApplyStatusEnum)item.ApplyStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ApplyStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationApplyApplyStatusEnum)item.ApplyStatus).Define() : null %> </span> </td> <% break; case "ApplicationApplyUserUserName": %> <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 "DomainCode": %> <td> <span title="<%= item.DomainCode.ToString(string.Empty).ToScriptTag() %>"> <%= item.DomainCode %> </span> </td> <% break; case "RecordEquipmentName": %> <td> <span title="<%= item.RecordEquipmentName.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecordEquipmentName %> </span> </td> <% break; case "UserName": %> <td> <span title="<%= item.UserName.ToString(string.Empty).ToScriptTag() %>"> <%= item.UserName %> </span> </td> <% break; case "ApplicationDate": %> <td> <span title="<%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %> </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 "CreateTime": %> <td> <span title="<%= item.CreateTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.CreateTime %> </span> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.ApplicationApplyUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "NumberOfPeople": %> <td> <span title="<%= item.NumberOfPeople.ToString(string.Empty).ToScriptTag() %>"> <%= item.NumberOfPeople %> </span> </td> <% break; case "Speaker": %> <td> <span title="<%= item.Speaker.ToString(string.Empty).ToScriptTag() %>"> <%= item.Speaker %> </span> </td> <% break; case "Title": %> <td> <span title="<%= item.Title.ToString(string.Empty).ToScriptTag() %>"> <%= item.Title %> </span> </td> <% break; case "Share": %> <td> <span title="<%= item.Share.ToString(string.Empty).ToScriptTag() %>"> <%= item.Share %> </span> </td> <% break; case "GradeName": %> <td> <span title="<%= item.GradeName.ToString(string.Empty).ToScriptTag() %>"> <%= item.GradeName %> </span> </td> <% break; case "DownloadAllRecord": %> <td> <span title="<%= item.DownloadAllRecord.ToString(string.Empty).ToScriptTag() %>"> <%= item.DownloadAllRecord %> </span> </td> <% break; case "DownloadDateTime": %> <td> <span title="<%= item.DownloadDateTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.DownloadDateTime %> </span> </td> <% break; case "ViewPassword": %> <td> <span title="<%= item.ViewPassword.ToString(string.Empty).ToScriptTag() %>"> <%= item.ViewPassword %> </span> </td> <% break; case "CategoryName": %> <td> <span title="<%= item.CategoryName.ToString(string.Empty).ToScriptTag() %>"> <%= item.CategoryName %> </span> </td> <% break; case "AlbumName": %> <td> <span title="<%= item.AlbumName.ToString(string.Empty).ToScriptTag() %>"> <%= item.AlbumName %> </span> </td> <% break; case "LessionName": %> <td> <span title="<%= item.LessionName.ToString(string.Empty).ToScriptTag() %>"> <%= item.LessionName %> </span> </td> <% break; case "ChannelName": %> <td> <span title="<%= item.ChannelName.ToString(string.Empty).ToScriptTag() %>"> <%= item.ChannelName %> </span> </td> <% break; case "Chatper": %> <td> <span title="<%= item.Chatper.ToString(string.Empty).ToScriptTag() %>"> <%= item.Chatper %> </span> </td> <% break; case "NeetLoginToLive": %> <td> <span title="<%= item.NeetLoginToLive.ToString(string.Empty).ToScriptTag() %>"> <%= item.NeetLoginToLive %> </span> </td> <% break; case "IsHDVideo": %> <td> <span title="<%= item.IsHDVideo.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsHDVideo %> </span> </td> <% break; case "IPAddress": %> <td> <span title="<%= item.IPAddress.ToString(string.Empty).ToScriptTag() %>"> <%= item.IPAddress %> </span> </td> <% break; case "WebPort": %> <td> <span title="<%= item.WebPort.ToString(string.Empty).ToScriptTag() %>"> <%= item.WebPort %> </span> </td> <% break; case "ProgramID": %> <td> <span title="<%= item.ProgramID.ToString(string.Empty).ToScriptTag() %>"> <%= item.ProgramID %> </span> </td> <% break; case "RecordPort": %> <td> <span title="<%= item.RecordPort.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecordPort %> </span> </td> <% break; case "LoginName": %> <td> <span title="<%= item.LoginName.ToString(string.Empty).ToScriptTag() %>"> <%= item.LoginName %> </span> </td> <% break; case "Password": %> <td> <span title="<%= item.Password.ToString(string.Empty).ToScriptTag() %>"> <%= item.Password %> </span> </td> <% break; case "ProductVersion": %> <td> <span title="<%= (item.ProductVersion != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationApplyProductVersionEnum)item.ProductVersion).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ProductVersion != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationApplyProductVersionEnum)item.ProductVersion).Define() : null %> </span> </td> <% break; case "IsAgentHD": %> <td> <span title="<%= item.IsAgentHD.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsAgentHD %> </span> </td> <% break; case "ApplicationAttachment": %> <td> <span title="<%= item.ApplicationAttachment.ToString(string.Empty).ToScriptTag() %>"> <%= item.ApplicationAttachment %> </span> </td> <% break; 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 "ApplicationFileURL": %> <td> <span title="<%= item.ApplicationFileURL.ToString(string.Empty).ToScriptTag() %>"> <%= item.ApplicationFileURL %> </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