Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Putian\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 .banner, header #header .banner { background: url('<%= SettingGroup.DomainInfoMinLogo(CreateInstance.DomainInfoDao.THIS()) %>') no-repeat center center; height: 190px; } </style> <% } %> <header id="top"> <div id="header"> <div class=" header-top container"> <!-- container --> <div class=""> <div class=""> <div class=" banner"> <!-- span16 --> <div class=" container "> <a href="<%= WebUrl.Index() %>"> <%= new HtmlImg(SettingGroup.DomainInfoMaxLogo(CreateInstance.DomainInfoDao.THIS()), "")%> </a> <ul class="wellcome_tip"> <li style="" class="logpre"> <%= new HtmlAnchor("???") { Href= WebUrl.Signup()}%> | <%= new HtmlAnchor("???") { Href = "#login", ID="headerLogin", OnClick = "document.getElementById('frmMiniLogin').submit();return false;" }%> </li> <li class="logafter " style="display: none;">???, <%= new HtmlAnchor(this.UserName) { Href= WebUrl.My()}%> <%= new HtmlAnchor("[???]") { Href = WebUrl.Logout() }%></li> <%-- <li class="dropdown logafter" style="display: none;"><a data-toggle="dropdown" class="dropdown-toggle " href="#My" target="_blank">???, <span class="uname">??</span><b class="caret"></b></a> <ul class="dropdown-menu"> <li class="nav-header"><%= Define.Get("Client_??????")%></li> <li> <%= new HtmlAnchor("?????????" + new HtmlImg(SettingGroup.UserHeadPortrait(CreateInstance.UserDao.Get(this.UserCode)),"??????") { Class="avatar", Width=32, Height=32,OnError="try{this.src='"+Import.CSSFile("img/user_32.png")+"'}catch(ex){}"}) { Title="??????", Href= WebUrl.Basic() }%> </li> <li class="divider"></li> <% if (this.User != null && this.User.ParentUserType.HeadMasterEnable == false) { %> <li> <%= new HtmlAnchor("???") { Href = WebUrl.MyVideoUpload(), Target = "_blank", Title="??????" }%> </li> <% } %> <li> <%= new HtmlAnchor(Define.Get("Client_??????")) { 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<%= SettingGroup.CookieSuffix %>") != null && $.cookie("ParentCode<%= SettingGroup.CookieSuffix %>") != null) { $(".logpre").hide(); $(".logafter").show(); $(".logafter .uname").html($.cookie("UserName<%= SettingGroup.CookieSuffix %>")); $("#liHeaderMy").show(); } else { $(".logafter").hide(); $(".logpre").show(); } </script> </div> </div> </div> </div> <div class=""> <div class=""> <!-- span16 --> <div class="navbar"> <div class="navbar-inner"> <div class="container" style="width:auto;"> <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"> </ul> <ul class="nav pull-right"> <li> <form id="frmMiniLogin" class="navbar-search " method="post" action="<%= WebUrl.Login() %>" style="display: none;"> <%= new HtmlHidden("SRC",Request.RawUrl) %> </form> </li> <li> <asp:PlaceHolder ID="HeaderSearch" runat="server" /> </li> </ul> </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 %>"; Global.HtmlControl('<%= ControlPath("/HeaderData")%>', params, null, function (json) { if (json != null) { $("#HeaderMenuData").prepend(json.Html); } }); } GetHeaderData(); </script> <div class="flash_messages alert"> <button type="button" class="close" data-dismiss="alert">×</button> <p>message-here</p> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de