Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Hunanlinda\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" : "" %>'> <%-- <%= new HtmlAnchor( new HtmlImg(){Src=Import.CSSFile("images/hunan_11.png") }) { Href = WebUrl.Index(), Title="???" }%>--%> <%= new HtmlAnchor( "???") { Href = WebUrl.Index(), Title="???" }%> </li> <% if (this.User != null && this.User.ParentUserType.VideoShow) { %> <li class='<%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> '> <%= new HtmlAnchor(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_??????")) { 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.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()) { %> <li class='<%= this.HeaderItem == HeaderItem.AlbumShow && this.Local == level.Guid ? "active" : ""%> '> <%= new HtmlAnchor(level.Name) { Href = WebUrl.Album(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentAlbumLevel",level.Guid)) }%></li> <% } } %> <%-- <%= new HtmlAnchor(new HtmlImg() { Src = Import.CSSFile("images/hunan_13.png") }) { Href = WebUrl.Weike(), Title="???" }%>--%> <%--<li>--%> <%--??????--%> <%-- <a href="#"><img src="<%= Import.CSSFile("images/hunan_15.png") %>" /></a>--%> <%-- <a href="#">??????</a> </li> <li--%> <%--???--%> <%-- <a href="#"><img src="<%= Import.CSSFile("images/hunan_17.png") %>" /></a>--%> <%-- <a href="#">???</a> </li> <li--%> <%--?????--%> <%--<a href="#"><img src="<%= Import.CSSFile("images/hunan_19.png") %>" /></a>--%> <%-- <a href="#">?????</a> </li>--%> <%--??????--%> <% if (this.User != null && this.User.ParentUserType.LiveShow && SettingGroup.HasLive == true) { %> <li class='<%= this.HeaderItem == HeaderItem.LiveShow ? "active" : ""%> '> <%-- <%= new HtmlAnchor(new HtmlImg() { Src = Import.CSSFile("images/hunan_21.png") }) { Href = SettingGroup.Setting().ShowApplicationBefore ? WebUrl.Live() : WebUrl.Room(), Title="??????" }%>--%> <%= new HtmlAnchor("??????") { Href = SettingGroup.Setting().ShowApplicationBefore ? WebUrl.LivePlay("") : WebUrl.LivePlay(""), Title="??????" }%> </li> <% } else if (this.User == null && SettingGroup.Setting().LiveShow && SettingGroup.HasLive == true) { %> <li class='<%= this.HeaderItem == HeaderItem.LiveShow ? "active" : ""%> '> <%-- <%= new HtmlAnchor(new HtmlImg() { Src = Import.CSSFile("images/hunan_21.png") }) { Href = SettingGroup.Setting().ShowApplicationBefore ? WebUrl.Live() : WebUrl.Room() , Title="??????"}%>--%> <%= new HtmlAnchor("??????") { Href = SettingGroup.Setting().ShowApplicationBefore ? WebUrl.LivePlay("") :WebUrl.LivePlay(""), Title="??????" }%> </li> <% } %> <%--<li><%--??????????--%> <%-- <a href="#"><img src="<%= Import.CSSFile("images/hunan_23.png") %>" /></a>--%> <%-- <a href="#">??????????</a>--%> <%--</li>--%> <%--??????--%> <% if (this.User != null && this.User.ParentUserType.LiveShow) { %> <li class='<%= this.HeaderItem == HeaderItem.OnlineShow ? "active" : ""%> '> <%--<%= new HtmlAnchor(Define.Get("Client_??????")) { Href = SettingGroup.Setting().ClientMonitoring == true && SettingGroup.HasVideoMonitoring == true ? WebUrl.CCPClient() : WebUrl.Online() }%></li>--%> <%-- <%= new HtmlAnchor(new HtmlImg() { Src = Import.CSSFile("images/hunan_25.png") }) { Href = WebUrl.Online(), Title="??????" }%></li>--%> <%= new HtmlAnchor("??????") { Href = WebUrl.Online(), Title="??????" }%></li> <% } else if (this.User == null && SettingGroup.Setting().OnlineShow) { %> <li class='<%= this.HeaderItem == HeaderItem.OnlineShow ? "active" : ""%> '> <%--<%= new HtmlAnchor(Define.Get("Client_??????")) { Href = SettingGroup.Setting().ClientMonitoring == true && SettingGroup.HasVideoMonitoring == true ? WebUrl.CCPClient() : WebUrl.Online() }%></li>--%> <%-- <%= new HtmlAnchor(new HtmlImg() { Src = Import.CSSFile("images/hunan_25.png") }) { Href = WebUrl.Online(), Title="??????" }%></li>--%> <%= new HtmlAnchor("??????") { Href = WebUrl.Online(), Title="??????" }%></li> <% } %> <%--??????--%> <ul style="display: none;"> <% if (this.User != null && this.User.ParentUserType.VideoShow) { %> <li class='<%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> '> <%= new HtmlAnchor(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_??????")) { 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.TextbookShow && SettingGroup.HasBook == true) { %> <li class='<%= this.HeaderItem == HeaderItem.TextbookShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Textbook() }%></li> <% } else if (this.User == null && SettingGroup.Setting().TextbookShow && SettingGroup.HasBook == true) { %> <li class='<%= this.HeaderItem == HeaderItem.TextbookShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Textbook() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.AlbumShow) { %> <li class='<%= this.HeaderItem == HeaderItem.AlbumShow ? "active" : ""%> '> <%= new HtmlAnchor(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_??????")) { 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_??????")) { 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_??????")) { Href = WebUrl.SubjectList() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.MeetingShow && SettingGroup.HasMeeting == true) { %> <li class='<%= this.HeaderItem == HeaderItem.MeetingShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.MeetingList() }%></li> <% } else if (this.User == null && SettingGroup.Setting().MeetingShow && SettingGroup.HasMeeting == true) { %> <li class='<%= this.HeaderItem == HeaderItem.MeetingShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.MeetingList() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.SchoolShow && SettingGroup.HasDomain == true) { %> <li class='<%= this.HeaderItem == HeaderItem.SchoolShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.School() }%></li> <% } else if (this.User == null && SettingGroup.Setting().SchoolShow && SettingGroup.HasDomain == true) { %> <li class='<%= this.HeaderItem == HeaderItem.SchoolShow ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.School() }%></li> <% } %> <% if (this.User != null) { %> <li id="liHeaderMy" class='<%= this.HeaderItem == HeaderItem.My ? "active" : ""%> '> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href= WebUrl.My()}%> </li> <% } %> </ul>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de