%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchSubjectList" %>
<%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg} ) { Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid) }%> |
<%= new HtmlAnchor(WebUrl.Light(subject.Name,this.SearchKeyWord)) { Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid) }%> <%= new HtmlAnchor(WebUrl.Light(subject.ParentUser.TrueName,this.SearchKeyWord)) { Href = WebUrl.Show(subject.ParentUser.ParentUserType.ParentDomain.Code, subject.ParentUser.UserName), Title = subject.ParentUser.ParentUserType.ParentDomain.Name }%> <% if (!string.IsNullOrEmpty(subject.Description)) { %>简介: <%= subject.Description.ToFirstString(100,"...",true) %> <% } %> <% var tagTitle = CreateInstance.SubjectTagDao.Where(l => l.ParentSubject == subject) .OrderBy(l => l.SortNumber) .ToList(); if (tagTitle != null && tagTitle.Count > 0) { %>标签: <% foreach (var tag in tagTitle) { %> <%= WebUrl.Light(tag.Title,this.SearchKeyWord) %> <% } %> <% } %> |
<%
var listSubjectUser = CreateInstance.SubjectUserDao.Where(l => l.ParentSubject.Guid == subject.Guid)
.OrderBy(l => l.SortNumber)
.ToList();
if (listSubjectUser != null && listSubjectUser.Count > 0)
{
%>
参与人员:
<%
}
%>
|