Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Notice\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Notice.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 "Status": //Notice_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Notice_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "NoticeDomainName": //Notice_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("Notice_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "NoticeDomainCode": //Notice_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("Notice_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "Title": //Notice_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Title").ToScriptTag() %>',event)"> <%= Define.Get("Notice_???").HtmlEncode() %> <%= OrderBy("Title") %> </span> </th> <% break; case "AddTime": //Notice_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AddTime").ToScriptTag() %>',event)"> <%= Define.Get("Notice_??????").HtmlEncode() %> <%= OrderBy("AddTime") %> </span> </th> <% break; case "ActiveBeginDate": //Notice_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ActiveBeginDate").ToScriptTag() %>',event)"> <%= Define.Get("Notice_???????").HtmlEncode() %> <%= OrderBy("ActiveBeginDate") %> </span> </th> <% break; case "ActiveEndDate": //Notice_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ActiveEndDate").ToScriptTag() %>',event)"> <%= Define.Get("Notice_??????").HtmlEncode() %> <%= OrderBy("ActiveEndDate") %> </span> </th> <% break; case "Type": //Notice_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Type").ToScriptTag() %>',event)"> <%= Define.Get("Notice_??????").HtmlEncode() %> <%= OrderBy("Type") %> </span> </th> <% break; case "SortNumber": //Notice_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Notice_?????").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/Notice/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="<%= Request.WebPath() +"/Pub/Notice" %>/edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.NoticeStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.NoticeStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "NoticeDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> </td> <% break; case "NoticeDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "Title": %> <td> <span title="<%= item.Title.ToString(string.Empty).ToScriptTag() %>"> <%= item.Title %> </span> </td> <% break; case "AddTime": %> <td> <span title="<%= item.AddTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.AddTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "ActiveBeginDate": %> <td> <span title="<%= item.ActiveBeginDate.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ActiveBeginDate.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "ActiveEndDate": %> <td> <span title="<%= item.ActiveEndDate.ToDateTimeN().ToAutoShortDate() %>"> <%= item.ActiveEndDate.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "Type": %> <td> <span title="<%= (item.Type != null ? ((AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum)item.Type).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Type != null ? ((AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum)item.Type).Define() : null %> </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