-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
36 lines (34 loc) · 1.22 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/***
* en caso de que el usuario ya tenga una sesion iniciada lo redirecciona
* al panel
* * */
session_start();
if(isset($_SESSION["id"]))
{
header("Location: panel/");
exit();
}
?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/styles_index.css">
<script type="text/javascript" src="js/dialogos_index.js"></script>
<title>TU BANCO</title>
</head>
<body>
<div>
<h1 id="title">Bienvenido a tu Banco</h1>
<form action="includes/login.php" method="post">
<input class="login" type="text" name="email" placeholder="Ingrese su correo" required>
<input class="login" type="password" name="password" placeholder="Ingrese su contraseña" required>
<input class="submit" type="submit" value="Ingresar">
<a href="nueva_clave/"><p>¿Ha olvidado su contraseña?</p></a>
<a href="registrarse/"><p>¿No tiene una cuenta?</p></a>
</form>
</div>
</body>
</html>