Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\ListenLesson\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ListenLesson.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 "Status": //ListenLesson_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "ListenLessonUserDomainName": //ListenLesson_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "ListenLessonUserDomainCode": //ListenLesson_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "ListenLessonUserUserTypeName": //ListenLesson_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "ListenLessonUserTrueName": //ListenLesson_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "ListenLessonUserUserName": //ListenLesson_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "ListenLessonCategoryName": //ListenLesson_CategoryName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_CategoryName_??????").HtmlEncode() %> <%= OrderBy("_Category.Name") %> </span> </th> <% break; case "Name": //ListenLesson_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "CreateTime": //ListenLesson_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "BeginTime": //ListenLesson_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"BeginTime").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_???????").HtmlEncode() %> <%= OrderBy("BeginTime") %> </span> </th> <% break; case "EndTime": //ListenLesson_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "Speaker": //ListenLesson_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Speaker").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_?????").HtmlEncode() %> <%= OrderBy("Speaker") %> </span> </th> <% break; case "Description": //ListenLesson_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "AllScore": //ListenLesson_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AllScore").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_???").HtmlEncode() %> <%= OrderBy("AllScore") %> </span> </th> <% break; case "SortNumber": //ListenLesson_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("ListenLesson_?????").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/ListenLesson/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 "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.ListenLessonStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.ListenLessonStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "ListenLessonUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "ListenLessonUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "ListenLessonUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "ListenLessonUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "ListenLessonUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "ListenLessonCategoryName": %> <td> <span title="<%= ViewData.Val("ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentCategory.Name", item) %> </span> </td> <% break; 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 "BeginTime": %> <td> <span title="<%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "Speaker": %> <td> <span title="<%= item.Speaker.ToString(string.Empty).ToScriptTag() %>"> <%= item.Speaker %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "AllScore": %> <td> <span title="<%= item.AllScore.ToString(string.Empty).ToScriptTag() %>"> <%= item.AllScore %> </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