<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>【<!--{$config.sitename}-->】管理登录 - Powered by OElove</title>
<link type="text/css" rel="stylesheet" href="<!--{$urlpath}-->tpl/static/layui/css/layui.css">
<link type="text/css" rel="stylesheet" href="<!--{$urlpath}-->tpl/admin/style/oelove.login.css" />
<script src="<!--{$urlpath}-->tpl/static/js/jquery.min.js"></script>
<script src="<!--{$urlpath}-->tpl/static/layui/layui.all.js"></script>
<script src="<!--{$urlpath}-->tpl/static/js/jquery.placeholder.min.js"></script>
<!--[if lte IE 9]>  
<script type="text/javascript">  
$(function(){  
    $('input[placeholder]').placeholder(); 
    $('textarea[placeholder]').placeholder();      
});  
</script>  
<![endif]-->
<script type="text/javascript">
var _ROOT_PATH = "<!--{$urlpath}-->";
</script>
</head>
<body>
<div class="oe_login_bg">
  <div class="login_box">
    <h1 class="title">
      <label>欢迎登录网站管理</label>&nbsp;
      <span>OElove <!--{$copyright_version}--></span>
    </h1>
    <form class="layui-form" action="">
    <div class="login_form">
      <div class="input_item">
        <div class="input_box">
          <input type="text" id="loginname" id="loginname" placeholder="请输入登录帐号" maxlength="16" />
        </div>
      </div>
      <div class="input_item">
        <div class="input_box">
          <input type="password" id="password" name="password" placeholder="请输入登录密码" maxlength="16" />
        </div>
      </div>
      <div class="vali clearfix">
        <div class="input_box">
          <input type="text" id="checkcode" name="checkcode" placeholder="请输入验证码" maxlength="6" />
        </div>
        <div class="vali_code fl">
          <img id="img_checkcode" src="<!--{$urlpath}-->source/include/validcode.php?type=number&width=70&height=30&num=6" />
        </div>
      </div>
      <div class="btn_box">
        <button class="btn layui-btn" id="but_submit_login" lay-submit lay-filter="loginform">
          登录
          <span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span>
        </button>
      </div>
    </div>
    </form>
  </div>
  <div class="oe_copyright">
    Copyright&copy;2010-<!--{$date|date_format:"%Y"}--> OElove
  </div>
</div>
<script type="text/javascript">
$(function() {
    refreshBackground()
    $(window).resize(function () {
        refreshBackground()
    });
    
    function refreshBackground() {
        var width = parseInt($(window).outerWidth())/2;
        var height = parseInt($(window).outerHeight())/2;
        $('.oe_login_bg .triangle').css({
            'borderTopWidth': height+'px',
            'borderRightWidth': width+'px',
            'borderLeftWidth': width+'px',
            'borderBottomWidth': height+'px'
        });
    }
});
</script>
<script src="<!--{$urlpath}-->tpl/admin/js/oelove.login.js"></script>
</body>
</html>