Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\Search\SearchAlbumListInfo.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchAlbumList" %> <div class="videolist-heng"> <table class="table table-striped"> <tbody> <% foreach (var album in this.ListAlbum) { %> <tr> <td> <%= new HtmlAnchor( new HtmlImg(SettingGroup.AlbumCover(album), album.Name) { Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg} ) { Title = album.Name, Target = "_blank", Href = WebUrl.AlbumView(album.Guid) }%> </td> <td> <p class="ttle"> <%= new HtmlAnchor(WebUrl.Light(album.Name,this.SearchKeyWord)) { Title = album.Name, Target = "_blank", Href = WebUrl.AlbumView(album.Guid) }%> </p> <p class="viewcounts"> <%= new HtmlAnchor(WebUrl.Light(album.ParentUser.TrueName,this.SearchKeyWord)) { Href = WebUrl.Show(album.ParentUser.ParentUserType.ParentDomain.Code, album.ParentUser.UserName), Title = album.ParentUser.ParentUserType.ParentDomain.Name }%> </p> <% if (!string.IsNullOrEmpty(album.Description)) { %> <p class="v_desc video-info"> ????? <%= album.Description.ToFirstString(100,"...",true) %> </p> <% } %> <% var tagTitle = CreateInstance.AlbumTagDao.Where(l => l.ParentAlbum == album) .OrderBy(l => l.SortNumber) .ToList(); if (tagTitle != null && tagTitle.Count > 0) { %> <p class="v_desc video-tag"> ????? <% foreach (var tag in tagTitle) { %> <%= WebUrl.Light(tag.Title,this.SearchKeyWord) %> <% } %> </p> <div class="clear"></div> <% } %> </td> <td> <% var listAlbumVideo = CreateInstance.AlbumVideoDao.Where(l => l.ParentAlbum.Guid == album.Guid) .OrderBy(l => l.SortNumber) .ToList(); if (listAlbumVideo != null && listAlbumVideo.Count > 0) { %> <div class="p_videos video-info"> <ul class="video-dadian"> <% foreach (var albumVideo in listAlbumVideo) { var video = albumVideo.ParentVideo; %> <li>?? <%= new HtmlAnchor(WebUrl.Light(video.Name.ToFirstString(25, "...", true),this.SearchKeyWord)) { Target = "_blank", Href = WebUrl.AlbumPlay(album.Guid,video.Guid) }%> </li> <% } %> </ul> </div> <% } %> </td> </tr> <% } %> </tbody> </table> </div> <div class="pagination"> <ul> <% if (this.Query.PageIndex <= 1) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(1) }%> </li> <% } %> <% if (this.Query.PageIndex - 1 < 1) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%> </li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageIndex - 1) }%> </li> <% } %> <% int beginPageItem = (this.Query.PageIndex % 8 == 0 ? this.Query.PageIndex - 1 : this.Query.PageIndex) / 8 * 8 + 1; int endPageItem = beginPageItem + 8 - 1; if (endPageItem > this.Query.PageCount) { endPageItem = this.Query.PageCount; } if (beginPageItem > 1) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = this.GetPageUrl(beginPageItem - 1) }%> </li> <% } for (int i = beginPageItem; i <= endPageItem; i++) { if (i == this.Query.PageIndex) { %> <li class="active"> <%= new HtmlAnchor(i.ToString()) { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor(i.ToString()) { Href = this.GetPageUrl(i) }%> </li> <% } } if (endPageItem < this.Query.PageCount) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = this.GetPageUrl(endPageItem + 1) }%> </li> <% } %> <% if (this.Query.PageIndex + 1 > this.Query.PageCount) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageIndex + 1) }%> </li> <% } %> <% if (this.Query.PageIndex == this.Query.PageCount) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageCount) }%> </li> <% } %> </ul> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de