Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\SubjectVideo\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectVideo.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 "SubjectVideoSubjectUserDomainName": //SubjectVideo_SubjectUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_SubjectUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> </span> </th> <% break; case "SubjectVideoSubjectUserDomainCode": //SubjectVideo_SubjectUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_SubjectUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> </span> </th> <% break; case "SubjectVideoSubjectUserUserTypeName": //SubjectVideo_SubjectUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_SubjectUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> </span> </th> <% break; case "SubjectVideoSubjectUserUserName": //SubjectVideo_SubjectUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_SubjectUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> </span> </th> <% break; case "SubjectVideoSubjectUserTrueName": //SubjectVideo_SubjectUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_SubjectUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> </span> </th> <% break; case "SubjectVideoSubjectName": //SubjectVideo_SubjectName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Subject.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_SubjectName_?????????").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> </span> </th> <% break; case "SubjectVideoVideoUserDomainName": //SubjectVideo_VideoUserDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_VideoUserDomainName_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> </span> </th> <% break; case "SubjectVideoVideoUserDomainCode": //SubjectVideo_VideoUserDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_VideoUserDomainCode_??????").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> </span> </th> <% break; case "SubjectVideoVideoUserUserTypeName": //SubjectVideo_VideoUserUserTypeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_VideoUserUserTypeName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> </span> </th> <% break; case "SubjectVideoVideoUserTrueName": //SubjectVideo_VideoUserTrueName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_VideoUserTrueName_?????????").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> </span> </th> <% break; case "SubjectVideoVideoUserUserName": //SubjectVideo_VideoUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_VideoUserUserName_????????").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> </span> </th> <% break; case "SubjectVideoVideoName": //SubjectVideo_VideoName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Video.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_VideoName_??????").HtmlEncode() %> <%= OrderBy("_Video.Name") %> </span> </th> <% break; case "SubmissionSubjectVideoUserDomainName": //SubmissionSubjectVideo_UserDomainName_Submission?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectVideo_UserDomainName_Submission??????").HtmlEncode() %> <%= OrderBy("_SubmissionUser._Domain.Name") %> </span> </th> <% break; case "SubmissionSubjectVideoUserDomainCode": //SubmissionSubjectVideo_UserDomainCode_Submission?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectVideo_UserDomainCode_Submission??????").HtmlEncode() %> <%= OrderBy("_SubmissionUser._Domain.Code") %> </span> </th> <% break; case "SubmissionSubjectVideoUserUserTypeName": //SubmissionSubjectVideo_UserUserTypeName_Submission????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser._UserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectVideo_UserUserTypeName_Submission?????????").HtmlEncode() %> <%= OrderBy("_SubmissionUser._UserType.Name") %> </span> </th> <% break; case "SubmissionSubjectVideoUserTrueName": //SubmissionSubjectVideo_UserTrueName_Submission?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser.TrueName").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectVideo_UserTrueName_Submission??????").HtmlEncode() %> <%= OrderBy("_SubmissionUser.TrueName") %> </span> </th> <% break; case "SubmissionSubjectVideoUserUserName": //SubmissionSubjectVideo_UserUserName_Submission????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_SubmissionUser.UserName").ToScriptTag() %>',event)"> <%= Define.Get("SubmissionSubjectVideo_UserUserName_Submission?????").HtmlEncode() %> <%= OrderBy("_SubmissionUser.UserName") %> </span> </th> <% break; case "SubmissionTime": //SubjectVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubmissionTime").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_??????").HtmlEncode() %> <%= OrderBy("SubmissionTime") %> </span> </th> <% break; case "SubmissionRemark": //SubjectVideo_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubmissionRemark").ToScriptTag() %>',event)"> <%= Define.Get("SubjectVideo_??????").HtmlEncode() %> <%= OrderBy("SubmissionRemark") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/SubjectVideo/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 "SubjectVideoSubjectUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item) %> </span> </td> <% break; case "SubjectVideoSubjectUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item) %> </span> </td> <% break; case "SubjectVideoSubjectUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item) %> </span> </td> <% break; case "SubjectVideoSubjectUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> </span> </td> <% break; case "SubjectVideoSubjectUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubject.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> </span> </td> <% break; case "SubjectVideoSubjectName": %> <td> <span title="<%= ViewData.Val("ParentSubject.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubject.Name", item) %> </span> </td> <% break; case "SubjectVideoVideoUserDomainName": %> <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 "SubjectVideoVideoUserDomainCode": %> <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 "SubjectVideoVideoUserUserTypeName": %> <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 "SubjectVideoVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> </span> </td> <% break; case "SubjectVideoVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentVideo.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> </span> </td> <% break; case "SubjectVideoVideoName": %> <td> <span title="<%= ViewData.Val("ParentVideo.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentVideo.Name", item) %> </span> </td> <% break; case "SubmissionSubjectVideoUserDomainName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.ParentDomain.Name", item) %> </span> </td> <% break; case "SubmissionSubjectVideoUserDomainCode": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.ParentDomain.Code", item) %> </span> </td> <% break; case "SubmissionSubjectVideoUserUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.ParentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.ParentUserType.Name", item) %> </span> </td> <% break; case "SubmissionSubjectVideoUserTrueName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.TrueName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.TrueName", item) %> </span> </td> <% break; case "SubmissionSubjectVideoUserUserName": %> <td> <span title="<%= ViewData.Val("ParentSubmissionUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentSubmissionUser.UserName", item) %> </span> </td> <% break; case "SubmissionTime": %> <td> <span title="<%= item.SubmissionTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.SubmissionTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SubmissionRemark": %> <td> <%= new HtmlSpan(item.SubmissionRemark) { 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