<%= new IndexAlbumByInstance(this) { PageSize = 6, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl = "/Index/IndexAlbumByHotDay" }.ToHtml()%>
<%= new HtmlAnchor("更多...") { Href = WebUrl.NoticeList() }%>
<%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%>
更多>> <%--= new HtmlAnchor(Define.Get("Client_课程表...")) { Href = WebUrl.Live() }--%>
<%--= new IndexLiveByInstance(this) { PageSize=12, StartTime=DateTime.Now.Date,EndTime=DateTime.Now.Date.AddDays(1) }.ToHtml()--%> <%= new SimpleTemplateInstance(this) { TransferControl="/Template/SimpleTemplateRecommendVideo_little" }.ToHtml()%>
<% if (SettingGroup.HasDomain == false) { //没有平台说明是列当前学校的 //取出第一个显示,基本显示在第二个 var firstUserType = CreateInstance.UserTypeDao.Where(l => l.ParentDomain.Guid == CookieGroup.DomainGuid && l.IsManager == (int)AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum.否 && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.UserTypeStatusEnum.有效) .OrderBy(l => l.SortNumber) .Take(1) .ToList() .FirstResult(); if (firstUserType != null) { %>
<%= new HtmlAnchor(firstUserType.Name + "专辑") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=8,ParentUserType = firstUserType.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量 }.ToHtml() %>
<% } } else { //列平台的 %>
<%= new HtmlAnchor("最新专辑") { Class="blue", Href=WebUrl.Album() }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl="/Index/IndexAlbumByHot" }.ToHtml() %>
<% } %>
<%= new HtmlAnchor("教育视频列表") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Video() }%>
<%= new IndexVideoByInstance(this) { PageSize=8, TransferControl="/Index/IndexVideoByHot" }.ToHtml() %>
<%-- <% if (SettingGroup.HasSubject == true) { if (this.UserCode == null || CreateInstance.UserDao.Get(this.UserCode).ParentUserType.Name == "学生") { }else{ %>
<%= new HtmlAnchor(Define.Get("Client_优课评比研究")) { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Subject() }%>
<%= new IndexSubjectByInstance(this) { PageSize=8, ParentIsNull = true, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
<% } } %> <% if (SettingGroup.HasMeeting == true) { if (this.UserCode == null || CreateInstance.UserDao.Get(this.UserCode).ParentUserType.Name == "学生") { }else{ %>
<%= new HtmlAnchor(Define.Get("Client_教研互动")) { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Meeting() }%>
<%= new IndexMeetingByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false }.ToHtml() %>
<% } } %> <% if (SettingGroup.HasLive == true) { if (this.UserCode == null || CreateInstance.UserDao.Get(this.UserCode).ParentUserType.Name == "学生") { }else{ %>
<%= new HtmlAnchor(Define.Get("Client_直播课堂")) { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Live() }%>
<%= new IndexLiveByInstance(this) { PageSize = 8 }.ToHtml()%>
<% } } %> --%> <%--名师专辑--%> <% var albumLevel = CreateInstance.AlbumLevelDao.Get("9bbb656dcbf04062b2494d675d687e57"); if (albumLevel != null) { %>
<%= new HtmlAnchor(albumLevel.Name + "专辑") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=10, ParentAlbumLevel = albumLevel.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量 ,TransferControl="/Index/IndexAlbumOnlyPhotoBy" }.ToHtml() %>
<% } %>