{include file="login/login.tpl" title='用户登陆' hostname=$c['网站名称']}

        
      <div id="content" class="app-content" role="main">
<div class="app-content-body ">
<div class="hbox hbox-auto-xs hbox-auto-sm" ng-init="
    app.settings.asideFolded = false; 
    app.settings.asideDock = false;">


  <!--  头部-->
  


  <!--  头部-->
      <body class="authentication-bg authentication-bg-pattern">

        <div class="account-pages mt-5 mb-5">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-md-8 col-lg-6 col-xl-5">
                        
	        <div class="card bg-pattern">
	
	           	<div class="card-body p-4">
	                    
	                <div class="text-center w-75 m-auto">
	                    <h4><font color="red">{$c['网站名称']}</font></h4>
	                    <p class="text-muted mb-4 mt-3">输入您的用户名与密码，登录控制台</p>
	                </div>
<body>
    {include file="alert_login.tpl"}
<form method="post" action="">
  
  
                    		<form id="form-login" action="login.php" method="post" class="form-horizontal">
			<div class="form-group">
				<div class="col-xs-12">
                    <label for="password">用户</label>
					<div class="input-group">
						<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
             <input type="text" name="swapname" placeholder="请输入用户名/邮箱" autocomplete="on" required="" class="form-control no-border">
					</div>
				</div>
			</div>
                              			<div class="form-group">
				<div class="col-xs-12">
                   <label for="password">密码</label>
					<div class="input-group">
						<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
               <input type="password" type="password" name="swappass" placeholder="请输入密码" class="form-control no-border">
					</div>
				</div>
			</div>
                   
                              
                              						<div class="form-group form-actions">
				<div class="col-xs-12">
					<button type="submit" class="btn btn-effect-ripple btn-block btn-primary">登录</button>
				</div>
			</div>
		</form>
                	        <div class="row mt-3">
	            <div class="col-12 text-center">
               <a href="{$ROOT}/plugin/forgot_password" onclick="return confirm('跳转找回？');" class="btn btn-primary mb-3">忘记密码？ 点击找回</a>
                  <a href="{$ROOT}/index/register/" onclick="return confirm('跳转注册？');" class="btn btn-primary mb-3">还没有账号？ 点击注册</a>
       
      
 </div>


       
	     <!-- end col -->
	        </div>
	        <!-- end row -->
 	
	            </div> <!-- end card-body -->
	        </div>
	        <!-- end card -->
            

        

                    </div> <!-- end col -->
                </div>
                <!-- end row -->
            
           
            </div>
            <!-- end container -->
        </div>
        <!-- end page -->

<div align="center"> <footer>
          
                      {$c['底部版权']} {$c['网站名称']}
                    </div>
    

        
        <script type="text/javascript">
			var contextPath = '';
		</script>
        <!-- Vendor js -->
        <script src="{$templatedir}/login/js/vendor.min-0182b452de42d23f7b80836465e466f3.js"></script>
        <script src="{$templatedir}/login/js/notifications.min-37380344fb1ad93edb53b97b637a012b.js"></script>
        <script src="{$templatedir}/login/js/common-144c039da98d63a926190764be0055a2.js"></script>
        <!-- Plugin js-->
        <script src="{$templatedir}/login/js/parsley.min-5c3fc4fb62bb1adaeadc49877707b6c8.js"></script>
		<script src="{$templatedir}/login/js/zh_cn-3b26d4d158a3f6e8a7702cdcee0d0452.js"></script>
		<!-- Loading buttons js -->
		<script src="{$templatedir}/login/js/spin-85e7520783a0b693cc23e39039711900.js"></script>
		<script src="{$templatedir}/login/js/ladda-2cdeb1c554d511c230473227a62c7276.js"></script>
		<!-- Sweet Alerts js -->
        <script src="{$templatedir}/login/js/sweetalert2.min-252818b9b6b54a9934cecbb84516abc7.js"></script>
        <!-- page js -->
		
			<script type="text/javascript">
				var formInstance = $('form').parsley({
					errorsContainer: function(el) {
					    return el.$element.closest('.form-group');
					}
				});
				
				$('#login-form').submit(function(){
					var l = Ladda.create($('#login-btn')[0]);
					l.start();
				});
			</script>
		
        <!-- App js -->
        <script src="{$templatedir}/login/js/app.min-208db838729dd2921afddb56726e1bb6.js"></script>
        
    </body>
    
</html>