%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.HeaderData" %>
<%
if (this.User != null && this.User.ParentUserType.VideoShow)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().VideoShow)
{
%>
<%
}
%>
<%
if(this.User!=null&& (this.User.ParentUserType.PublicClassEnable || this.User.ParentUserType.PublicClassUserEnable) && SettingGroup.HasPublicClass)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().PublicClassShow && SettingGroup.HasPublicClass)
{
%>
<%
}
%>
<%
////这里出货时加多一个实训讲座的一级专辑级别
//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)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().AlbumShow)
{
%>
<%
}
//}
%>
<%
if (this.User != null && this.User.ParentUserType.SubjectShow && SettingGroup.HasSubject == true)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().SubjectShow && SettingGroup.HasSubject == true)
{
%>
<%
}
%>
<% if (this.User != null && this.User.ParentUserType.ShowOnline && SettingGroup.HasLive == true)
{ %>
<%
}
else if (this.User == null && SettingGroup.Setting().OnlineShow && SettingGroup.HasLive == true)
{
%>
<% } %>
<%
if (this.User != null)
{
%>
<%
}
%>