%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.HeaderData" %>
<%
}
else if (this.User == null && SettingGroup.Setting().LiveShow && SettingGroup.HasLive == true)
{
%>
<%
}
%>
<%
if (this.User != null && this.User.ParentUserType.VideoShow)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().VideoShow)
{
%>
<%
}
%>
<%
if (this.User != null && this.User.ParentUserType.TextbookShow && SettingGroup.HasBook == true)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().TextbookShow && SettingGroup.HasBook == true)
{
%>
<%
}
%>
<%
if (this.User != null && this.User.ParentUserType.AlbumShow)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().AlbumShow)
{
%>
<%
}
%>
<%
if (this.User != null && this.User.ParentUserType.WeikeShow && SettingGroup.HasWeike == true)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().WeikeShow && SettingGroup.HasWeike == true)
{
%>
<%
}
%>
<%
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.MeetingShow && SettingGroup.HasMeeting == true)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().MeetingShow && SettingGroup.HasMeeting == 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 && this.User.ParentUserType.SchoolShow && SettingGroup.HasDomain == true)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().SchoolShow && SettingGroup.HasDomain == true)
{
%>
<%
}
%>
<%
if(SettingGroup.HasTeacherSpace)
{
%>
<%
}
%>
<%
if(this.User!=null&&this.User.ParentUserType.PublicClassEnable && SettingGroup.HasST)
{
%>
<%
}
else if (this.User == null && SettingGroup.Setting().PublicClassShow && SettingGroup.HasST)
{
%>
<%
}
%>
<%
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();
%>
<%
}
%>
<%
if (this.User != null)
{
%>
<%
}
%>