Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\hzsdfzwk\Control\Header.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.Header" %> <% if (!string.IsNullOrEmpty(CreateInstance.DomainInfoDao.THIS().MinLogo)) { %> <%--<style type="text/css"> #header .header-top { background: url('<%= SettingGroup.DomainInfoMinLogo(CreateInstance.DomainInfoDao.THIS()) %>') repeat-x scroll left top transparent; } </style>--%> <% } %> <div class="affix flash_messages-wrapper" data-spy="affix" data-offset-top="0"> <div class="flash_messages alert alert-box" style="display: none;"> <button type="button" class="close" data-dismiss="alert">×</button> <h4><i class="icon-info-sign"></i></h4> <p>message-here</p> </div> </div> <header id="top"> <div id="header"> <div class=" header-top "> <!-- container --> <div class="container"> <div class=" row "> <!-- span16 --> <div class=" span5 "> <a href="<%= WebUrl.Index() %>" class="banner"> <%= new HtmlImg(SettingGroup.DomainInfoMaxLogo(CreateInstance.DomainInfoDao.THIS()), "")%> </a> </div> <div class="span4 search_panel"> <div class="inline_panel "> <asp:PlaceHolder ID="HeaderSearch" runat="server" /> </div> </div> <div class="span3 login_panel"> <div style="" class="logpre"> <% if (SettingGroup.LoginNewPage) { %> <a href="<%= WebUrl.Login() %>" style="cursor: pointer">???</a> <% } else { %> <a data-toggle="modal" class="clickAndShowLoginModal" data-target="#sharedModal" data-guid="" id="clickAndShowLoginModal" style="cursor: pointer">???</a> <% } %> <%-- | <% if (SettingGroup.SignupNewPage) { %> <a href="<%= WebUrl.Signup() %>" style="cursor: pointer">???</a> <% } else { %> <a data-toggle="modal" class="clickAndShowSignupModal" data-target="#sharedModal" data-guid="" id="clickAndShowSignupModal" style="cursor: pointer">???</a> <% } %>--%> | <%= new HtmlAnchor("???") { Href= WebUrl.Help(), Target="_blank"}%> <%-- <%= new HtmlAnchor("???") { Href = WebUrl.Login(), ID="headerLogin",Class=""}%> | <%= new HtmlAnchor("???") { Href= WebUrl.Signup(),Class=""}%>--%> <script> $(function () { $(document).on("hidden", "#sharedModal", function () { $.validator.removeGroup($.validator.getInitConfig("Login"), "Login"); }); $(document).on("click", ".clickAndShowLoginModal", function () { var pageRecordSize = 12 var param = "PageIndex=" + 1; param += "&PageRecordSize=" + pageRecordSize + "&SRC=<%= this.Request.RawUrl %>"; Global.HtmlControl('<%= ControlPath("/User/Login_Header")%>', param, null, function (json) { $("#sharedModal .modal-body").html(json.Html); $("#sharedModal #sharedModalLabel").html("???"); $("#sharedModal .modal-body").css("height","auto"); $("#sharedModal") .css("margin-left", -$("#sharedModal").width() / 2) .css("margin-top", -$("#sharedModal").height() / 2); }); }) $(document).on("click", ".clickAndShowSignupModal", function () { var pageRecordSize = 12 var param = "PageIndex=" + 1; param += "&PageRecordSize=" + pageRecordSize + "&SRC=<%= this.Request.RawUrl %>"; Global.HtmlControl('<%= ControlPath("/User/Signup_Header")%>', param, null, function (json) { $("#sharedModal .modal-body").html(json.Html); $("#sharedModal #sharedModalLabel").html("???"); $("#sharedModal .modal-body").css("max-height", 500); $("#sharedModal .modal-body").height(500); $("#sharedModal") .css("margin-left", -$("#sharedModal").width() / 2) .css("margin-top", -$("#sharedModal").height() / 2); }); }) }); </script> </div> <div class="logafter " style="display: none;"> <div class="user_name"> <%= new HtmlAnchor(this.UserName) { Href= WebUrl.My(),TextLength=5,Suffix="..", Class="uname"}%>(<%= new HtmlAnchor("...") { Title = "???", Href = WebUrl.MyMessage(), Class="msgNum" }.Style(new { Color="Red", Font_Weight="Bold" })%>) | <%= new HtmlAnchor("???") { Href = WebUrl.Logout() }%> | <%= new HtmlAnchor("???") { Href= WebUrl.Help(), Target="_blank"}%> </div> </div> </div> <script type="text/javascript"> $(function () { //?????????? if ($.cookie("UserCode<%= SettingGroup.CookieSuffix %>") != null && $.cookie("ParentCode<%= SettingGroup.CookieSuffix %>") != null) { // $(".login_panel").show(); // $("#bulletin_Board .body").css("height", 186); $(".logpre").hide(); $(".logafter").show(); $(".logafter .uname").html($.cookie("UserName<%= SettingGroup.CookieSuffix %>")); Global.HtmlControl('<%= ControlPath("/MsgNum")%>', "", null, function (json) { if (json != null) { $(".logafter .msgNum").html(json.Html); } }); $("#liHeaderMy").show(); } else { // $(".login_panel").hide(); // $("#bulletin_Board .body").css("height", 286); $(".logafter").hide(); $(".logpre").show(); } }); </script> </div> </div> <div class=""> <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 id="HeaderMenuData" class="nav"> <%-- <li class="dropdown no-cart "> <a data-toggle="dropdown" class="dropdown-toggle " data-target="#" href="#info-group"><%= new HtmlSpan(){Class="ico ico-keynote-ico"}%>??????</a> <ul class=" dropdown-menu category-hover-menu " role="menu" id="info-group"> <li class="dropdown-submenu open" style="width:0;"> <div id="info-group-grade" class="dropdown-menu categorylist-menu"> <ul class="nav nav-pills"> <% var gradesList = CreateInstance.GradeDao.Where(l => l.ParentGrade == null && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.GradeStatusEnum.???) .OrderBy(l => l.SortNumber) .ToList(); %> <% for (var i = 0; i < gradesList.Count; i++) { var grade = gradesList[i]; %> <li> <ul class="nav nav-pills"> <li class="nav-header"> <a><%= grade.Name%></a></li> <li> <ul class="nav nav-pills"> <% for (var j = 0; j <= grade._ListGrade.Count - 1; j++) { var subGrade = grade._ListGrade[j]; if (j == 12) break; %> <li class=""> <%= new HtmlAnchor(subGrade.Name) { Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentGrade", subGrade.Guid)) }%> </li> <% } %> </ul> </li> </ul> </li> <% } %> </ul> <hr class="hr-dashed" /> <ul class="nav nav-pills"> <% var categoriesList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.CategoryStatusEnum.???) .OrderBy(l => l.SortNumber) .ToList(); %> <% for (var i = 0; i < categoriesList.Count; i++) { var cate = categoriesList[i]; %><li> <ul class="nav nav-pills"> <li class="nav-header"> <a><%= cate.Name%></a></li> <li> <ul class="nav nav-pills "> <% for (var j = 0; j <= cate._ListCategory.Count - 1; j++) { var subCate = cate._ListCategory[j]; if (j == 12) break; %> <li class="left blok nowrp"> <%= new HtmlAnchor(subCate.Name) { Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentCategory", subCate.Guid)) }%> </li> <% } %> </ul> </li> </ul> </li> <% } %> </ul> </div> </li> </ul> </li>--%> </ul> <script> $(function () { $('[data-hover="dropdown"]').dropdownHover(); }); </script> </div> <!-- /.nav-collapse --> </div> </div> <!-- /navbar-inner --> </div> </div> </div> </div> </div> </header> <script type="text/javascript"> function GetHeaderData() { var params = "HeaderItem=<%= (int)this.HeaderItem %>&Local=<%= this.Local %>&SessionCache=0"; Global.HtmlControl('<%= ControlPath("/HeaderData")%>', params, null, function (json) { if (json != null) { $("#HeaderMenuData").append(json.Html); } }); } GetHeaderData(); </script> <script> $(document).load(function () { $('.flash_messages').affix(); }); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de