Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Comment\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Comment.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": //Comment_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Comment_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "CommentUserDomainName": //Comment_UserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("Comment_UserDomainName_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> </span> </th> <% break; case "CommentUserDomainCode": //Comment_UserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("Comment_UserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> </span> </th> <% break; case "CommentUserUserTypeName": //Comment_UserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("Comment_UserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> </span> </th> <% break; case "CommentUserTrueName": //Comment_UserTrueName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("Comment_UserTrueName_??????").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> </span> </th> <% break; case "CommentUserUserName": //Comment_UserUserName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("Comment_UserUserName_?????").HtmlEncode() %> <%= OrderBy("_User.UserName") %> </span> </th> <% break; case "TargetType": //Comment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TargetType").ToScriptTag() %>',event)"> <%= Define.Get("Comment_??????").HtmlEncode() %> <%= OrderBy("TargetType") %> </span> </th> <%--<% break; case "TargetGuid": // Comment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TargetGuid").ToScriptTag() %>',event)"> <%= Define.Get("Comment_??????").HtmlEncode() %> <%= OrderBy("TargetGuid") %> </span> </th>--%> <% break; case "Title": //Comment_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Title").ToScriptTag() %>',event)"> <%= Define.Get("Comment_???").HtmlEncode() %> <%= OrderBy("Title") %> </span> </th> <% break; case "CommentText": //Comment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CommentText").ToScriptTag() %>',event)"> <%= Define.Get("Comment_??????").HtmlEncode() %> <%= OrderBy("CommentText") %> </span> </th> <% break; case "IP": //Comment_IP %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IP").ToScriptTag() %>',event)"> <%= Define.Get("Comment_IP").HtmlEncode() %> <%= OrderBy("IP") %> </span> </th> <% break; case "CreateTime": //Comment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("Comment_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "Media": //Comment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Media").ToScriptTag() %>',event)"> <%= Define.Get("Comment_??????").HtmlEncode() %> <%= OrderBy("Media") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/Comment/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Title.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.CommentStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.CommentStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "CommentUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "CommentUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "CommentUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "CommentUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> </span> </td> <% break; case "CommentUserUserName": %> <td> <span title="<%= ViewData.Val("ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUser.UserName", item) %> </span> </td> <% break; case "TargetType": %> <td> <span title="<%= item.TargetType.ToString(string.Empty).ToScriptTag() %>"> <% if (item.TargetType == "Video") { %>???<% } else if (item.TargetType == "Application") { %>???<% } else if (item.TargetType == "Meeting") { %>???<% } else if (item.TargetType == "Subject") { %>???<% } else if (item.TargetType == "VideoAskReplay") { %>??????<% } else if (item.TargetType == "Album") { %>???<% } else if (item.TargetType == "VideoAsk") { %>???<% } else if (item.TargetType == "PublicClass") { %>?????<% } else { %><%= item.TargetType %><% } %> </span> </td> <%--<% break; case "TargetGuid": %> <td> <span title="<%= item.TargetGuid.ToString(string.Empty).ToScriptTag() %>"> <%= item.TargetGuid %> </span> </td>--%> <% break; case "Title": %> <td> <span title="<%= item.Title.ToString(string.Empty).ToScriptTag() %>"> <%= item.Title %> </span> </td> <% break; case "CommentText": %> <td> <span title="<%= item.CommentText.ToString(string.Empty).ToScriptTag() %>"> <%= item.CommentText %> </span> </td> <% break; case "IP": %> <td> <span title="<%= item.IP.ToString(string.Empty).ToScriptTag() %>"> <%= item.IP %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.CreateTime %> </span> </td> <% break; case "Media": %> <td> <%= File(SettingGroup.CommentUploadPath, item.Media) %> <%= item.Media %> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de