Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\VideoWeike\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoWeike.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 "VideoWeikeVideoUserDomainName": //VideoWeike_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "VideoWeikeVideoUserDomainCode": //VideoWeike_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "VideoWeikeVideoUserUserTypeName": //VideoWeike_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "VideoWeikeVideoUserTrueName": //VideoWeike_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "VideoWeikeVideoUserUserName": //VideoWeike_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "VideoWeikeVideoName": //VideoWeike_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "Title": //VideoWeike_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Title").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_??????").HtmlEncode() %> <%= OrderBy("Title") %> </span> </th> <% break; case "CreateTime": //VideoWeike_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "VideoBefor": //VideoWeike_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoBefor").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_???").HtmlEncode() %> <%= OrderBy("VideoBefor") %> </span> </th> <% break; case "VideoAfter": //VideoWeike_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoAfter").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_???").HtmlEncode() %> <%= OrderBy("VideoAfter") %> </span> </th> <% break; case "Cutout": //VideoWeike_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cutout").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_??????").HtmlEncode() %> <%= OrderBy("Cutout") %> </span> </th> <% break; case "SHDStatus": //VideoWeike_?????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_??????????????").HtmlEncode() %> <%= OrderBy("SHDStatus") %> </span> </th> <% break; case "SHDStartTime": //VideoWeike_?????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_??????????????").HtmlEncode() %> <%= OrderBy("SHDStartTime") %> </span> </th> <% break; case "SHDEndTime": //VideoWeike_????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDEndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_?????????????????").HtmlEncode() %> <%= OrderBy("SHDEndTime") %> </span> </th> <% break; case "SHDDescript": //VideoWeike_?????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SHDDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_??????????????").HtmlEncode() %> <%= OrderBy("SHDDescript") %> </span> </th> <%--<% break; case "HDStatus": //VideoWeike_????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_?????????????").HtmlEncode() %> <%= OrderBy("HDStatus") %> </span> </th> <% break; case "HDStartTime": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("HDStartTime") %> </span> </th> <% break; case "HDEndTime": //VideoWeike_??????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDEndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_???????????????").HtmlEncode() %> <%= OrderBy("HDEndTime") %> </span> </th> <% break; case "HDDescript": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"HDDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("HDDescript") %> </span> </th> <% break; case "NRStatus": //VideoWeike_????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_?????????????").HtmlEncode() %> <%= OrderBy("NRStatus") %> </span> </th> <% break; case "NRStartTime": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("NRStartTime") %> </span> </th> <% break; case "NREndTime": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NREndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("NREndTime") %> </span> </th> <% break; case "NRDescript": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"NRDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("NRDescript") %> </span> </th> <% break; case "LWStatus": //VideoWeike_????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWStatus").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_?????????????").HtmlEncode() %> <%= OrderBy("LWStatus") %> </span> </th> <% break; case "LWStartTime": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWStartTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("LWStartTime") %> </span> </th> <% break; case "LWEndTime": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWEndTime").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("LWEndTime") %> </span> </th> <% break; case "LWDescript": //VideoWeike_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LWDescript").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_????????????").HtmlEncode() %> <%= OrderBy("LWDescript") %> </span> </th>--%> <% break; case "Description": //VideoWeike_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("VideoWeike_?????????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/VideoWeike/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 "VideoWeikeVideoUserDomainName": %> <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 "VideoWeikeVideoUserDomainCode": %> <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 "VideoWeikeVideoUserUserTypeName": %> <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 "VideoWeikeVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "VideoWeikeVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "VideoWeikeVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "Title": %> <td> <span title="<%= item.Title.ToString(string.Empty).ToScriptTag() %>"> <%= item.Title %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "VideoBefor": %> <td> <%= File(SettingGroup.VideoWeikeUploadPath, item.Guid, item.VideoBefor) %> <%= item.VideoBefor %> </td> <% break; case "VideoAfter": %> <td> <%= File(SettingGroup.VideoWeikeUploadPath, item.Guid, item.VideoAfter) %> <%= item.VideoAfter %> </td> <% break; case "Cutout": %> <td> <span title="<%= item.Cutout.ToString(string.Empty).ToScriptTag() %>"> <%= item.Cutout %> </span> </td> <% break; case "SHDStatus": %> <td> <span title="<%= item.SHDStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.SHDStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoWeikeStatus)item.SHDStatus).Define() : null %> </span> </td> <% break; case "SHDStartTime": %> <td> <span title="<%= item.SHDStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.SHDStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SHDEndTime": %> <td> <span title="<%= item.SHDEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.SHDEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SHDDescript": %> <td> <%= new HtmlSpan(item.SHDDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <%--<% break; case "HDStatus": %> <td> <span title="<%= item.HDStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.HDStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoWeikeStatus)item.HDStatus).Define() : null %> </span> </td> <% break; case "HDStartTime": %> <td> <span title="<%= item.HDStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.HDStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "HDEndTime": %> <td> <span title="<%= item.HDEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.HDEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "HDDescript": %> <td> <%= new HtmlSpan(item.HDDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "NRStatus": %> <td> <span title="<%= item.NRStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.NRStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoWeikeStatus)item.NRStatus).Define() : null %> </span> </td> <% break; case "NRStartTime": %> <td> <span title="<%= item.NRStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.NRStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "NREndTime": %> <td> <span title="<%= item.NREndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.NREndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "NRDescript": %> <td> <%= new HtmlSpan(item.NRDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "LWStatus": %> <td> <span title="<%= item.LWStatus.ToString(string.Empty).ToScriptTag() %>"> <%= item.LWStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoWeikeStatus)item.LWStatus).Define() : null %> </span> </td> <% break; case "LWStartTime": %> <td> <span title="<%= item.LWStartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.LWStartTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "LWEndTime": %> <td> <span title="<%= item.LWEndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.LWEndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "LWDescript": %> <td> <%= new HtmlSpan(item.LWDescript) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td>--%> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de