%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchAlbumList" %>
<%= 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) }%> |
<%= new HtmlAnchor(WebUrl.Light(album.Name,this.SearchKeyWord)) { Title = album.Name, Target = "_blank", Href = WebUrl.AlbumView(album.Guid) }%> <%= 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 }%> <% if (!string.IsNullOrEmpty(album.Description)) { %>简介: <%= album.Description.ToFirstString(100,"...",true) %> <% } %> <% var tagTitle = CreateInstance.AlbumTagDao.Where(l => l.ParentAlbum == album) .OrderBy(l => l.SortNumber) .ToList(); if (tagTitle != null && tagTitle.Count > 0) { %>标签: <% foreach (var tag in tagTitle) { %> <%= WebUrl.Light(tag.Title,this.SearchKeyWord) %> <% } %> <% } %> |
<%
var listAlbumVideo = CreateInstance.AlbumVideoDao.Where(l => l.ParentAlbum.Guid == album.Guid)
.OrderBy(l => l.SortNumber)
.ToList();
if (listAlbumVideo != null && listAlbumVideo.Count > 0)
{
%>
|