<%= new IndexVideoByInstance(this) { PageSize = 6, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl = "/Index/IndexVideoByHotDay" }.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 HtmlAnchor("AVA播放器 AVAPlayer.zip") { Href= Request.WebPath() + "/Resource/AVAPlayer.zip"}%>
  • <%= new HtmlAnchor("VLC插件(Windows)") { Href= Request.WebPath() + "/Resource/FBVLCPlayer.zip"}%>
  • <%= new HtmlAnchor("VLC插件(Mac)") { Href= Request.WebPath() + "/Resource/FBVLC.plugin.dmg.zip"}%>
  • <%= new HtmlAnchor("VLC播放器(Android)") { Href= Request.WebPath() + "/Resource/VLCAndroid.apk"}%>
  • <%= new HtmlAnchor("Silverlight插件") { Href= Request.WebPath() + "/Resource/Silverlight.zip"}%>
  • <%= new HtmlAnchor("教研互动客户端") { Href= Request.WebPath() + "/Resource/AVAMeeting.zip"}%>
  • <%= new HtmlAnchor("用户说明书") { Href= Request.WebPath() + "/Resource/用户说明书.pdf"}%>
<% if (SettingGroup.HasDomain == false && 1 == 2) { //没有平台说明是列当前学校的 //取出第一个显示,基本显示在第二个 var firstUserType = CreateInstance.UserTypeDao.Where(l => 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("最新专辑") { 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=WebUrl.Video()}%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Video() }%>
    <% var listChannel = CreateInstance.ChannelDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.ChannelStatusEnum.有效 && l.ParentChannel == null) .OrderBy(l => l.SortNumber) .ToList(); %> <% foreach (var channel in listChannel) { %>
  • <%= new HtmlAnchor(channel.Name) { Title = channel.Name, Target = "_blank", Href = "video_o"+channel.Guid+".html" }%>
  • <% } %>
  •  
  •  
  •  
  •  
<%-- <% 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()%>
<% } } %> --%>
<%= new FooterInstance(this) { }.ToHtml() %>