<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<spb:Header ID="Header1" runat="server">
    <spb:Script runat="server" ID="jquery" Src="~/Utility/jquery/jquery.min-1.4.2.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="cookie" Src="~/Utility/jquery/plugin/jquery.cookie.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="core" Src="~/Utility/jquery/ui.core.min-1.8.12.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="widget" Src="~/Utility/jquery/ui.widget.min-1.8.12.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="global" Src="~/Utility/tunynet_web_ui/global.js" />
    <spb:Script runat="server" ID="nyroModal" Src="~/Utility/jquery/plugin/jquery.nyroModal-1.6.2.min.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="tabs" Src="~/Utility/jquery/ui.tabs.min-1.8.12.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="superfish" Src="~/Utility/jquery/plugin/jquery.superfish-1.4.8.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="menuButton" Src="~/Utility/jquery/plugin/jquery.spb.menuButton.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="watermarkinput" Src="~/Utility/jquery/plugin/jquery.watermarkinput.js" />
    <spb:Script runat="server" ID="validate" Src="~/Utility/jquery/plugin/jquery.validate-1.7.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="form" Src="~/Utility/jquery/plugin/jquery.form.min-2.7.3.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="layout" Src="~/Utility/jquery/plugin/jquery.layout.js"
        SetExpireDays="30" />
    <spb:Script runat="server" ID="CollapsibleBox" Src="~/Utility/jquery/plugin/jquery.spb.CollapsibleBox.js"
        SetExpireDays="30" />
</spb:Header>

<script type="text/javascript">
    $(document).ready(function() {
        $('body').layout({ applyDefaultStyles: false });
        $(".tn-collapsible").collapsibleBox();
    });
</script>

<body class="tn-page-bg" id="spb-manages-page">
    <div class="ui-layout-center">
        <div class="tn-main">
            <div class="tn-head">
                <div class="tn-border-gray tn-border-bottom">
                    <asp:ContentPlaceHolder runat="server" ID="operationContent" />
                    <div class="tn-pagename">
                        <h1 class="tn-helper-reset tn-text-heading">
                            <asp:ContentPlaceHolder runat="server" ID="pageNameContent" />
                        </h1>
                    </div>
                </div>
            </div>
            <div class="tn-body">
                <asp:ContentPlaceHolder runat="server" ID="wideContent" />
            </div>
        </div>
    </div>
    <div class="ui-layout-north">
        <div id="tn-header" class="tn-header-bg">
            <div class="tn-wrapper">
                <div class="tn-top-menubar">
                    <div class="tn-wrapper-inner tn-helper-clearfix">
                        <div class="tn-user-menu">
                            <ul>
                                <li><a href="<%=Url.Action("ManageLogout","Manage") %>">退出</a></li>
                                <li><a href="<%=SiteUrls.Instance().Home() %>">返回前台</a></li>
                                <li>当前登录：<strong><%=Globals.GetCurrentUser().UserName %></strong> </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="tn-branding-area">
                    <div class="tn-wrapper-inner">
                        <div id="tn-logo">
                            <a href="<%=SiteUrls.Instance().ManageHome() %>" id="siteLogo">
                                <img src="<%=WebUtils.ResolveUrl("~/Themes/Manages/Default/Appearances/Default/Images/manage-logo.png") %>" /></a>
                        </div>
                    </div>
                </div>
                <div class="tn-nav1-area">
                    <div class="tn-wrapper-inner tn-helper-clearfix">
                        <% if (ViewData["manageSubMenu"] == null)
                               ViewData["manageSubMenu"] = ManageSubMenu.ManageApplicationsModule;
                           Html.RenderPartial("Controls/ManageGlobalMenu.ascx", ViewData); %>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="ui-layout-west">
        <div class="tn-sidebar">
            <asp:ContentPlaceHolder runat="server" ID="HeaderContent" />
        </div>
        <div class="tn-footer-legal">
            <%Html.RenderPartial("Controls/Footer.ascx");%>
        </div>
    </div>
 
</body>
</html>
