Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\DomainUpload\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.DomainUpload.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 "DomainUploadDomainName": //DomainUpload_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "DomainUploadDomainCode": //DomainUpload_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "TagDomainUploadDomainName": //TagDomainUpload_DomainName_Tag?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_TagDomain._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("TagDomainUpload_DomainName_Tag??????").HtmlEncode() %> <%= OrderBy("_TagDomain.Name") %> </span> </th> <% break; case "TagDomainUploadDomainCode": //TagDomainUpload_DomainCode_Tag?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_TagDomain._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("TagDomainUpload_DomainCode_Tag??????").HtmlEncode() %> <%= OrderBy("_TagDomain.Code") %> </span> </th> <% break; case "CreateTime": //DomainUpload_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "DomainUploadVideoUserDomainName": //DomainUpload_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "DomainUploadVideoUserDomainCode": //DomainUpload_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "DomainUploadVideoUserUserTypeName": //DomainUpload_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "DomainUploadVideoUserTrueName": //DomainUpload_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "DomainUploadVideoUserUserName": //DomainUpload_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "DomainUploadVideoName": //DomainUpload_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "UploadStatus": //DomainUpload_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"UploadStatus").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_????").HtmlEncode() %> <%= OrderBy("UploadStatus") %> </span> </th> <% break; case "UploadDescription": //DomainUpload_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"UploadDescription").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_??????").HtmlEncode() %> <%= OrderBy("UploadDescription") %> </span> </th> <% break; case "StartTime": //DomainUpload_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_??????????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //DomainUpload_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("DomainUpload_?????????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/DomainUpload/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Guid.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "DomainUploadDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> </td> <% break; case "DomainUploadDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "TagDomainUploadDomainName": %> <td> <span title="<%= ViewData.Val("ParentTagDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTagDomain.Name", item) %> </span> </td> <% break; case "TagDomainUploadDomainCode": %> <td> <span title="<%= ViewData.Val("ParentTagDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTagDomain.Code", item) %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "DomainUploadVideoUserDomainName": %> <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 "DomainUploadVideoUserDomainCode": %> <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 "DomainUploadVideoUserUserTypeName": %> <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 "DomainUploadVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "DomainUploadVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "DomainUploadVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "UploadStatus": %> <td> <span title="<%= (item.UploadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainUploadUploadStatusEnum)item.UploadStatus).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.UploadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainUploadUploadStatusEnum)item.UploadStatus).Define() : null %> </span> </td> <% break; case "UploadDescription": %> <td> <%= new HtmlSpan(item.UploadDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "StartTime": %> <td> <span title="<%= item.StartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de