<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:48:"D:\mijia/application/admin\view\index\index.html";i:1538661396;s:48:"D:\mijia\application\admin\view\public\menu.html";i:1539271164;s:50:"D:\mijia\application\admin\view\public\header.html";i:1534874834;s:50:"D:\mijia\application\admin\view\public\footer.html";i:1539271178;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title><?php echo $site['sitename']; ?>后台管理系统</title>

    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico">
    <link href="/public/static/admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/public/static/admin/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/public/static/admin/css/animate.min.css" rel="stylesheet">
    <link href="/public/static/admin/css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
               <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span><img alt="image" class="img-circle" src="/public/uploads/<?php echo session('pic'); ?>" width="80" height="70" /></span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">所属用户组</strong></span>
                                <span class="text-muted text-xs block"><?php echo session('title'); ?><b class="caret"></b></span>
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li><a class="J_menuItem" href="/admin/adminuser/index/id/<?php echo session('uid'); ?>/tab/3.html">修改资料及密码</a>
                                </li>

                                <li ><a  href="javacript:;" onclick="qingchu();">清空缓存</a>
                                </li>
                                
                                <li class="divider"></li>
                                <li><a href="<?php echo url('loginout'); ?>">安全退出</a>
                                </li>
                            </ul>
                        </div>
                        <div class="logo-element">H+
                        </div>
                    </li>
                    
                    

                   <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li>
                            <a href="#"><i class="fa <?php echo $vo['icon']; ?>"></i> <span class="nav-label"><?php echo $vo['name']; ?></span><span class="fa arrow"></span></a>
                            <?php if($vo['child'] == '1'): ?>
                                <ul class="nav nav-second-level">
                                    <?php if(is_array($vo['son']) || $vo['son'] instanceof \think\Collection || $vo['son'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['son'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voson): $mod = ($i % 2 );++$i;?>
                                        <li>
                                            <a <?php if($voson['child'] == '0'): ?>class="J_menuItem"<?php endif; ?> href="<?php if(voson.child == 1): ?>#<?php else: ?><?php echo url($voson['module'].'/'.$voson['controller'].'/'.$voson['action']); endif; ?>"><?php echo $voson['name']; if($voson['child'] == '1'): ?><span class="fa arrow"></span><?php endif; ?></a>
                                            <?php if($voson['child'] == '1'): ?>
                                                <ul class="nav nav-third-level">
                                                    <?php if(is_array($voson['son']) || $voson['son'] instanceof \think\Collection || $voson['son'] instanceof \think\Paginator): $i = 0; $__LIST__ = $voson['son'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voend): $mod = ($i % 2 );++$i;?>
                                                        <li><a class="J_menuItem" href="<?php echo url($voend['module'].'/'.$voend['controller'].'/'.$voend['action']); ?>"><?php echo $voend['name']; ?></a></li>
                                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                                </ul>
                                            <?php endif; ?>
                                        </li>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            <?php endif; ?>
                        </li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                   
                    
                   
                    
                    

                </ul>
            </div>
        </nav>
     
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
           
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="index_v1.html">首页</a>
                    </div>
                </nav>
                <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
                </button>
                <div class="btn-group roll-nav roll-right">
                    <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>定位当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                    </ul>
                </div>
                <a href="<?php echo url('loginout'); ?>" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="<?php echo url('index/content'); ?>" frameborder="0" data-id="index_v1.html" seamless></iframe>
            </div>
            <div class="footer">
    <div class="pull-right">&copy;技术支持：小苏   小胡 2018-2025
    </div>
</div>
        </div>
        <!--右侧部分结束-->
        
       
       
    </div>
   <script src="/public/static/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="/public/static/admin/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="/public/static/admin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="/public/static/admin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="/public/static/admin/js/plugins/layer/layer.min.js"></script>
    <script src="/public/static/admin/js/hplus.min.js?v=4.1.0"></script>
    <script type="text/javascript" src="/public/static/admin/js/contabs.min.js"></script>
    <script src="/public/static/admin/js/plugins/pace/pace.min.js"></script>
    <script src="/public/static/admin/js/layer_hplus.js"></script>
    <script>

function qingchu(){
  var urlt="/admin/index/cache.html";
       layer.confirm('您确定提交处理吗?',{icon:3, title:'提示'},function(index){
           $.ajax({
            type: "POST",
            dataType:"json",
            url:urlt,
            success:function(obj){
                layer.open({
                      content: obj.msg,
                      btn: ['确定'],
                      shade: 0.1,
                      icon: 2,
                      yes: function(index, layero){
                         location.href ="/admin.html";
                      },
                      cancel: function(){
                          layer.close();
                      },
                 });
            },
            error:function(data){
                layer.alert('网络故障!');
            }
        });
    });
}



    </script>
</body>
</html>
