Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\PushFileDownload\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PushFileDownLoad.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 "PushType": //PushFileDownLoad_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PushType").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_???????").HtmlEncode() %> <%= OrderBy("PushType") %> </span> </th> <% break; case "FileType": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "PushFileDownLoadDomainName": //PushFileDownLoad_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "PushFileDownLoadDomainCode": //PushFileDownLoad_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "TargetGuid": //PushFileDownLoad_????????uid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TargetGuid").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_????????uid").HtmlEncode() %> <%= OrderBy("TargetGuid") %> </span> </th> <% break; case "Url": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Url").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("Url") %> </span> </th> <% break; case "CreateTime": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "QueueTime": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"QueueTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("QueueTime") %> </span> </th> <% break; case "StartTime": //PushFileDownLoad_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_???????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "Status": //PushFileDownLoad_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "Description": //PushFileDownLoad_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_???????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //PushFileDownLoad_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_?????").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/PushFileDownLoad/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></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "PushType": %> <td> <span title="<%= (item.PushType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadPushTypeEnum)item.PushType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.PushType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadPushTypeEnum)item.PushType).Define() : null %> </span> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "PushFileDownLoadDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> <nobr><%--<a href="<%=CreateInstance.DomainDao.Get(CookieGroup.DomainGuid).RouteWebSite %>/Tools/PushFileDownLoadStatus.aspx" target="_blank">??????????</a>--%> <%--<a href="http://localhost:15148/Tools/PushFileDownLoadStatus.aspx" target="_blank">??????????</a>--%> </nobr> </td> <% break; case "PushFileDownLoadDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "TargetGuid": %> <td> <span title="<%= item.TargetGuid.ToString(string.Empty).ToScriptTag() %>"> <%= item.TargetGuid %> </span> </td> <% break; case "Url": %> <td> <span title="<%= item.Url.ToString(string.Empty).ToScriptTag() %>"> <%= item.Url %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "QueueTime": %> <td> <span title="<%= item.QueueTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.QueueTime.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 "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "Description": %> <td> <span title="<%= item.Description.ToString(string.Empty).ToScriptTag() %>"> <%= item.Description %> </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