<?php
session_start();
if(isset($_SESSION['user_token']) or isset($_COOKIE['pike_rememberme']))
	{
	// user is logged
	header("location:account.php");
	exit;
	}
	
require_once "config.php";


?>
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
    
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Login</title>

    <!-- Core CSS -->
    <link href="<?php echo ADMIN_URL;?>/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="<?php echo ADMIN_URL;?>/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet">

	<!-- Custom CSS -->
	<link href="<?php echo ADMIN_URL;?>/assets/css/login.css" rel="stylesheet">

    <!-- Checkboxes style -->
    <link href="<?php echo ADMIN_URL;?>/assets/css/bootstrap-checkbox.css" rel="stylesheet">
</head>

<body class="login foo" style="overflow: hidden;">



<div >
	<div class="row h-100 justify-content-center align-items-center">	
			
		

		<form data-toggle="validator">                                
			<div class="login-box">
				<div class="login-box-body recuadroLogin" >
					<div id="divInstruccion" class="ingreseAlSistema">SISTEMA DE TRAZABILIDAD DE RECONOCIMIENTOS</div>
					<div class="row" style=" padding-top:30px">
						<div class="hidden-xs col-md-6 col-sm-6 col-xs-12">
							<div class="hidden-xs" style="text-align: center; padding-top:5px; margin-bottom:30px">
								<img src="/sippre/assets/images/logo.png" class="logoLogin" />
							</div>
						</div>
					   
						<div class="col-md-6 col-sm-6 col-xs-12" style="margin-left: 1px solid; border-left: 1px solid #80808026;
							position: relative; overflow: hidden; margin: auto; box-shadow: 0px 0px 0px 0px grey;color: #66666687;";>
							<div style="text-align:center; font-size:18px; font-weight:bold">
								Ingresar al Sistema
							</div>
							<br />
							
							<form action="#" method="post">
							<div class="form-group has-feedback">
								<input id="txtUsuario" type="text" class="form-control" placeholder="Usuario">
								<span class="fa fa-user form-control-feedback"></span>
							</div>
							<div class="form-group has-feedback">
								<input id="txtPassword" type="password" class="form-control" placeholder="Contraseña">
								<span class="fa fa-unlock-alt form-control-feedback"></span>
							</div>
							</form>
							<div class="social-auth-links text-center" style="padding-top: 10px">									
								<a id="btnLogin" role="button" href="#" class="btn btn-secondary" style="margin-right: 10px;"><span class="btn-label"><i class="fa fa-file-text" style="
    margin-right: 10px;
"></i></span>Ingresar</a>
							</div>
						</div>
					</div>
				</div>
				<!-- /.login-box-body -->
			</div>																					
		</form>

	<div class="clear"></div> 					            

		
	</div>	
</div>

	
<!-- Core Scripts -->
<script src="<?php echo ADMIN_URL;?>/assets/js/jquery-1.10.2.min.js"></script>
<script src="<?php echo ADMIN_URL;?>/assets/js/bootstrap.min.js"></script>
<script src="<?php echo ADMIN_URL;?>/assets/js/jquery.backstretch.min.js"></script>
<script src="<?php echo ADMIN_URL;?>/assets/js/sweetalert.min.js"></script>
<script src="<?php echo ADMIN_URL;?>/assets/js/utilerias.js"></script>
<script src="<?php echo ADMIN_URL;?>/assets/js/cargando.js"></script>
<script src="<?php echo ADMIN_URL;?>/Scripts/login.js"></script>

</body>
</html>