<?php
error_reporting(E_ERROR | E_PARSE);
	header ("Expires: Thu, 27 Mar 1980 23:59:00 GMT"); //la pagina expira en una fecha pasada
	header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //ultima actualizacion ahora cuando la cargamos
	header ("Cache-Control: no-cache, must-revalidate"); //no guardar en CACHE
	header ("Pragma: no-cache");
	$fondo=rand(6,7);
	$control_error=$_GET['error_login'];
?>
<!DOCTYPE html>
<html lang="en">    
<head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
        <meta name="description" content="SISTEMA DE ADMINISTRATICO INTEGRAL, AMANACU">
        <meta name="author" content="ING. CARLOS LOPEZ PROGRAMADOR">
        <title>Sistema Integral</title>
        <link href="css/style.default.css" rel="stylesheet">
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <script src="js/respond.min.js"></script>
        <![endif]-->
		<style>
			body {
			  background-image: url('images/amanacu_x1.jpg');
			}
		</style>
</head>
    <body class="signin">
        <section>
            <div class="panel panel-signin">
                <div class="panel-body">
					<img src='images/cropped-logo-SAINT.png' width="100" >
                    <div class="mb30"></div>
                    <form action="cpanel.php" method="post">
					<?php if($control_error!=''){ ?>
								<div class="alert alert-danger">
                                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                                    <strong>Oh Ups..!</strong>  Datos ingresados incorrectos.
                                </div>	
					<?php }?>
                        <div class="input-group mb15">
                            <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
                            <input name="user" type="text" class="form-control" placeholder="Usuario" autocomplete="off"  autofocus required="required">
                        </div><!-- input-group -->
                        <div class="input-group mb15">
                            <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                            <input name='pass' type="password" class="form-control" placeholder="Clave" required="required" onkeypress="return tabular(event,this)">
                        </div><!-- input-group -->
                        <div class="clearfix">
						    <div class="pull-left">
                                <div class="ckbox ckbox-primary mt10">
                                    <input type="checkbox" id="rememberMe" value="1">
                                    <label for="rememberMe">Recordar datos</label>
                                </div>
                            </div>
                            <div class="pull-right">
							    <a class="btn btn-default">Recuperar acceso</a>
                                <button type="submit" class="btn btn-success">Ingresar <i class="fa fa-angle-right ml5"></i></button>
                            </div>
                        </div>    
						
                    </form>
                   
                </div><!-- panel-body -->
                <div class="panel-footer">
                    <a href="" class="btn btn-primary btn-block">Registrate</a>
                </div><!-- panel-footer -->
            </div><!-- panel -->
            
        </section>


        <script src="js/jquery-1.11.1.min.js"></script>
        <script src="js/jquery-migrate-1.2.1.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/modernizr.min.js"></script>
        <script src="js/pace.min.js"></script>
        <script src="js/retina.min.js"></script>
        <script src="js/jquery.cookies.js"></script>

        <script src="js/custom.js"></script>

    </body>

</html>
