<%= new NavInstance(this) { CacheEnable = 60*60, }.Add(Define.Get("Client_优课评比"),WebUrl.Subject()).Add(this.Subject.Name,null).ToHtml()%>
<%= new SubjectViewInfoInstance(this) { }.ToHtml()%><%--这里不能用缓存,因为里面有取用户数据--%>
<%= new SubjectViewVideoInstance(this) { CacheEnable = 60, }.ToHtml() %> <%if (this.Subject._ListSubjectAlbum.Count > 0) { %> <% =new SubjectViewAlbumInstance(this) { CacheEnable = 60, }.ToHtml()%> <% } %> <%if (this.Subject._ListSubjectMeeting.Count > 0) { %> <% =new SubjectViewMeetingInstance(this) { CacheEnable = 60, }.ToHtml()%> <% } %> <%if (this.Subject._ListSubjectApplication.Count > 0) { %> <% =new SubjectViewApplicationInstance(this) { CacheEnable = 60, }.ToHtml()%> <% } %>
<%= new SubjectViewVideoInstance(this) { CacheEnable = 60, }.ToHtml() %> <%if (this.Subject._ListSubjectAlbum.Count > 0) { %> <% =new SubjectViewAlbumInstance(this) { CacheEnable = 60, }.ToHtml()%> <% } %> <%if (this.Subject._ListSubjectMeeting.Count > 0) { %> <% =new SubjectViewMeetingInstance(this) { CacheEnable = 60, }.ToHtml()%> <% } %> <%if (this.Subject._ListSubjectApplication.Count > 0) { %> <% =new SubjectViewApplicationInstance(this) { CacheEnable = 60, }.ToHtml()%> <% } %>
<%= new CommentAddInstance(this) { TargetType = "Subject", TargetGuid = this.Subject.Guid }.ToHtml()%>
<%= new CommentListInstance(this) { TargetType = "Subject", TargetGuid = this.Subject.Guid }.ToHtml()%>
<%if(this.Subject._ListSubjectAttachment.Count>0)
{
%>
<%= new SubjectViewAttachmentInstance(this) { CacheEnable = 60, }.ToHtml() %>
<%
}
%>
<%if(this.Subject._ListSTAward.Count>0)
{
%>
<%= new SubjectViewSTAwardInstance(this) { CacheEnable = 60, }.ToHtml() %>
<%
}
%>
<%if(CreateInstance.STfinallyScoreDao.Count(l=>l.ParentSTAward.ParentSubject == this.Subject)>0)
{
%>
<%= new SubjectViewSTfinallyScoreInstance(this) { CacheEnable = 60, }.ToHtml() %>
<%
}
%>
<%if(this.Subject._ListSTUser.Count>0)
{
%>
<%= new SubjectViewSTUserInstance(this) { CacheEnable = 60, }.ToHtml() %>
<%
}
%>
<%= new SubjectViewSubjectUserInstance(this) {CacheEnable = 60, }.ToHtml() %>