Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\UserType\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UserType.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": //UserType_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("UserType_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "Name": //UserType_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("UserType_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "IsManager": //UserType_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsManager").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????????").HtmlEncode() %> <%= OrderBy("IsManager") %> </span> </th> <% break; case "SetGroupEnable": //UserType_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SetGroupEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_???????????").HtmlEncode() %> <%= OrderBy("SetGroupEnable") %> </span> </th> <% break; case "AlbumEnable": //UserType_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AlbumEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????????").HtmlEncode() %> <%= OrderBy("AlbumEnable") %> </span> </th> <% break; case "ExamineAlbum": //UserType_???????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ExamineAlbum").ToScriptTag() %>',event)"> <%= Define.Get("UserType_????????????????").HtmlEncode() %> <%= OrderBy("ExamineAlbum") %> </span> </th> <% break; case "AlbumShare": //UserType_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AlbumShare").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????????").HtmlEncode() %> <%= OrderBy("AlbumShare") %> </span> </th> <% break; case "VideoEnable": //UserType_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????????").HtmlEncode() %> <%= OrderBy("VideoEnable") %> </span> </th> <% break; case "ExamineVideo": //UserType_???????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ExamineVideo").ToScriptTag() %>',event)"> <%= Define.Get("UserType_????????????????").HtmlEncode() %> <%= OrderBy("ExamineVideo") %> </span> </th> <% break; case "MeetingEnable": //UserType_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"MeetingEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_????????????").HtmlEncode() %> <%= OrderBy("MeetingEnable") %> </span> </th> <% break; case "ExamineMeeting": //UserType_??????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ExamineMeeting").ToScriptTag() %>',event)"> <%= Define.Get("UserType_???????????????????").HtmlEncode() %> <%= OrderBy("ExamineMeeting") %> </span> </th> <% break; case "PublicClassEnable": //UserType_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PublicClassEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_????????").HtmlEncode() %> <%= OrderBy("PublicClassEnable") %> </span> </th> <% break; case "ExaminePublicClass": //UserType_??????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ExaminePublicClass").ToScriptTag() %>',event)"> <%= Define.Get("UserType_???????????").HtmlEncode() %> <%= OrderBy("ExaminePublicClass") %> </span> <% break; case "Description": //UserType_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("UserType_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "STEnable": //UserType_??????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"STEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_???????????????????").HtmlEncode() %> <%= OrderBy("STEnable") %> </span> </th> <% break; case "StudentEbable": //UserType_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StudentEbable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_??????").HtmlEncode() %> <%= OrderBy("StudentEbable") %> </span> </th> <% break; case "TeacherEbable": //UserType_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TeacherEbable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_??????").HtmlEncode() %> <%= OrderBy("TeacherEbable") %> </span> </th> <% break; case "HeadMasterEnable": //UserType_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HeadMasterEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_??????").HtmlEncode() %> <%= OrderBy("HeadMasterEnable") %> </span> </th> <% break; case "InstructorEnable": //UserType_????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"InstructorEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????????????").HtmlEncode() %> <%= OrderBy("InstructorEnable") %> </span> </th> <% break; case "ExpertPanelEnable": //UserType_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ExpertPanelEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????????").HtmlEncode() %> <%= OrderBy("ExpertPanelEnable") %> </span> </th> <% break; case "GreateTeacherEnable": //UserType_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"GreateTeacherEnable").ToScriptTag() %>',event)"> <%= Define.Get("UserType_????????").HtmlEncode() %> <%= OrderBy("GreateTeacherEnable") %> </span> </th> <% break; case "ListenLesson": //UserType_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ListenLesson").ToScriptTag() %>',event)"> <%= Define.Get("UserType_??????????").HtmlEncode() %> <%= OrderBy("ListenLesson") %> </span> </th> <% break; case "SortNumber": //UserType_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("UserType_?????").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/UserType/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.UserTypeStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "IsManager": %> <td> <span title="<%= (item.IsManager != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum)item.IsManager).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.IsManager != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum)item.IsManager).Define() : null %> </span> </td> <% break; case "SetGroupEnable": %> <td> <span title="<%= item.SetGroupEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.SetGroupEnable ? "??" : "??" %> </span> </td> <% break; case "AlbumEnable": %> <td> <span title="<%= item.AlbumEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.AlbumEnable ? "??" : "??" %> </span> </td> <% break; case "ExamineAlbum": %> <td> <span title="<%= item.ExamineAlbum.ToString(string.Empty).ToScriptTag() %>"> <%= item.ExamineAlbum ? "??" : "??" %> </span> </td> <% break; case "AlbumShare": %> <td> <span title="<%= item.AlbumShare.ToString(string.Empty).ToScriptTag() %>"> <%= item.AlbumShare ? "??" : "??" %> </span> </td> <% break; case "VideoEnable": %> <td> <span title="<%= item.VideoEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoEnable ? "??" : "??" %> </span> </td> <% break; case "ExamineVideo": %> <td> <span title="<%= item.ExamineVideo.ToString(string.Empty).ToScriptTag() %>"> <%= item.ExamineVideo ? "??" : "??" %> </span> </td> <% break; case "MeetingEnable": %> <td> <span title="<%= item.MeetingEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.MeetingEnable ? "??" : "??" %> </span> </td> <% break; case "ExamineMeeting": %> <td> <span title="<%= item.ExamineMeeting.ToString(string.Empty).ToScriptTag() %>"> <%= item.ExamineMeeting ? "??" : "??" %> </span> </td> <% break; case "PublicClassEnable": %> <td> <span title="<%= item.PublicClassEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.PublicClassEnable %> </span> </td> <% break; case "ExaminePublicClass": %> <td> <span title="<%= item.ExaminePublicClass.ToString(string.Empty).ToScriptTag() %>"> <%= item.ExaminePublicClass %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "STEnable": %> <td> <span title="<%= item.STEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.STEnable ? "??" : "??" %> </span> </td> <% break; case "StudentEbable": %> <td> <span title="<%= item.StudentEbable.ToString(string.Empty).ToScriptTag() %>"> <%= item.StudentEbable ? "??" : "??" %> </span> </td> <% break; case "TeacherEbable": %> <td> <span title="<%= item.TeacherEbable.ToString(string.Empty).ToScriptTag() %>"> <%= item.TeacherEbable ? "??" : "??" %> </span> </td> <% break; case "HeadMasterEnable": %> <td> <span title="<%= item.HeadMasterEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.HeadMasterEnable ? "??" : "??" %> </span> </td> <% break; case "InstructorEnable": %> <td> <span title="<%= item.InstructorEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.InstructorEnable ? "??" : "??" %> </span> </td> <% break; case "ExpertPanelEnable": %> <td> <span title="<%= item.ExpertPanelEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.ExpertPanelEnable ? "??" : "??" %> </span> </td> <% break; case "GreateTeacherEnable": %> <td> <span title="<%= item.GreateTeacherEnable.ToString(string.Empty).ToScriptTag() %>"> <%= item.GreateTeacherEnable ? "??" : "??" %> </span> </td> <% break; case "ListenLesson": %> <td> <span title="<%= item.ListenLesson.ToString(string.Empty).ToScriptTag() %>"> <%= item.ListenLesson ? "??" : "??" %> </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