<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.HeaderData" %>
  •  首页 <%--<%= new HtmlAnchor(new HtmlSpan(){Class="ico ico-home-ico"}+Define.Get("首页")) { Title=Define.Get("Client_首页"),Href = WebUrl.Index() }%>--%>
  • <% if (this.User != null && this.User.ParentUserType.VideoShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课点播")) { Title=Define.Get("Client_优课点播"), Href = WebUrl.Video(new List().AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.先置顶后推荐再播放量).ToString())) }%>
  • <% } else if (this.User == null && SettingGroup.Setting().VideoShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课点播")) {Title=Define.Get("Client_优课点播"), Href = WebUrl.Video(new List().AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.先置顶后推荐再播放量).ToString())) }%>
  • <% } %> <% if(this.User!=null&& (this.User.ParentUserType.PublicClassEnable || this.User.ParentUserType.PublicClassUserEnable) && SettingGroup.HasPublicClass) { %>
  • <%= new HtmlAnchor(Define.Get("Client_公开课")) {Title=Define.Get("Client_公开课"), Href = WebUrl.PublicClassList() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().PublicClassShow && SettingGroup.HasPublicClass) { %>
  • <%= new HtmlAnchor(Define.Get("Client_公开课")) {Title=Define.Get("Client_公开课"), Href = WebUrl.PublicClassList() }%>
  • <% } %> <% ////这里出货时加多一个实训讲座的一级专辑级别 //var albumLevel = CreateInstance.AlbumLevelDao.Where(l => l.Name == "实训讲座" && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.AlbumLevelStatusEnum.有效).FirstResult(); //if (albumLevel != null) //{ if (this.User != null && this.User.ParentUserType.AlbumShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_专辑资源")) {Title=Define.Get("Client_专辑资源"), Href = WebUrl.Album() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().AlbumShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_专辑资源")) {Title=Define.Get("Client_专辑资源"), Href = WebUrl.Album() }%>
  • <% } //} %> <% if (this.User != null && this.User.ParentUserType.SubjectShow && SettingGroup.HasSubject == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课评比")) {Title=Define.Get("Client_优课评比"), Href = WebUrl.SubjectList() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().SubjectShow && SettingGroup.HasSubject == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课评比")) {Title=Define.Get("Client_优课评比"), Href = WebUrl.SubjectList() }%>
  • <% } %> <% if (this.User != null && this.User.ParentUserType.ShowOnline && SettingGroup.HasLive == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_校园直播")) { Title = Define.Get("Client_校园直播"), Href = SettingGroup.Setting().ClientMonitoring == true && SettingGroup.HasVideoMonitoring == true ? WebUrl.CCPClient() : WebUrl.LivePlay("") }%>
  • <% } else if (this.User == null && SettingGroup.Setting().OnlineShow && SettingGroup.HasLive == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_校园直播")) { Title = Define.Get("Client_校园直播"), Href = SettingGroup.Setting().ClientMonitoring == true && SettingGroup.HasVideoMonitoring == true ? WebUrl.CCPClient() : WebUrl.LivePlay("") }%>
  • <% } %> <% if (this.User != null) { %>
  • <%= new HtmlAnchor(Define.Get("Client_个人空间")) { Title=Define.Get("Client_个人空间"),Href= WebUrl.My()}%>
  • <% } %>