Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Tag\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Tag.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 "Name": //Tag_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Tag_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "CreateTime": //Tag_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("Tag_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "TagType": //Tag_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TagType").ToScriptTag() %>',event)"> <%= Define.Get("Tag_??????").HtmlEncode() %> <%= OrderBy("TagType") %> </span> </th> <% break; case "IsRecommend": //Tag_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsRecommend").ToScriptTag() %>',event)"> <%= Define.Get("Tag_??????").HtmlEncode() %> <%= OrderBy("IsRecommend") %> </span> </th> <% break; case "TagCategoryName": //Tag_CategoryName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("Tag_CategoryName_??????").HtmlEncode() %> <%= OrderBy("_Category.Name") %> </span> </th> <% break; case "SortNumber": //Tag_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Tag_?????").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/Tag/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 "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "TagType": %> <td> <span title="<%= (item.TagType != null ? ((AVA.ResourcesPlatform.Model.Pub.TagTagTypeEnum)item.TagType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.TagType != null ? ((AVA.ResourcesPlatform.Model.Pub.TagTagTypeEnum)item.TagType).Define() : null %> </span> </td> <% break; case "IsRecommend": %> <td> <span title="<%= (item.IsRecommend != null ? ((AVA.ResourcesPlatform.Model.Pub.TagIsRecommendEnum)item.IsRecommend).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.IsRecommend != null ? ((AVA.ResourcesPlatform.Model.Pub.TagIsRecommendEnum)item.IsRecommend).Define() : null %> </span> </td> <% break; case "TagCategoryName": %> <td> <span title="<%= ViewData.Val("ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentCategory.Name", item) %> </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