<%@ Page Language="C#" MasterPageFile="~/HostAdmin/HostAdminTemplate_Root.Master" AutoEventWireup="true" CodeBehind="Top_MainMenu.aspx.cs" Inherits="EnjooSite.Web.HostAdmin.Top_MainMenu" Title="Untitled Page" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MPContent" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/HostAdmin/MainMenu.js" />
        </Scripts>
        <Services>
            <asp:ServiceReference Path="~/WebServices/AsynLogout.asmx" />
        </Services>
    </asp:ScriptManagerProxy>
    <div id="nav">
        <div id="logo">
            <div id="loginStatus">
                欢迎回来： 
                <span id="hostAdminNameText">
                    <asp:Literal ID="hostAdminName" runat="server" />
                </span>
                <span id="logoutLinkText">
                    [<a href="#" id="logoutLink">注销</a>]
                </span>
            </div>
            <h1 style="font-family:微软雅黑">
                <%= string.Format("主站管理：{0}", Config.WebTitle) %>
                <asp:literal ID="HostTitleLiteral" runat="server" Visible="false"></asp:literal>
            </h1>
        </div>        
        <!-- /#loginStatus -->
        <ul id="mainNav" class="clearfix">
            <li>
                <a href='<%= VirtualPathUtility.ToAbsolute("~/") %>' title='返回首页' target="_top" class="direct"><span>返回首页</span></a>
            </li>
            <st:MenuItem ID="mnuErrorLog" Visible="false" Href="~/HostAdmin/ErrorLog.aspx" Title="Error Log."
                runat="server">
                Error Log</st:MenuItem>
            <st:MenuItem ID="mnuChangePassword" Visible="false" Href="~/HostAdmin/ChangePassword.aspx" Title="Change HostAdmin Password."
                runat="server">
                Change Password</st:MenuItem>
            <st:MenuItem ID="mnuImportStart" Visible="false" Href="~/HostAdmin/Import/ImportStart.aspx" Title="Import .TEXT Data"
                runat="server">
                Import .TEXT</st:MenuItem>
            <st:MenuItem ID="mnuManageGroups" Visible="false" Href="~/HostAdmin/ManageGroups.aspx" Title="Manage the blog groups"
                runat="server">
                Blog Groups</st:MenuItem>
            <st:MenuItem ID="mnuManageHostChannel" Visible="false" Href="~/HostAdmin/ManageHostChannel.aspx" SubHref="~/HostAdmin/Sidebar_ChannelManager.aspx" Title="Manage the Host Channel"
                runat="server">
                Host Channels</st:MenuItem>
            <st:MenuItem ID="mnuDefault" Href="~/HostAdmin/Frame_Main/Statistics.aspx" SubHref="~/HostAdmin/Frame_Sidebar/Sidebar_SystemManager.aspx" runat="server"></st:MenuItem>
        </ul>
        <!-- /#menu -->
	    <div id="alertContainer" style="height:24px;line-height:24px;border:1px solid #dcdcdc;margin:0 10px;border-top-width:0px;background-color:#eef;text-align:center;padding:3px 0px;">
	        <label></label>
	    </div>
        <div style="height:20px;margin:0 10px;padding:0px;height:24px;"></div>	
    </div>
    
</asp:Content>
