Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\STVideoScore\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STVideoScore.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 "STVideoScoreSTUserUserTrueName": //STVideoScore_STUserUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_STUser._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_STUserUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_STUser._User.TrueName") %> </span> </th> <% break; case "STVideoScoreVideoUserDomainName": //STVideoScore_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "STVideoScoreVideoUserDomainCode": //STVideoScore_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "STVideoScoreVideoUserUserTypeName": //STVideoScore_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "STVideoScoreVideoUserTrueName": //STVideoScore_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "STVideoScoreVideoUserUserName": //STVideoScore_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "STVideoScoreVideoName": //STVideoScore_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "STVideoScoreSTScoreItemName": //STVideoScore_STScoreItemName_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_STScoreItem.Name").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_STScoreItemName_?????").HtmlEncode() %> <%= OrderBy("_STScoreItem.Name") %> </span> </th> <% break; case "AllScore": //STVideoScore_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AllScore").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_???").HtmlEncode() %> <%= OrderBy("AllScore") %> </span> </th> <% break; case "Comment": //STVideoScore_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Comment").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_???").HtmlEncode() %> <%= OrderBy("Comment") %> </span> </th> <% break; case "VoiceComment": //STVideoScore_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VoiceComment").ToScriptTag() %>',event)"> <%= Define.Get("STVideoScore_?????????").HtmlEncode() %> <%= OrderBy("VoiceComment") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/STVideoScore/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 "STVideoScoreSTUserUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSTUser.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSTUser.ParentUser.TrueName", item) %> </span> </td> <% break; case "STVideoScoreVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "STVideoScoreVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "STVideoScoreVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "STVideoScoreVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "STVideoScoreVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "STVideoScoreVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "STVideoScoreSTScoreItemName": %> <td> <span title="<%= ViewData.Val("ParentSTScoreItem.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSTScoreItem.Name", item) %> </span> </td> <% break; case "AllScore": %> <td> <span title="<%= item.AllScore.ToString(string.Empty).ToScriptTag() %>"> <%= item.AllScore %> </span> </td> <% break; case "Comment": %> <td> <%= new HtmlSpan(item.Comment) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "VoiceComment": %> <td> <%= File(SettingGroup.STVideoScoreUploadPath, item.VoiceComment) %> <%= item.VoiceComment %> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de