Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\Control\HeaderData.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.HeaderData" %> <li class='<%= this.HeaderItem == HeaderItem.Index ? "active" : "" %>'> <a href="<%=WebUrl.Index() %>"><span class=""></span> ???</a> <%--<%= new HtmlAnchor(new HtmlSpan(){Class="ico ico-home-ico"}+Define.Get("???")) { Title=Define.Get("Client_???"),Href = WebUrl.Index() }%>--%></li> <% if (this.User != null && this.User.ParentUserType.VideoShow) { %> <li class='<%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title=Define.Get("Client_??????"), Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.???????????????).ToString())) }%></li> <% } else if (this.User == null && SettingGroup.Setting().VideoShow) { %> <li class='<%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) {Title=Define.Get("Client_??????"), Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.???????????????).ToString())) }%></li> <% } %> <% if(this.User!=null&& (this.User.ParentUserType.PublicClassEnable || this.User.ParentUserType.PublicClassUserEnable) && SettingGroup.HasPublicClass) { %> <li class='<%= this.HeaderItem == HeaderItem.PublicClass ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_?????")) {Title=Define.Get("Client_?????"), Href = WebUrl.PublicClassList() }%></li> <% } else if (this.User == null && SettingGroup.Setting().PublicClassShow && SettingGroup.HasPublicClass) { %> <li class='<%= this.HeaderItem == HeaderItem.PublicClass ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_?????")) {Title=Define.Get("Client_?????"), Href = WebUrl.PublicClassList() }%></li> <% } %> <% ////??????????????????????????????? //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) { %> <li class='<%= this.HeaderItem == HeaderItem.AlbumShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) {Title=Define.Get("Client_??????"), Href = WebUrl.Album() }%></li> <% } else if (this.User == null && SettingGroup.Setting().AlbumShow) { %> <li class='<%= this.HeaderItem == HeaderItem.AlbumShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) {Title=Define.Get("Client_??????"), Href = WebUrl.Album() }%></li> <% } //} %> <% if (this.User != null && this.User.ParentUserType.SubjectShow && SettingGroup.HasSubject == true) { %> <li class='<%= this.HeaderItem == HeaderItem.SubjectShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) {Title=Define.Get("Client_??????"), Href = WebUrl.SubjectList() }%></li> <% } else if (this.User == null && SettingGroup.Setting().SubjectShow && SettingGroup.HasSubject == true) { %> <li class='<%= this.HeaderItem == HeaderItem.SubjectShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) {Title=Define.Get("Client_??????"), Href = WebUrl.SubjectList() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.ShowOnline && SettingGroup.HasLive == true) { %> <li class='<%= this.HeaderItem == HeaderItem.OnlineShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title = Define.Get("Client_??????"), Href = SettingGroup.Setting().ClientMonitoring == true && SettingGroup.HasVideoMonitoring == true ? WebUrl.CCPClient() : WebUrl.LivePlay("") }%></li> <% } else if (this.User == null && SettingGroup.Setting().OnlineShow && SettingGroup.HasLive == true) { %> <li class='<%= this.HeaderItem == HeaderItem.OnlineShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title = Define.Get("Client_??????"), Href = SettingGroup.Setting().ClientMonitoring == true && SettingGroup.HasVideoMonitoring == true ? WebUrl.CCPClient() : WebUrl.LivePlay("") }%></li> <% } %> <% if (this.User != null) { %> <li id="liHeaderMy" class='<%= this.HeaderItem == HeaderItem.My ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title=Define.Get("Client_??????"),Href= WebUrl.My()}%> </li> <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de