Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\AreaJiaXin\Control\Header.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.Header" %> <%-- if(this.Local == "Index" ) { --%> <!-- ??? ?????? ?????? ?????? ?????? ?????? --> <%= Import.CSS("css/style.css") %> <div class="main-wrap"> <div class="head_bg"></div> <div class="nav"> <ul style="margin-left: 90px;"> <li class='nav_btn fl <%= this.HeaderItem == HeaderItem.Index ? "active" : "" %>'> <%= new HtmlAnchor(Define.Get("Client_???")) { Href = WebUrl.Index() }%></li> <% var listChannel = CreateInstance.ChannelDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.ChannelStatusEnum.???) .OrderBy(l => l.SortNumber) .ToList(); foreach (var channel in listChannel) { if (channel.ParentChannel == null) { var parentChild=false; if (Request.QueryString["ParentChannel"] == channel.Guid) { parentChild = true; } else { var parentChannel = CreateInstance.ChannelDao.Get(Request.QueryString["ParentChannel"]); if (parentChannel != null && parentChannel.ParentChannel!=null) { if (parentChannel.ParentChannel.Guid == channel.Guid) { parentChild = true; } } } %> <li class='nav_btn fl <%= parentChild ? "active" : "" %>'> <%= new HtmlAnchor(channel.Name) { Href = WebUrl.AlbumListForChannel(channel.Guid) }%> </li> <% } } %> <%-- <li class='nav_btn fl <%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Video() }%></li>--%> <%--<li class='nav_btn fl <%= this.Local == "6c7334" ? "active" : "" %>'> <a href="/albumlist_o6c7334.html">??????</a></li> <li class='nav_btn fl <%= this.Local == "8392a1" ? "active" : "" %>'> <a href="/albumlist_o8392a1.html">??????</a></li> <li class='nav_btn fl <%= this.Local == "84abf3" ? "active" : "" %>'> <a href="/albumlist_o84abf3.html">??????</a></li> <li class='nav_btn fl <%= this.Local == "b33662" ? "active" : "" %>'> <a href="/albumlist_ob33662.html">??????</a></li>--%> <%-- if (SettingGroup.HasSubject == true) { %> <li class='nav_btn fl <%= this.Local == "Subject" ? "active" : "" %> visible-desktop'> <%= new HtmlAnchor("??????") { Href = WebUrl.SubjectList() }%></li> <% } --%> <%-- if (SettingGroup.HasMeeting == true) { var listMeetingLevel = CreateInstance.MeetingLevelDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingLevelStatusEnum.???) .OrderBy(l => l.SortNumber) .ToList(); foreach (var meetingLevel in listMeetingLevel) { %> <li class='nav_btn fl <%= this.Local == "Meeting"+meetingLevel.Guid ? "active" : "" %> visible-desktop'> <%= new HtmlAnchor(meetingLevel.Name) { Href = WebUrl.MeetingList(meetingLevel.Guid) }%></li> <% } } <li class='nav_btn fl <%= this.Local == "Album" ? "active" : "" %>'> <%= new HtmlAnchor("??????") { Href = WebUrl.AlbumList() }%></li> <li class='nav_btn fl <%= this.Local == "Video" ? "active" : "" %>'> <%= new HtmlAnchor("??????") { Href = WebUrl.Video() }%></li> --%> <%-- <% if (this.User != null && this.User.ParentUserType.LiveShow) { %> <li class='<%= this.HeaderItem == HeaderItem.LiveShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Live() }%></li> <% } else if (this.User==null && SettingGroup.Setting().LiveShow) { %> <li class='<%= this.HeaderItem == HeaderItem.LiveShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Live() }%></li> <% } %>--%> <li class='nav_btn fl <%= this.HeaderItem == HeaderItem.LiveShow ? "active" : "" %>'> <a href="/live.html">??????</a> </li> <%-- <% if (SettingGroup.HasLive == true) { %> <li class=' nav_btn fl <%= this.Local == "Live" ? "active" : "" %> visible-desktop'> <%= new HtmlAnchor("??????") { Href = WebUrl.Live() }%></li> <% } %> --%> </ul> </div> <div class="search"> <ul class="search-localtion"> <li> <asp:PlaceHolder ID="HeaderSearch" runat="server" /> </li> </ul> </div> </div> <%-- } else {--%> <% if (!string.IsNullOrEmpty(CreateInstance.DomainInfoDao.THIS().MinLogo)) { %> <style type="text/css"> #header .banner, header #header .banner { background: url('<%= SettingGroup.DomainInfoMinLogo(CreateInstance.DomainInfoDao.THIS()) %>') no-repeat scroll right top transparent; height: 100px; } </style> <% } %> <header id="top"> <div id="header" style="display: none;"> <div class="container "> <div class="row"> <div class="span16"> <div class="banner"> <a href="<%= WebUrl.Index() %>"> <%= new HtmlImg(SettingGroup.DomainInfoMaxLogo(CreateInstance.DomainInfoDao.THIS()), "")%> </a> </div> </div> </div> <div class="row"> <div class="span16"> <div class="navbar"> <div class="navbar-inner"> <div class="container"> <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></a> <div class="nav-collapse"> <ul class="nav "> <li class='<%= this.HeaderItem == HeaderItem.Index ? "active" : "" %>'> <%= new HtmlAnchor(Define.Get("Client_???")) { Href = WebUrl.Index() }%></li> <% if (this.User != null && this.User.ParentUserType.LiveShow) { %> <li class='<%= this.HeaderItem == HeaderItem.LiveShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Live() }%></li> <% } else if (this.User == null && SettingGroup.Setting().LiveShow) { %> <li class='<%= this.HeaderItem == HeaderItem.LiveShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Live() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.VideoShow) { %> <li class='<%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Video() }%></li> <% } else if (this.User == null && SettingGroup.Setting().VideoShow) { %> <li class='<%= this.HeaderItem == HeaderItem.VideoShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Video() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.TextbookShow) { %> <li class='<%= this.HeaderItem == HeaderItem.TextbookShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Textbook() }%></li> <% } else if (this.User == null && SettingGroup.Setting().TextbookShow) { %> <li class='<%= this.HeaderItem == HeaderItem.TextbookShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Textbook() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.ReplayShow) { %> <li class='<%= this.HeaderItem == HeaderItem.ReplayShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Replay() }%></li> <% } else if (this.User == null && SettingGroup.Setting().ReplayShow) { %> <li class='<%= this.HeaderItem == HeaderItem.ReplayShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Replay() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.AlbumShow) { %> <li class='<%= this.HeaderItem == HeaderItem.AlbumShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Album() }%></li> <% } else if (this.User == null && SettingGroup.Setting().AlbumShow) { %> <li class='<%= this.HeaderItem == HeaderItem.AlbumShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.Album() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.SubjectShow) { %> <li class='<%= this.HeaderItem == HeaderItem.SubjectShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.SubjectList() }%></li> <% } else if (this.User == null && SettingGroup.Setting().SubjectShow) { %> <li class='<%= this.HeaderItem == HeaderItem.SubjectShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.SubjectList() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.MeetingShow) { %> <li class='<%= this.HeaderItem == HeaderItem.MeetingShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.MeetingList() }%></li> <% } else if (this.User == null && SettingGroup.Setting().MeetingShow) { %> <li class='<%= this.HeaderItem == HeaderItem.MeetingShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.MeetingList() }%></li> <% } %> <% if (this.User != null && this.User.ParentUserType.SchoolShow) { %> <li class='<%= this.HeaderItem == HeaderItem.SchoolShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.School() }%></li> <% } else if (this.User == null && SettingGroup.Setting().SchoolShow) { %> <li class='<%= this.HeaderItem == HeaderItem.SchoolShow ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = WebUrl.School() }%></li> <% } %> <li id="liHeaderMy" style="display: none;" class='<%= this.HeaderItem == HeaderItem.My ? "active" : ""%> visible-desktop'> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href= WebUrl.My()}%> </li> </ul> <ul class="nav pull-right"> <li style="display: none;"> <form id="frmMiniLogin" class="navbar-search " method="post" action="<%= WebUrl.Login() %>"> <%= new HtmlHidden("SRC",Request.Url) %> </form> </li> <li class="divider-vertical"></li> <li> <%-- @todo <asp:PlaceHolder ID="HeaderSearch" runat="server" /> --%> </li> <li class="divider-vertical"></li> <li style="" class="logpre"> <%= new HtmlAnchor("???") { Href= WebUrl.Signup()}%> </li> <li style="" class="logpre"> <%= new HtmlAnchor("???") { Href = "#login", OnClick = "document.getElementById('frmMiniLogin').submit();return false;" }%> </li> <li class="dropdown logafter" style="display: none;"><a data-toggle="dropdown" class="dropdown-toggle " href="#My" target="_blank">???, <b class="uname">??</b><b class="caret"></b></a> <ul class="dropdown-menu"> <li class="nav-header">??????</li> <li> <%= new HtmlAnchor("?????????" + new HtmlImg(SettingGroup.UserHeadPortrait(CreateInstance.UserDao.Get(this.UserCode)),"??????") { Class="avatar", Width=32, Height=32,OnError="this.src='"+Import.CSSFile("img/user_32.png")+"'"}) { Title="??????", Href= WebUrl.Basic() }%> </li> <li class="divider"></li> <li> <%= new HtmlAnchor("???") { Href = WebUrl.MyVideoUpload(), Target = "_blank", Title="??????" }%> </li> <li> <%= new HtmlAnchor("??????") { Href= WebUrl.My()}%> </li> <li class="divider"></li> <li> <%= new HtmlAnchor("???") { Href = WebUrl.Logout() }%> </li> </ul> </li> </ul> <script type="text/javascript"> //?????????? if ($.cookie("UserCode") != null && $.cookie("ParentCode") != null) { $(".logpre").hide(); $(".logafter").show(); $(".logafter .uname").html($.cookie("UserName")); } else { $(".logafter").hide(); $(".logpre").show(); } </script> </div> <!-- /.nav-collapse --> </div> </div> <!-- /navbar-inner --> </div> </div> </div> </div> </div> </header> <%-- } --%>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de