<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:65:"D:\wwwroot\pay.6gym.com\public/../app/index\view\index\member.html";i:1615925320;}*/ ?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="/static/assets/assets/images/favicon.ico" rel="icon">
    <title><?php echo $web_config['web_site']; ?> - 6gym.com 6G源码 </title>
    <link rel="stylesheet" href="/static/assets/libs/layui/css/layui.css"/>
    <link rel="stylesheet" href="/static/assets/module/admin.css?v=318"/>
 
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body class="theme-colorful2">
<div class="layui-layout layui-layout-admin">
    <!-- 头部 -->
    <div class="layui-header">
        <div class="layui-logo">
           
            <cite>&nbsp;<?php echo $web_config['web_name']; ?>&nbsp;</cite>
        </div>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item" lay-unselect>
                <a ew-event="flexible" title="侧边伸缩"><i class="layui-icon layui-icon-shrink-right"></i></a>
            </li>
            <li class="layui-nav-item" lay-unselect>
                <a ew-event="refresh" title="刷新"><i class="layui-icon layui-icon-refresh-3"></i></a>
            </li>
        <?php if($cate == '1'): ?>  
        <li class="layui-nav-item layui-hide-xs layui-this" lay-unselect><a nav-bind="xt1">商户系统</a></li>
            <li class="layui-nav-item layui-hide-xs" lay-unselect><a nav-bind="xt2">管理系统</a></li>
   
            <!-- 小屏幕下变为下拉形式 -->
            <li class="layui-nav-item layui-hide-sm layui-show-xs-inline-block" lay-unselect>
                <a>请选择系统</a>
                <dl class="layui-nav-child">
                    <dd lay-unselect><a nav-bind="xt1">商户系统</a></dd>
                    <dd lay-unselect><a nav-bind="xt2">管理系统</a></dd>
            
                </dl>
            </li>
        <?php endif; ?>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide-xs" lay-unselect>
                <a ew-event="fullScreen" title="全屏"><i class="layui-icon layui-icon-screen-full"></i></a>
            </li>
            
            <li class="layui-nav-item" lay-unselect>
                <a>
                    <img src="/static/assets/images/head.jpg" class="layui-nav-img">
                    <cite><?php echo $user; ?></cite>
                </a>
                <dl class="layui-nav-child">
                   
                    <dd lay-unselect><a ew-event="psw" data-url="<?php echo url('index/info'); ?>" data-title="修改资料">修改资料</a></dd>
                    <hr>
                    <dd lay-unselect><a ew-event="logout" data-url="<?php echo url('index/login'); ?>" data-ajax="<?php echo url('index/logout'); ?>" data-method="post" data-code="1" data-parse-data="return {code: res.code, msg: res.msg}">退出登录</a></dd>
                </dl>
            </li>
            
        </ul>
    </div>

    <!-- 侧边栏 -->
    <div class="layui-side">
        <div class="layui-side-scroll">
             <ul class="layui-nav layui-nav-tree" nav-id="xt1" lay-filter="admin-side-nav" style="margin: 15px 0;">
                <li class="layui-nav-item ">
                    <a lay-href="<?php echo url('index/home'); ?>"><i class="layui-icon layui-icon-home"></i>&emsp;<cite>商户中心</cite></a>
                    
                </li>
                
                 <li class="layui-nav-item  layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-user"></i>&emsp;<cite>账号管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('land/list'); ?>">我的账号</a></dd>
                        <dd><a lay-href="<?php echo url('land/bug_list'); ?>">异常账号</a></dd>
                    
                        </a></dd>
                    </dl>
                </li>
              
                
                 <li class="layui-nav-item  layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-app"></i>&emsp;<cite>通道管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('game/game_my'); ?>">常用通道</a></dd>
                        <dd><a lay-href="<?php echo url('game/list'); ?>?t=0">全部通道</a></dd>
                        <?php if(is_array($game_type) || $game_type instanceof \think\Collection || $game_type instanceof \think\Paginator): $i = 0; $__LIST__ = $game_type;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <dd><a style="color:<?php echo $vo['color']; ?>" lay-href="<?php echo url('game/list'); ?>?t=<?php echo $vo['id']; ?>"><?php echo $vo['title']; ?></a></dd>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    
                        </a></dd>
                    </dl>
                </li>
                
                <li class="layui-nav-item  layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-list"></i>&emsp;<cite>订单管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('orders/list'); ?>">支付订单</a></dd>
                        <?php if($cate_1 == '1'): ?>  
                        <dd><a lay-href="<?php echo url('orders/log'); ?>">手续费订单</a></dd>
                        <?php endif; ?>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a lay-href="<?php echo url('index/api_index'); ?>"><i class="layui-icon layui-icon-set"></i>&emsp;<cite>接口信息</cite></a>
                    
                </li>
                <?php if($cate_1 == '1'): ?>  
                <li class="layui-nav-item">
                    <a ew-event="psw" data-url="<?php echo url('index/pays'); ?>" data-title="余额充值" ><i class="layui-icon layui-icon-rmb"></i>&emsp;<cite>余额充值</cite></a>
                    
                </li>
                <?php endif; ?>
            </ul>
            <?php if($cate == '1'): ?>  
            <ul class="layui-nav layui-nav-tree layui-hide" nav-id="xt2" lay-filter="admin-side-nav"
                style="margin: 15px 0;">
                <li class="layui-nav-item">
                    <a lay-href="<?php echo url('admin/home'); ?>"><i class="layui-icon layui-icon-home"></i>&emsp;<cite>管理中心</cite></a>
                    
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-set"></i>&emsp;<cite>系统基本管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('admin/config'); ?>">基本配置</a></dd>
                        <dd><a lay-href="<?php echo url('admin/config_set'); ?>">其他配置</a></dd>
                        <dd><a lay-href="<?php echo url('admin/news'); ?>">公告管理</a></dd>
                        <dd><a lay-href="<?php echo url('admin/msg'); ?>">通知管理</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-user"></i>&emsp;<cite>系统商户管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('admin/user'); ?>">商户列表</a></dd>
                     
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-table"></i>&emsp;<cite>系统通道管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('admin/game_type'); ?>">通道分类</a></dd>
                        <dd><a lay-href="<?php echo url('admin/game'); ?>">通道列表</a></dd>
                        <dd><a lay-href="<?php echo url('admin/land'); ?>">通道账号</a></dd>
                     
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a><i class="layui-icon layui-icon-list"></i>&emsp;<cite>系统订单管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd><a lay-href="<?php echo url('admin/orders'); ?>">订单列表</a></dd>
                        <dd><a lay-href="<?php echo url('admin/log'); ?>">手续费列表</a></dd>
                    </dl>
                </li>
                
            </ul>
            <?php endif; ?>
        </div>
    </div>

    <!-- 主体部分 -->
    <div class="layui-body"></div>
    <!-- 底部 -->
    <div class="layui-footer layui-text">
      <?php echo $web_config['gonggao']; ?>
   
    </div>
    
</div>

<!-- 加载动画 -->
<div class="page-loading">
    <div class="ball-loader">
        <span></span><span></span><span></span><span></span><span></span><span></span>
    </div>
</div>

<script type="text/javascript" src="/static/assets/libs/layui/layui.js"></script>
<script type="text/javascript" src="/static/assets/js/common.js?v=318"></script>
<script>
    layui.use(['index','admin','form','formX'], function () {
        var $ = layui.jquery;
        var index = layui.index;
        var admin= layui.admin;
     
        // 默认加载主页
        index.loadHome({
            menuPath: "<?php echo url('index/home'); ?>",
            menuName: '商户中心'
        });
        <?php if($cate == '1'): ?>  
        admin.on('nav', function (d) {
            if(d.navId=='xt1'){
                 index.loadHome({
                       menuPath: "<?php echo url('index/home'); ?>",
                       menuName: '商户中心'
                 });
            }else if(d.navId=='xt2'){
                index.loadHome({
                      menuPath: "<?php echo url('admin/home'); ?>",
                      menuName: '管理中心'
                });
            }
        });
       <?php endif; ?>
         
    });
</script>
</body>
</html>