
<!-- codifgo de login-->

<? 

session_start();  
$_SESSION['index.php'] = TRUE;
header('Location:admin.php');
 ?>  
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>login</title>
    <link rel="icon" type="image/p" href="IMG/imgutsem/micpusinfondo.png"/>
    <link rel="stylesheet" href="css/estilos.css">
    <link rel="stylesheet" href="css/cabecera.css">
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    
</head>
<!-- boton de regresar-->
<a id="volver" href="home.php"><button class="bton" type="button">Inicio</button></a>
<body class="fondo">
<div>
<!-- validacion y inicio de sesion en el login-->
   <form action="validar.php" method="post">
  
   <h1 class="animate__animated animate__backInLeft">INICIO DE SESIÓN</h1>
   <p class="blanco">Usuario <input type="text" placeholder="Ingrese su nombre" name="usuario"></p>
   <p class="blanco">Contraseña <input type="password" placeholder="Ingrese su contraseña" name="contraseña"></p>
   <input class="btn btn-success" type="submit" value="Ingresar">

   </form>
</div> 

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
</body>
</html> 