<%= new NavInstance(this) { Multithreading = true, CacheEnable = 60*60, }.Add(Define.Get("Client_教研互动"),WebUrl.Meeting()).ToHtml()%>
<%
if (this.MeetingLevel == null)
{
%>
<%= new HtmlAnchor("即将开展教研活动") {Href=WebUrl.Meeting(this.ListUrlParamWhere) }%>
<%
}
else
{
%>
<%= new HtmlAnchor("即将开展"+this.MeetingLevel.Name) { Href=WebUrl.Meeting(this.ListUrlParamWhere.AddOnly("ParentMeetingLevel",this.MeetingLevel.Guid)) }%>
<%
}
%>
<%
var meetingCount = CreateInstance.MeetingDao.AllCount();
if (meetingCount > 8)
{
if (this.MeetingLevel == null)
{
%>
<%= new HtmlAnchor("更多...") { Href = WebUrl.Meeting(this.ListUrlParamWhere) }%>
<%
}
else
{
%>
<%= new HtmlAnchor("更多...") { Href = WebUrl.Meeting(this.ListUrlParamWhere.AddOnly("ParentMeetingLevel", this.MeetingLevel.Guid)) }%>
<%
}
}
%>
<%
if (this.MeetingLevel == null)
{
%>
<%= new IndexMeetingByInstance(this) { Multithreading = true, CacheEnable = 60, ListUrlParam = this.ListUrlParamWhere, PageSize=10, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false }.ToHtml() %>
<%
}
else
{
%>
<%= new IndexMeetingByInstance(this) { Multithreading = true, CacheEnable = 60, ListUrlParam = this.ListUrlParamWhere, ParentMeetingLevel=this.MeetingLevel.Guid, PageSize=10, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false }.ToHtml() %>
<%
}
%>
<%
if (this.MeetingLevel == null)
{
%>
<%= new HtmlAnchor("教研互动重温") { Href=WebUrl.Meeting(this.ListUrlParamWhere.Add("Stale","1")) }%>
<%
}
else
{
%>
<%= new HtmlAnchor(this.MeetingLevel.Name+"重温") { Href=WebUrl.Meeting(this.ListUrlParamWhere.Add("Stale","1").AddOnly("ParentMeetingLevel",this.MeetingLevel.Guid)) }%>
<%
}
%>
<%
var meetingCount = CreateInstance.MeetingDao.AllCount();
if (meetingCount > 8)
{
if (this.MeetingLevel == null)
{
%>
<%= new HtmlAnchor("更多...") { Href=WebUrl.Meeting(this.ListUrlParamWhere.Add("Stale","1")) }%>
<%
}
else
{
%>
<%= new HtmlAnchor("更多...") { Href=WebUrl.Meeting(this.ListUrlParamWhere.Add("Stale","1").AddOnly("ParentMeetingLevel",this.MeetingLevel.Guid)) }%>
<%
}
}
%>