<?php /*a:7:{s:82:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/index\index.html";i:1588772272;s:85:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/layout\default.html";i:1588772272;s:87:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\header.html";i:1588772178;s:84:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\nav.html";i:1588922082;s:89:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\leftMenu.html";i:1589342619;s:90:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\rightMenu.html";i:1588772179;s:87:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\script.html";i:1588772272;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>eduYouke| 后台管理</title>
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!-- [if lt IE 9]> -->
<!-- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> -->
<!-- <![endif] -->
<!-- 公共css  start-->
<link href="/static/common/layui/css/layui.css" rel="stylesheet" type="text/css">
<link href="/static/css/adminlte.min.css" rel="stylesheet" type="text/css">
<link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/static/css/icheck-bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/static/common/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="/static/css/jquery-confirm.min.css" rel="stylesheet" type="text/css">
<!-- <link href="/static/css/ionicons.min.css" rel="stylesheet" type="text/css"> -->
<link rel="stylesheet" type="text/css" href="/static/common/daterangepicker/daterangepicker.css">
<link rel="stylesheet" type="text/css" href="/static/common/select2/css/select2.min.css">
<link rel="stylesheet" type="text/css" href="/static/common/select2-bootstrap4-theme/select2-bootstrap4.min.css">

<!-- 公共css end-->
<link href="/template\admin\default\public/static/css/common.css" rel="stylesheet">
<!--  -->


<!-- <link href="https://www.layuicdn.com/layui/css/layui.css" rel="stylesheet"> -->
</head>

<body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <!-- Navbar -->
        <nav class="main-header navbar navbar-expand navbar-white navbar-light">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
        </li>
        <li class="nav-item d-none d-sm-inline-block">
            <a href="/" class="nav-link"  target="_blank"><i class="fa fa-home mr-1"></i>首页</a>
        </li>
    </ul>
    <ul class="navbar-nav ml-auto">
        <li class="nav-item dropdown">
            <a class="nav-link" id="sign-out" data-toggle="" href="<?php echo url('admin/login/logout'); ?>">
                <i class="fa fa-sign-out"></i>
                <span>退出</span>
            </a>
        </li>
    </ul>
</nav>
        <!-- /.navbar -->
        <!-- Main Sidebar Container -->
        <aside class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="/admin" class="brand-link">
        <img src="<?php echo !empty($site_info['logoImage']) ? getUrlPath($site_info['logoImage']) : '/static/img/logo.png'; ?> " alt="<?php echo htmlentities($site_info['seoTitle']); ?> Logo" class="brand-image img-circle elevation-3" style="opacity: .5">
            <span class="brand-text font-weight-light"><?php echo htmlentities($site_info['webSiteName']); ?>|后台管理</span>
    </a>
    <!-- Sidebar -->
    <div class="sidebar">
        <!-- Sidebar user panel (optional) -->
        <div class="user-panel mt-3 pb-3 mb-3 d-flex">
            <div class="image">
                <img src="<?php echo getUserAvatarUrl(1) ? getUserAvatarUrl(1) :'/static/img/admin.png'; ?>" class="img-circle elevation-2" alt="User Image">
            </div>
            <div class="info">
                <a href="<?php echo url('/admin/administrator/editInfo',['id'=>app('request')->session('admin_userid')]); ?>" class="d-block btn-edit"><?php echo htmlentities((app('request')->session('admin_nickname') ?: "昵称")); ?></a>
            </div>
        </div>
        <!-- Sidebar Menu -->
        <nav class="mt-2">
            <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                <?php echo html_entity_decode($adminMenus); ?>
        </nav>
        <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
</aside>
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper pre-scrollable">
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="m-0 text-dark">基础信息</h1>
                </div>
                <div class="col-sm-6">
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="container-fluid">
            <section class="content">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-info">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['todayUser']); ?></h3>
                                    <p>新增用户</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-user-plus" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-success">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['todayVip']); ?></h3>
                                    <p>新增会员</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-user-o" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-warning">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['allUser']); ?></h3>
                                    <p>累计用户</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-users" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-danger">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['allVip']); ?></h3>
                                    <p>累计会员</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-users" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-info">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['todayComment']); ?></h3>
                                    <p>新增留言</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-commenting-o" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-success">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['todayOrder']); ?></h3>
                                    <p>新增订单</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-cart-arrow-down" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-warning">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['todayVideo']); ?></h3>
                                    <p>新增课程</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-video-camera" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-6">
                            <div class="small-box bg-danger">
                                <div class="inner">
                                    <h3><?php echo htmlentities($basecount['allCourse']); ?></h3>
                                    <p>总课程</p>
                                </div>
                                <div class="icon">
                                    <i class="fa fa-television" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="card card-primary card-outline">
                                <div class="card-header">
                                    <h5 class="m-0">系统地址</h5>
                                </div>
                                <div class="card-body">
                                    <a href="https://gitee.com/huiing/eduYouKe" class="text-secondary" target="_blank">
                                        <img src="https://gitee.com/static/images/logo-black.svg" width="160px">
                                    </a>
                                    <a href="https://github.com/xiaohuiing/eduYouKe" class="text-secondary" target="_blank">
                                        <img src="https://img.36krcdn.com/20200408/v2_3546cce915fb45d08af8f424eec3184f_img_000" width="160px">
                                    </a>
                                    <a href="http://edu.lixuqi.com/" class="text-secondary" target="_blank">
                                        <img src="http://edu.lixuqi.com/static/img/logo.png" width="100px">
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>
    </section>
</div>
        <!-- /.content-wrapper -->
        <!-- Control Sidebar -->
        <!-- <!-- <aside class="control-sidebar control-sidebar-dark">
</aside> --> -->
        <!-- /.control-sidebar -->
        <!-- Main Footer -->
    </div>
    <!-- ------公共js start------- -->
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/popper.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/jquery-confirm.min.js"></script>
<script src="/static/js/jquery.validate.min.js"></script>
<script src="/static/js/adminlte.min.js"></script>
<script src="/static/common/layui/layui.js"></script>
<script src="/static/common/moment/moment.min.js"></script>
<script src="/static/common/daterangepicker/daterangepicker.js"></script>
<script src="/static/common/select2/js/select2.full.min.js"></script>




<!-- ------公共js end------- -->
<!-- ------模板js start------- -->
<script src="/template\admin\default\public/static/js/modal_dialog.js"></script>
<script src="/template\admin\default\public/static/js/AdminTool.js"></script>

<!-- ------模板js end------- -->
<script type="text/javascript">
jconfirm.defaults = {
    title: 'Hello',
    content: 'Are you sure to continue?',
    contentLoaded: function() {},
    icon: '',
    confirmButton: 'Okay',
    cancelButton: 'Close',
    confirmButtonClass: 'btn-default',
    cancelButtonClass: 'btn-default',
    theme: 'white',
    animation: 'zoom',
    closeAnimation: 'scale',
    animationSpeed: 500,
    animationBounce: 1.2,
    keyboardEnabled: false,
    rtl: false,
    confirmKeys: [13], // ENTER key
    cancelKeys: [27], // ESC key
    container: 'body',
    confirm: function() {},
    cancel: function() {},
    backgroundDismiss: false,
    autoClose: false,
    closeIcon: null,
    columnClass: 'col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-10 col-xs-offset-1',
    onOpen: function() {},
    onClose: function() {},
    onAction: function() {}
};

$(function() {
    $('.pagination').addClass("pagination-sm m-0 float-right");
    $('.pagination li').addClass("page-item");
    $('.pagination li span').addClass("page-link");
    $('.pagination li a').addClass("page-link");
})

function success(message = 'success', timeout = 2000) {


    $modal({
        type: 'message',
        icon: 'success',
        timeout: timeout,
        content: message,
        center: false,
        top: 100,
        transition: 300,
        closable: true,
    })
}


function error(message = 'error', timeout = 2000) {

    $modal({

        type: 'message',
        icon: 'error',
        timeout: timeout,
        content: message,
        center: false,
        top: 100,
        transition: 300,
        closable: true,
    })
}


</script>
</body>

</html>