Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\LLScoreItem\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.LLScoreItem.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 "LLScoreItemListenLessonName": //LLScoreItem_ListenLessonName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ListenLesson.Name").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_ListenLessonName_??????").HtmlEncode() %> <%= OrderBy("_ListenLesson.Name") %> </span> </th> <% break; case "LLScoreItemSTScoreTypeName": //LLScoreItem_STScoreTypeName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_STScoreType.Name").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_STScoreTypeName_??????").HtmlEncode() %> <%= OrderBy("_STScoreType.Name") %> </span> </th> <% break; case "Name": //LLScoreItem_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_?????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Description": //LLScoreItem_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "ScoreRatio": //LLScoreItem_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ScoreRatio").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_??????").HtmlEncode() %> <%= OrderBy("ScoreRatio") %> </span> </th> <% break; case "CreateTime": //LLScoreItem_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "SortNumber": //LLScoreItem_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("LLScoreItem_?????").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/LLScoreItem/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 "LLScoreItemListenLessonName": %> <td> <span title="<%= ViewData.Val("ParentListenLesson.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentListenLesson.Name", item) %> </span> </td> <% break; case "LLScoreItemSTScoreTypeName": %> <td> <span title="<%= ViewData.Val("ParentSTScoreType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSTScoreType.Name", item) %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ScoreRatio": %> <td> <span title="<%= item.ScoreRatio.ToString(string.Empty).ToScriptTag() %>"> <%= item.ScoreRatio %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </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