<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.HeaderData" %>
  • <%= new HtmlAnchor(Define.Get("首页")) { Title=Define.Get("Client_首页"),Href = WebUrl.Index() }%>
  • <% if (this.User != null && this.User.ParentUserType.LiveShow && SettingGroup.HasLive == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_在线直播")) { Title=Define.Get("Client_在线直播"), Href = WebUrl.LivePlay("") }%>
  • <% } else if (this.User == null && SettingGroup.Setting().LiveShow && SettingGroup.HasLive == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_在线直播")) {Title=Define.Get("Client_在线直播"), Href = WebUrl.LivePlay("") }%>
  • <% } %> <% 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.TextbookShow && SettingGroup.HasBook == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_网络晒课")) {Title=Define.Get("Client_网络晒课"), Href = WebUrl.Textbook() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().TextbookShow && SettingGroup.HasBook == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_网络晒课")) {Title=Define.Get("Client_网络晒课"), Href = WebUrl.Textbook() }%>
  • <% } %>
  • <%= new HtmlAnchor("专家讲座") {Title="专家讲座", Href = "album_ob1dcde.html" }%>
  • <%= new HtmlAnchor("教育专题") {Title="教育专题", Href = "album_o30a028.html" }%>
  • <%= new HtmlAnchor("培训学习") {Title="培训学习", Href = "album_o094da1.html" }%>
  • <%= new HtmlAnchor("科技影视") {Title="科技影视", Href = "album_o957764.html" }%>
  • <%= new HtmlAnchor("校园文艺") {Title="校园文艺", Href = "album_o18640d.html" }%>
  • <%--<% 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.WeikeShow && SettingGroup.HasWeike == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_微课广场")) {Title=Define.Get("Client_微课广场"), Href = WebUrl.Weike() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().WeikeShow && SettingGroup.HasWeike == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_微课广场")) {Title=Define.Get("Client_微课广场"), Href = WebUrl.Weike() }%>
  • <% } %> <% 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.MeetingShow && SettingGroup.HasMeeting == true) { %>
  • <%= new HtmlAnchor( Define.Get("Client_教研互动")) { Title=Define.Get("Client_教研互动"), Href = WebUrl.MeetingList() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().MeetingShow && SettingGroup.HasMeeting == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_教研互动")) { Title=Define.Get("Client_教研互动"), Href = WebUrl.MeetingList() }%>
  • <% } %> <% 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.Online() }%>
  • <% } 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.Online() }%>
  • <% } %> <%-- <% if (this.User != null && this.User.ParentUserType.SchoolShow && SettingGroup.HasDomain == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_学校列表")) {Title=Define.Get("Client_学校列表"), Href = WebUrl.School() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().SchoolShow && SettingGroup.HasDomain == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_学校列表")) {Title=Define.Get("Client_学校列表"), Href = WebUrl.School() }%>
  • <% } %> --%> <% if(SettingGroup.HasTeacherSpace) { %>
  • <%= new HtmlAnchor(Define.Get("Client_名师列表")) {Title=Define.Get("Client_名师列表"), Href = WebUrl.TeacherList() }%>
  • <% } %> <% if(CreateInstance.DomainDao.Count(l=>l.DomainType == (int)AVA.ResourcesPlatform.Model.Pub.DomainDomainTypeEnum.主平台 && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.DomainStatusEnum.有效)>0) { var parentDomain = CreateInstance.DomainDao.Where(l => l.DomainType == (int)AVA.ResourcesPlatform.Model.Pub.DomainDomainTypeEnum.主平台 && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.DomainStatusEnum.有效).First(); %>
  • <%= new HtmlAnchor("返回主平台") {Title="返回主平台", Href = parentDomain.RouteWebSite }%>
  • <% } %> <% if (this.User != null) { %>
  • <%= new HtmlAnchor(Define.Get("Client_个人空间")) { Title=Define.Get("Client_个人空间"),Href= WebUrl.My()}%>
  • <% } %>