<?php /*a:3:{s:82:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/login\login.html";i:1588772178;s:87:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\header.html";i:1588772178;s:87:"F:\htdocs\EduYouKe\public/../\public/template\admin\default\admin/..\public\script.html";i:1588772272;}*/ ?>

<html>

<head>
    <title>管理后台登录 <?php echo htmlentities((isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:'')); ?></title>
    <meta name="keywords" content="<?php echo htmlentities((isset($site_info['site_seo_keywords']) && ($site_info['site_seo_keywords'] !== '')?$site_info['site_seo_keywords']:'')); ?>" />
    <meta name="description" content="<?php echo htmlentities((isset($site_info['site_seo_description']) && ($site_info['site_seo_description'] !== '')?$site_info['site_seo_description']:'')); ?>">
    <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"> -->
    <!-- <link rel="stylesheet" type="text/css" href="/static/admin/detault/css/login.css" /> -->
    <style type="text/css">
    body {
        background-image: url("/static/img/adminbg.png");
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .login {
        top: 150px;
    }
    </style>
</head>

<body>
    <div class="container container-body">
        <div class="row justify-content-center">
            <div class="col-lg-6 col-md-6 mt-4 login card">
                <div class="login media bg-white" id="login">
                    <div class="align-self-center mx-auto">
                        <div class="text-with-hr mt-4">
                            <strong>后台登录</strong>
                        </div>
                        <form class="m-auto" id="content" action="<?php echo htmlentities(app('request')->root()); ?>/<?php echo htmlentities(app('request')->controller()); ?>/doLogin">
                            <div id="nickname-login">
                                <div class="form-group">
                                    <label><strong class="text-black-50">用户名</strong></label>
                                    <input type="text" name="username" class="form-control username">
                                </div>
                                <div class="form-group">
                                    <label><strong class="text-black-50">请输入密码</strong></label>
                                    <input type="password" name="password" class="form-control password">
                                </div>
                                <div class="form-group">
                                    <strong class="text-black-50 ">请输入验证码</strong>
                                    <div class="input-group mt-2 mb-3">
                                        <input type="text" name="verifycode" class="form-control verifycode" aria-describedby="basic-addon">
                                        <?php echo token_field(); ?>
                                        <div class="input-group-append" style="height: 35px;">
                                            <?php echo captcha_img(); ?>
                                        </div>
                                    </div>
                                </div>
                                <a href="<?php echo url('admin/login/doLogin'); ?>" id="formLogin" onclick="formLogin()" class="btn btn-primary btn-block mt-4 mb-4">登录</a>
                            </div>
                        </form>
                        <br>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
<!-- ------公共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>
</script>