Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\LLUserFile\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.LLUserFile.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 "LLUserFileLLUserUserUserName": //LLUserFile_LLUserUserUserName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LLUser._User.UserName").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_LLUserUserUserName_????????").HtmlEncode() %> <%= OrderBy("_LLUser._User.UserName") %> </span> </th> <% break; case "LLUserFileLLUserGuid": //LLUserFile_LLUserGuid_Guid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LLUser.Guid").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_LLUserGuid_Guid").HtmlEncode() %> <%= OrderBy("_LLUser.Guid") %> </span> </th> <% break; case "LLUserFileLLApplicationListenLessonName": //LLUserFile_LLApplicationListenLessonName_?????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LLApplication._ListenLesson.Name").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_LLApplicationListenLessonName_??????????????").HtmlEncode() %> <%= OrderBy("_LLApplication._ListenLesson.Name") %> </span> </th> <% break; case "LLUserFileLLApplicationGuid": //LLUserFile_LLApplicationGuid_Guid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_LLApplication.Guid").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_LLApplicationGuid_Guid").HtmlEncode() %> <%= OrderBy("_LLApplication.Guid") %> </span> </th> <% break; case "Name": //LLUserFile_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "FileType": //LLUserFile_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_??????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "FileName": //LLUserFile_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileName").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_?????").HtmlEncode() %> <%= OrderBy("FileName") %> </span> </th> <% break; case "FileSize": //LLUserFile_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileSize").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_??????").HtmlEncode() %> <%= OrderBy("FileSize") %> </span> </th> <% break; case "Description": //LLUserFile_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "Commnt": //LLUserFile_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Commnt").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_???").HtmlEncode() %> <%= OrderBy("Commnt") %> </span> </th> <% break; case "CreateTime": //LLUserFile_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "SortNumber": //LLUserFile_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("LLUserFile_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/LLUserFile/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 "LLUserFileLLUserUserUserName": %> <td> <span title="<%= ViewData.Val("ParentLLUser.ParentUser.UserName", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLLUser.ParentUser.UserName", item) %> </span> </td> <% break; case "LLUserFileLLUserGuid": %> <td> <span title="<%= ViewData.Val("ParentLLUser.Guid", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLLUser.Guid", item) %> </span> </td> <% break; case "LLUserFileLLApplicationListenLessonName": %> <td> <span title="<%= ViewData.Val("ParentLLApplication.ParentListenLesson.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLLApplication.ParentListenLesson.Name", item) %> </span> </td> <% break; case "LLUserFileLLApplicationGuid": %> <td> <span title="<%= ViewData.Val("ParentLLApplication.Guid", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentLLApplication.Guid", item) %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.LLUserFileFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.LLUserFileFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "FileName": %> <td> <%= File(SettingGroup.LLUserFileUploadPath, item.FileName) %> <%= item.FileName %> </td> <% break; case "FileSize": %> <td> <span title="<%= item.FileSize.ToString(string.Empty).ToScriptTag() %>"> <%= item.FileSize %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "Commnt": %> <td> <%= new HtmlSpan(item.Commnt) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de