<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.HeaderData" %>
  • <%= new HtmlAnchor(Define.Get("Client_首页")) { Href = WebUrl.Index() }%>
  • <% if (this.User != null && this.User.ParentUserType.LiveShow && SettingGroup.HasLive == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_在线直播")) { Href = SettingGroup.Setting().ShowApplicationBefore ? WebUrl.Live() : WebUrl.Room() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().LiveShow && SettingGroup.HasLive == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_在线直播")) { Href = SettingGroup.Setting().ShowApplicationBefore ? WebUrl.Live() : WebUrl.Room() }%>
  • <% } %> <% if (this.User != null && this.User.ParentUserType.VideoShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课点播")) { Href = WebUrl.Video() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().VideoShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课点播")) { Href = WebUrl.Video() }%>
  • <% } %> <% if (this.User != null && this.User.ParentUserType.TextbookShow && SettingGroup.HasBook == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_网络晒课")) { Href = WebUrl.Textbook() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().TextbookShow && SettingGroup.HasBook == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_网络晒课")) { Href = WebUrl.Textbook() }%>
  • <% } %> <% if (((this.User != null && this.User.ParentUserType.AlbumShow) || (this.User == null && SettingGroup.Setting().AlbumShow))) { //这里用专辑级别 foreach (var level in CreateInstance.AlbumLevelDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.AlbumLevelStatusEnum.有效) .OrderBy(l => l.SortNumber) .ToList()) { %>
  • <%= new HtmlAnchor(level.Name) { Href = WebUrl.Album(new List().AddOnly("ParentAlbumLevel",level.Guid)) }%>
  • <% } } %> <% if (this.User != null && this.User.ParentUserType.SubjectShow && SettingGroup.HasSubject == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课评比")) { Href = WebUrl.SubjectList() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().SubjectShow && SettingGroup.HasSubject == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_优课评比")) { Href = WebUrl.SubjectList() }%>
  • <% } %> <% if (this.User != null && this.User.ParentUserType.MeetingShow && SettingGroup.HasMeeting == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_教研互动")) { Href = WebUrl.MeetingList() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().MeetingShow && SettingGroup.HasMeeting == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_教研互动")) { Href = WebUrl.MeetingList() }%>
  • <% } %> <% if (this.User != null && this.User.ParentUserType.ShowOnline) { %>
  • <%= new HtmlAnchor(Define.Get("Client_校园直播")) { Href = SettingGroup.Setting().ClientMonitoring == false ? WebUrl.Online() : "?在这里是要启动视控客户端的" }%>
  • <% } else if (this.User == null && SettingGroup.Setting().OnlineShow) { %>
  • <%= new HtmlAnchor(Define.Get("Client_校园直播")) { Href = SettingGroup.Setting().ClientMonitoring == false ? WebUrl.Online() : "?在这里是要启动视控客户端的" }%>
  • <% } %> <%--<% if (this.User != null && this.User.ParentUserType.SchoolShow && SettingGroup.HasDomain == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_学校列表")) { Href = WebUrl.School() }%>
  • <% } else if (this.User == null && SettingGroup.Setting().SchoolShow && SettingGroup.HasDomain == true) { %>
  • <%= new HtmlAnchor(Define.Get("Client_学校列表")) { Href = WebUrl.School() }%>
  • <% } %>--%> <% if (this.User != null) { %>
  • <%= new HtmlAnchor(Define.Get("Client_个人空间")) { Href= WebUrl.My()}%>
  • <% } %>