<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta name="robots" content="noindex,nofllow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,minimal-ui">
    <meta name="format-detection" content="telephone=no">
    <title data-title="">可视化-[<!--{$config.sitename}-->]<!--{if $config.is_code !='1'}-->-<!--{$copyright_header}--><!--{/if}--></title>
    <link href="<!--{$cppath}-->css/basic_admin.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="<!--{$urlpath}-->tpl/static/js/jquery.min.js"></script>
    <script src="<!--{$urlpath}-->tpl/admincp/js/layer/layer.js"></script>
</head>
<body class="h-100 d-flex flex-column">
<link rel="stylesheet" href="<!--{$cppath}-->css/pageset.css">
<script src="tpl/static/js/basic_admin.js"></script>

<header class="pageset-head bg-dark" style="height: 50px;">
    <div class="container-fluid h-100 position-relative">
        <div class="float-left d-none d-lg-flex align-items-center h-100">
            <a href="" target="_blank" class="text-white pageset-logo"><img src="<!--{$cppath}-->images/n/logo.png"></a>
        </div>
        <div class="container h-100">
            <div class="row h-100 navbar p-0 pageset-head-nav">
                <div>
                    <a href="<!--{$config.siteurl}-->" class="btn btn-outline-light border-none pageset-view" title="当前页面预览" target="_blank">预览</a>
                    <a href="javascript:;" class="btn btn-outline-light border-none ml-xl-3" onclick="table('admincp.php?c=category');">栏目</a>
                    <div class="btn-group ml-xl-3 dropdown">
                        <button class="btn btn-outline-light border-none dropdown-toggle" type="button" data-toggle="dropdown" onclick="dropdownMenuPosition(this)" aria-expanded="false">内容</button>
                        <ul class="dropdown-menu mt-2 oya met-scrollbar scrollbar-grey" style="">
                            <!--{foreach $category as $volist}-->

                                    <!--{if $volist.modalias=='user'}-->
                            <!--{elseif $volist.modalias=='about'}-->
                            <!--{elseif $volist.modalias=='guestbook'}-->
                                  <a href="javascript:;" onclick="table('<!--{$cpfile}-->?c=<!--{$volist.modalias}-->&tid=<!--{$volist.catid}-->');" class="dropdown-item px-3 py-2" onclick="table('admincp.php?c=plugin&a=setting&plugin_id=datatool');"> 留言管理</a>
                            <!--{else}-->
                              <a href="javascript:;" onclick="table('<!--{$cpfile}-->?c=<!--{$volist.modalias}-->&tid=<!--{$volist.catid}-->');" class="dropdown-item px-3 py-2" onclick="table('admincp.php?c=plugin&a=setting&plugin_id=datatool');"><!--{$volist.catname}--></a>
                                    <!--{/if}-->
                            <!--{/foreach}-->
                        </ul>
                    </div>
                    <a href="javascript:;" class="btn btn-outline-light border-none ml-xl-3" onclick="table('admincp.php?c=seo');">SEO</a>
                    <a href="javascript:;" class="btn btn-outline-light border-none ml-xl-3" onclick="table('admincp.php?c=language');">多语言</a>
                    <a href="javascript:;" class="btn btn-outline-light border-none ml-xl-3" onclick="table('admincp.php?c=plugin&a=shop');">应用插件</a>
                    <div class="btn-group ml-xl-3 dropdown">
                        <button class="btn btn-outline-light border-none dropdown-toggle" type="button" data-toggle="dropdown" onclick="dropdownMenuPosition(this)" aria-expanded="false">常用功能</button>
                        <ul class="dropdown-menu mt-2 oya met-scrollbar scrollbar-grey" style="">
                            <a href="javascript:;" class="dropdown-item px-3 py-2" onclick="table('admincp.php?c=plugin&a=setting&plugin_id=datatool');">数据备份</a>
                            <a href="javascript:;" class="dropdown-item px-3 py-2" onclick="table('admincp.php?c=plugin&a=setting&plugin_id=datatool&do=import');">数据恢复</a>
                            <a href="javascript:;" class="dropdown-item px-3 py-2" onclick="table('admincp.php?c=frame&a=edition');">检测更新</a>
                            <a href="javascript:;" class="dropdown-item px-3 py-2" onclick="table('admincp.php?c=admin&a=user');">会员管理</a>
                            <a href="admincp.php?c=setting&a=clearcache&type=1" class="dropdown-item px-3 py-2 clear-cache">清空缓存</a>
                        </ul>
                    </div>
                </div>
                <div class="float-right">

                    <div class="btn-group ml-xl-3">
                        <button class="btn btn-outline-light border-none dropdown-toggle" type="button" data-toggle="dropdown" onclick="dropdownMenuPosition(this)">支持</button>
                        <ul class="dropdown-menu dropdown-menu-right mt-2">
                            <a href="http://8cms.cn/index.php?c=doc&id=8" class="dropdown-item px-3 py-2" target="_blank">帮助手册</a>
                            <a href="http://8cms.cn" class="dropdown-item px-3 py-2" target="_blank">在线问答</a>
                        </ul>
                    </div>
                    <a href="admincp.php?c=frame" class="btn btn-outline-light border-none ml-xl-3" target="_blank">传统后台</a>
                    <div class="btn-group ml-xl-3 dropdown">
                        <button type="button" class="btn btn-outline-light border-none dropdown-toggle pageset-head-user" data-toggle="dropdown" onclick="dropdownMenuPosition(this)" aria-expanded="false">
                            <span class="text-truncate d-inline-block position-relative" style="max-width: 100px;top: 3px;"><!--{$adminname}-->&nbsp;&nbsp;</span>
                        </button>
                        <ul class="dropdown-menu dropdown-menu-right mt-2 oya met-scrollbar scrollbar-grey" style="">
                            <a href="<!--{$cpfile}-->?c=login&a=logout" class="dropdown-item px-3 py-2">退出</a>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        function table(url) {
            layer.open({
                type: 2,
                title: '可视化编辑',
                shadeClose: true,
                shade: false,
                maxmin: true, //开启最大化最小化按钮
                area: ['1100', '600'],
                content: url,
                end: function(){
                    parent.location.reload();
                }
            });
        }
    </script>
</header>
<iframe src="index.php" class='page-iframe flex-fill' frameborder="0" width="100%"></iframe>
<div class="pageset-mobile-tips-wrapper" hidden><span class="pageset-mobile-tips"></span></div>
</body>
<script src="<!--{$urlpath}-->tpl/admincp/js/pageset.js"></script>
</html>