Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\User\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.User.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": //User_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("User_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "UserDomainName": //User_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("User_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "UserDomainCode": //User_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("User_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "UserUserTypeName": //User_UserTypeName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("User_UserTypeName_??????").HtmlEncode() %> <%= OrderBy("_UserType.Name") %> </span> </th> <% break; case "UserName": //User_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"UserName").ToScriptTag() %>',event)"> <%= Define.Get("User_?????").HtmlEncode() %> <%= OrderBy("UserName") %> </span> </th> <% break; case "Password": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Password").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("Password") %> </span> </th> <% break; case "TrueName": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TrueName").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("TrueName") %> </span> </th> <% break; case "UserUnitName": //User_UnitName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Unit.Name").ToScriptTag() %>',event)"> <%= Define.Get("User_UnitName_??????").HtmlEncode() %> <%= OrderBy("_Unit.Name") %> </span> </th> <% break; case "Groups": //User_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Groups").ToScriptTag() %>',event)"> <%= Define.Get("User_????????").HtmlEncode() %> <%= OrderBy("Groups") %> </span> </th> <% break; case "IDCard": //User_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IDCard").ToScriptTag() %>',event)"> <%= Define.Get("User_????????").HtmlEncode() %> <%= OrderBy("IDCard") %> </span> </th> <% break; case "ICCard": //User_IC????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ICCard").ToScriptTag() %>',event)"> <%= Define.Get("User_IC?????").HtmlEncode() %> <%= OrderBy("ICCard") %> </span> </th> <% break; case "Telephone": //User_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Telephone").ToScriptTag() %>',event)"> <%= Define.Get("User_???").HtmlEncode() %> <%= OrderBy("Telephone") %> </span> </th> <% break; case "MobilePhone": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"MobilePhone").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("MobilePhone") %> </span> </th> <% break; case "Email": //User_Email %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Email").ToScriptTag() %>',event)"> <%= Define.Get("User_Email").HtmlEncode() %> <%= OrderBy("Email") %> </span> </th> <% break; case "MSN": //User_MSN %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"MSN").ToScriptTag() %>',event)"> <%= Define.Get("User_MSN").HtmlEncode() %> <%= OrderBy("MSN") %> </span> </th> <% break; case "QQ": //User_QQ %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"QQ").ToScriptTag() %>',event)"> <%= Define.Get("User_QQ").HtmlEncode() %> <%= OrderBy("QQ") %> </span> </th> <% break; case "Introduction": //User_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Introduction").ToScriptTag() %>',event)"> <%= Define.Get("User_???????").HtmlEncode() %> <%= OrderBy("Introduction") %> </span> </th> <% break; case "OtherContactWay": //User_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"OtherContactWay").ToScriptTag() %>',event)"> <%= Define.Get("User_?????????").HtmlEncode() %> <%= OrderBy("OtherContactWay") %> </span> </th> <% break; case "HeadPortrait": //User_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HeadPortrait").ToScriptTag() %>',event)"> <%= Define.Get("User_???").HtmlEncode() %> <%= OrderBy("HeadPortrait") %> </span> </th> <% break; case "CreateTime": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "LoginTime": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LoginTime").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("LoginTime") %> </span> </th> <% break; case "LoginOutTime": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LoginOutTime").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("LoginOutTime") %> </span> </th> <% break; case "LoginIP": //User_???IP %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LoginIP").ToScriptTag() %>',event)"> <%= Define.Get("User_???IP").HtmlEncode() %> <%= OrderBy("LoginIP") %> </span> </th> <% break; case "LastLoginTime": //User_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LastLoginTime").ToScriptTag() %>',event)"> <%= Define.Get("User_??????????").HtmlEncode() %> <%= OrderBy("LastLoginTime") %> </span> </th> <% break; case "LastLoginIP": //User_???????P %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LastLoginIP").ToScriptTag() %>',event)"> <%= Define.Get("User_???????P").HtmlEncode() %> <%= OrderBy("LastLoginIP") %> </span> </th> <% break; case "LoginCount": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LoginCount").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("LoginCount") %> </span> </th> <% break; case "Theme": //User_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Theme").ToScriptTag() %>',event)"> <%= Define.Get("User_???").HtmlEncode() %> <%= OrderBy("Theme") %> </span> </th> <% break; case "Remark": //User_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Remark").ToScriptTag() %>',event)"> <%= Define.Get("User_???").HtmlEncode() %> <%= OrderBy("Remark") %> </span> </th> <% break; case "AlbumCount": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AlbumCount").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("AlbumCount") %> </span> </th> <% break; case "VideoCount": //User_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoCount").ToScriptTag() %>',event)"> <%= Define.Get("User_??????").HtmlEncode() %> <%= OrderBy("VideoCount") %> </span> </th> <% break; case "SpaceView": //User_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SpaceView").ToScriptTag() %>',event)"> <%= Define.Get("User_????????").HtmlEncode() %> <%= OrderBy("SpaceView") %> </span> </th> <% break; case "VideoView": //User_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoView").ToScriptTag() %>',event)"> <%= Define.Get("User_????????").HtmlEncode() %> <%= OrderBy("VideoView") %> </span> </th> <% break; case "Verify": //User_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Verify").ToScriptTag() %>',event)"> <%= Define.Get("User_????").HtmlEncode() %> <%= OrderBy("Verify") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/User/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.TrueName.ToString(null).ToScriptTag() + "[" + item.UserName.ToString(null).ToScriptTag() + "]" %>");if (typeof (window.parent.window.GetTimeRange) != 'undefined') {window.parent.window.GetTimeRange(); };"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UserStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UserStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "UserDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> </td> <% break; case "UserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "UserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUserType.Name", item) %> </span> </td> <% break; case "UserName": %> <td> <span title="<%= item.UserName.ToString(string.Empty).ToScriptTag() %>"> <%= item.UserName %> </span> </td> <% break; case "Password": %> <td> <span title="<%= item.Password.ToString(string.Empty).ToScriptTag() %>"> <%= item.Password %> </span> </td> <% break; case "TrueName": %> <td> <span title="<%= item.TrueName.ToString(string.Empty).ToScriptTag() %>"> <%= item.TrueName %> </span> </td> <% break; case "UserUnitName": %> <td> <span title="<%= ViewData.Val("ParentUnit.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUnit.Name", item) %> </span> </td> <% break; case "Groups": %> <td> <span title="<%= item.Groups.ToString(string.Empty).ToScriptTag() %>"> <%= item.Groups %> </span> </td> <% break; case "IDCard": %> <td> <span title="<%= item.IDCard.ToString(string.Empty).ToScriptTag() %>"> <%= item.IDCard %> </span> </td> <% break; case "ICCard": %> <td> <span title="<%= item.ICCard.ToString(string.Empty).ToScriptTag() %>"> <%= item.ICCard %> </span> </td> <% break; case "Telephone": %> <td> <span title="<%= item.Telephone.ToString(string.Empty).ToScriptTag() %>"> <%= item.Telephone %> </span> </td> <% break; case "MobilePhone": %> <td> <span title="<%= item.MobilePhone.ToString(string.Empty).ToScriptTag() %>"> <%= item.MobilePhone %> </span> </td> <% break; case "Email": %> <td> <span title="<%= item.Email.ToString(string.Empty).ToScriptTag() %>"> <%= item.Email %> </span> </td> <% break; case "MSN": %> <td> <span title="<%= item.MSN.ToString(string.Empty).ToScriptTag() %>"> <%= item.MSN %> </span> </td> <% break; case "QQ": %> <td> <span title="<%= item.QQ.ToString(string.Empty).ToScriptTag() %>"> <%= item.QQ %> </span> </td> <% break; case "Introduction": %> <td> <%= new HtmlSpan(item.Introduction) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "OtherContactWay": %> <td> <span title="<%= item.OtherContactWay.ToString(string.Empty).ToScriptTag() %>"> <%= item.OtherContactWay %> </span> </td> <% break; case "HeadPortrait": %> <td> <%= IMG(SettingGroup.UserUploadPath, item.HeadPortrait) %> <%= item.HeadPortrait %> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.CreateTime %> </span> </td> <% break; case "LoginTime": %> <td> <span title="<%= item.LoginTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.LoginTime %> </span> </td> <% break; case "LoginOutTime": %> <td> <span title="<%= item.LoginOutTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.LoginOutTime %> </span> </td> <% break; case "LoginIP": %> <td> <span title="<%= item.LoginIP.ToString(string.Empty).ToScriptTag() %>"> <%= item.LoginIP %> </span> </td> <% break; case "LastLoginTime": %> <td> <span title="<%= item.LastLoginTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.LastLoginTime %> </span> </td> <% break; case "LastLoginIP": %> <td> <span title="<%= item.LastLoginIP.ToString(string.Empty).ToScriptTag() %>"> <%= item.LastLoginIP %> </span> </td> <% break; case "LoginCount": %> <td> <span title="<%= item.LoginCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.LoginCount %> </span> </td> <% break; case "Theme": %> <td> <span title="<%= item.Theme.ToString(string.Empty).ToScriptTag() %>"> <%= item.Theme %> </span> </td> <% break; case "Remark": %> <td> <%= new HtmlSpan(item.Remark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "AlbumCount": %> <td> <span title="<%= item.AlbumCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.AlbumCount %> </span> </td> <% break; case "VideoCount": %> <td> <span title="<%= item.VideoCount.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoCount %> </span> </td> <% break; case "SpaceView": %> <td> <span title="<%= item.SpaceView.ToString(string.Empty).ToScriptTag() %>"> <%= item.SpaceView %> </span> </td> <% break; case "VideoView": %> <td> <span title="<%= item.VideoView.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoView %> </span> </td> <% break; case "Verify": %> <td> <span title="<%= item.Verify.ToString(string.Empty).ToScriptTag() %>"> <%= item.Verify != null ? ((AVA.ResourcesPlatform.Model.Pub.UserVerifyEnum)item.Verify).Define() : null %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de