<%@ Page Language="c#" Inherits="Web.Wpdcc.manageSystem" CodeBehind="manageSystem.aspx.cs" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <title>欢迎使用</title>
    <!--#include file = "../Css/head.htm" -->
    
</head>

<body>
    <!-- #section:basics/navbar.layout -->
    <div id="navbar" class="navbar navbar-default navbar-fixed-top">
        <script type="text/javascript">
            try { ace.settings.check('navbar', 'fixed') } catch (e) { }
        </script>

        <div class="navbar-container" id="navbar-container">
            <!-- #section:basics/sidebar.mobile.toggle -->
            <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
                <span class="sr-only">Toggle sidebar</span>

                <span class="icon-bar"></span>

                <span class="icon-bar"></span>

                <span class="icon-bar"></span>
            </button>

            <!-- /section:basics/sidebar.mobile.toggle -->
            <div class="navbar-header pull-left">
                <!-- #section:basics/navbar.layout.brand -->
                <a href="#" class="navbar-brand">
                    <small>
                        <i class="fa fa-leaf"></i>
                        <%=ViewState["webName"] %>
                    </small>
                </a>

                <!-- /section:basics/navbar.layout.brand -->

                <!-- #section:basics/navbar.toggle -->

                <!-- /section:basics/navbar.toggle -->
            </div>

            <!-- #section:basics/navbar.dropdown -->
            <div class="navbar-buttons navbar-header pull-right" role="navigation">
                <ul class="nav ace-nav">
                    
                    <li class="dark-opaque" runat="server" id="aspapp" visible="false">
                        <a data-toggle="tooltip" data-container="body" data-placement="bottom" title="站群管理后台" target="_blank" href="validateASP.aspx">
                            <i class="ace-icon fa fa-cloud"></i>
                        </a>
                    </li>
                    
                    <li class="dark-opaque">
                        <a data-toggle="tooltip" data-container="body" data-placement="bottom" title="网站首页" target="_blank" href="../index.aspx">
                            <i class="ace-icon fa fa-home"></i>
                        </a>
                    </li>

                    <!-- #section:basics/navbar.user_menu -->
                    <li class="dark-opaque">
                        <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                            <img class="nav-user-photo" src="<%=ViewState["userImageUrl"] %>" alt="管理员头像" />
                            <span class="user-info">
                                <small>欢迎,</small>
                                <%=ViewState["fullname"] %>
                            </span>

                            <i class="ace-icon fa fa-caret-down"></i>
                        </a>

                        <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                            <li>
                                <a href="../user/manageinfos.aspx">
                                    <i class="ace-icon fa fa-tasks"></i>
                                    内容管理
                                </a>
                            </li>
                            <li>
                                <a href="../user/zmkm.aspx">
                                    <i class="ace-icon fa fa-exchange"></i>
                                    用户切换
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="../quit.aspx">
                                    <i class="ace-icon glyphicon glyphicon-share"></i>
                                    退出
                                </a>
                            </li>
                        </ul>
                    </li>

                    <!-- /section:basics/navbar.user_menu -->
                </ul>
            </div>

            <!-- /section:basics/navbar.dropdown -->
        </div>
        <!-- /.navbar-container -->
    </div>

    <!-- /section:basics/navbar.layout -->
    <div class="main-container" id="main-container">
        <script type="text/javascript">
            try { ace.settings.check('main-container', 'fixed') } catch (e) { }
        </script>

        <!-- #section:basics/sidebar -->
        <div id="sidebar" class="sidebar responsive">
            <script type="text/javascript">
                try { ace.settings.check('sidebar', 'fixed') } catch (e) { }
            </script>

            <div class="sidebar-shortcuts" id="sidebar-shortcuts">
                <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
                    <button class="btn btn-success" data-toggle="tooltip" data-placement="right" title="管理首页" onclick="javascript:window.location.href='manageSystem.aspx' ">
                        <i class="ace-icon fa  fa-desktop"></i>
                    </button>

                    <button class="btn btn-info" data-toggle="tooltip" data-placement="right" title="网站信息" onclick="funcFrame.location='manageUnitInfo.aspx'">
                        <i class="ace-icon glyphicon glyphicon-file"></i>
                    </button>

                    <!-- #section:basics/sidebar.layout.shortcuts -->
                    <button class="btn btn-warning" data-toggle="tooltip" data-placement="left" title="查看日志" onclick="funcFrame.location='manageOperationLog.aspx'">
                        <i class="ace-icon glyphicon glyphicon-align-left"></i>
                    </button>

                    <button class="btn btn-danger" data-toggle="tooltip" data-placement="left" title="网站备份" onclick="funcFrame.location='Wpbak/operate.aspx'">
                        <i class="ace-icon glyphicon glyphicon-book"></i>
                    </button>

                    <!-- /section:basics/sidebar.layout.shortcuts -->
                </div>

                <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                    <span class="btn btn-success"></span>

                    <span class="btn btn-info"></span>

                    <span class="btn btn-warning"></span>

                    <span class="btn btn-danger"></span>
                </div>
            </div>
            <!-- /.sidebar-shortcuts -->

            <ul class="nav nav-list">
                <li class="" id="property" runat="server">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-cog"></i>
                        <span class="menu-text">网站设置 </span>

                        <b class="arrow fa fa-angle-down"></b>
                    </a>

                    <b class="arrow"></b>

                    <ul class="submenu">
                        <li class="" id="liSiteBasic" runat="server">
                            <a href="wpctl/manageSiteBasicProperty.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                网站基本属性
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="wpctl/manageUploadFilesProperty.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                网站高级属性
                            </a>

                            <b class="arrow"></b>
                        </li>
                        <li class="">
                            <a href="wpctl/department.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                基础数据设置
                            </a>

                            <b class="arrow"></b>
                        </li>
                        <li class="" id="Static" runat="server" visible="false">
                            <a href="manageStatic.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                静态化设置
                            </a>

                            <b class="arrow"></b>
                        </li>
                    </ul>
                </li>

                <li class="" id="menu" runat="server">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-pencil-square-o"></i>
                        <span class="menu-text">模板管理 </span>

                        <b class="arrow fa fa-angle-down"></b>
                    </a>

                    <b class="arrow"></b>

                    <ul class="submenu">
                        <li class="">
                            <a href="manageTempLib.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                库模板
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageTempPage.aspx?type=2" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                频道页模板
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageTempPage.aspx?type=1" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                更多页模板
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageTempPage.aspx?type=0" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                新闻页模板
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageTempMenu.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                其它模板
                            </a>

                            <b class="arrow"></b>
                        </li>
                    </ul>
                </li>

                <li class="" id="bigclass" runat="server">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-list"></i>
                        <span class="menu-text">一站式布局 </span>

                        <b class="arrow fa fa-angle-down"></b>
                    </a>

                    <b class="arrow"></b>

                    <ul class="submenu">
                        <li class="">
                            <a href="manageMenuTree.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                布局管理
                            </a>

                            <b class="arrow"></b>
                        </li>
                    </ul>
                </li>

                <li class="" id="user" runat="server">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-users"></i>
                        <span class="menu-text">用户管理 </span>

                        <b class="arrow fa fa-angle-down"></b>
                    </a>

                    <b class="arrow"></b>

                    <ul class="submenu">
                        <li class="">
                            <a href="manageUsers.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                用户管理
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageUsersGroup.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                用户组
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="wpctl/regUsersInfo.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                用户注册设置
                            </a>

                            <b class="arrow"></b>
                        </li>
                    </ul>
                </li>
                <li class="" id="count" runat="server">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-area-chart"></i>
                        <span class="menu-text">网站数据分析 </span>

                        <b class="arrow fa fa-angle-down"></b>
                    </a>

                    <b class="arrow"></b>

                    <ul class="submenu">
                        <li class="">
                            <a href="manageStatChart.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                访问统计
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageNewsCount1.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                用户发文统计
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="manageNewsInfo.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                用户发文明细
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="" id="lisharebackup" runat="server">
                            <a href="./Wpbak/shareBackup.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                主站模板包共享
                            </a>
                            <b class="arrow"></b>
                        </li>

                        <li class="" id="liOprLog" runat="server">
                            <a href="Wpbak/operate.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                网站备份
                            </a>
                            <b class="arrow"></b>
                        </li>

                        <li class="" id="Log" runat="server">
                            <a href="manageOperationLog.aspx" target="funcFrame">
                                <i class="menu-icon fa fa-caret-right"></i>
                                查看日志
                            </a>
                            <b class="arrow"></b>
                        </li>
                    </ul>
                </li>
            </ul>
            <!-- /.nav-list -->

            <!-- #section:basics/sidebar.layout.minimize -->
            <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
                <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
            </div>

            <!-- /section:basics/sidebar.layout.minimize -->
            <script type="text/javascript">
                try { ace.settings.check('sidebar', 'collapsed') } catch (e) { }
            </script>
        </div>

        <!-- /section:basics/sidebar -->
        <div class="main-content">
            <div class="embed-responsive embed-responsive-16by9">
                <iframe id="funcFrame" class="embed-responsive-item" name="funcFrame" allowtransparency="true" src="welcome.aspx"></iframe>
            </div>
        </div>
        <!-- /.main-content -->
        <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
            <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
        </a>
    </div>
    <!-- /.main-container -->

    <!-- basic scripts -->

    <!--#include file="../Css/foot.htm"-->
    <script>
        $(function () {
            $('[data-toggle="tooltip"]').tooltip();

            //更多设置
            $(".more-edit-fn-btn").click(function () {
                $(this).parent().next(".more-edit-data").show();
            });
            $(".more-edit-data .close").click(function () {
                $(this).parent().hide();
            })

            //头部admin
            $(".admin .set").hover(function () {
                $(this).children(".level2").toggle();
            });
            //侧边导航选中状态
            $(".nav-list a:not(.dropdown-toggle)").click(function () {
                $(".nav-list li:not(.open)").removeClass("active");
                $(this).parent().addClass("active");
            });
            //iframe自适应高度
            $(".embed-responsive").css("padding-bottom", $(window).height() - 45);
            $(window).resize(function () {
                $(".embed-responsive").css("padding-bottom", $(window).height() - 45);
            });
        })

        function a_s_r(o, c) {
            o.addClass(c).siblings().removeClass(c);
        }
    </script>
</body>
</html>

