-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRestablecer.php
136 lines (129 loc) · 8.99 KB
/
Restablecer.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?php
require 'php scripts/config.php';
require 'php scripts/conexión_pdo.php';
session_start();
$conexión = new mysqli("localhost", "nerdpizza", "nerdpizza!", "nerdpizza");
include "php scripts/InicioSesión.php";
#if (!empty($_SESSION(['idUsuario']))) {
#} else {
#}
?>
<!DOCTYPE html>
<html class="text-dark" lang="es">
<head>
<link rel="icon" type="image/jpeg" sizes="960x957" href="https://equipo1.prog5a.com/assets/img/Nerd-Pizza.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Nerd Pizza</title>
<link rel="stylesheet" href="https://equipo1.prog5a.com/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://equipo1.prog5a.com/assets/css/Navbar-Centered-Links-icons.css">
<link rel="stylesheet" href="https://equipo1.prog5a.com/assets/css/Articles-Badges-images.css">
<link rel="stylesheet" href="https://equipo1.prog5a.com/assets/css/Formulario.css">
<link rel="stylesheet" href="https://equipo1.prog5a.com/assets/fonts/fontawesome-all.min.css">
<script src="https://equipo1.prog5a.com/assets/js/ModalInicioSesión.js"></script>
</head>
<body class="text-body" style="background-color: #969A97;">
<!-- Login -->
<?php
include "modalLogin.php";
?>
<section class="py-4 py-xl-5" style="background-color: #F6CD13;">
<!-- Header -->
<nav class="navbar navbar-light navbar-expand-md py-3">
<div class="container"><a class="navbar-brand d-flex align-items-center" href="#"><span class="bs-icon-sm bs-icon-rounded bs-icon-primary d-flex justify-content-center align-items-center bs-icon me-2" id="spanPizza">
<img src="https://equipo1.prog5a.com/assets/img/Nerd-Pizza.png" alt="Nerd Pizza" id="LogoNerdPizza"> </span>
<path fill-rule="evenodd" d="M0 10.5A1.5 1.5 0 0 1 1.5 9h1A1.5 1.5 0 0 1 4 10.5v1A1.5 1.5 0 0 1 2.5 13h-1A1.5 1.5 0 0 1 0 11.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zm10.5.5A1.5 1.5 0 0 1 13.5 9h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1zM6 4.5A1.5 1.5 0 0 1 7.5 3h1A1.5 1.5 0 0 1 10 4.5v1A1.5 1.5 0 0 1 8.5 7h-1A1.5 1.5 0 0 1 6 5.5v-1zM7.5 4a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1z">
</path>
<path d="M6 4.5H1.866a1 1 0 1 0 0 1h2.668A6.517 6.517 0 0 0 1.814 9H2.5c.123 0 .244.015.358.043a5.517 5.517 0 0 1 3.185-3.185A1.503 1.503 0 0 1 6 5.5v-1zm3.957 1.358A1.5 1.5 0 0 0 10 5.5v-1h4.134a1 1 0 1 1 0 1h-2.668a6.517 6.517 0 0 1 2.72 3.5H13.5c-.123 0-.243.015-.358.043a5.517 5.517 0 0 0-3.185-3.185z">
</path>
</svg></span><span>Nerd Pizza</span>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-2"><span class="visually-hidden">Toggle navigation</span>
<span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navcol-2">
<ul class="navbar-nav ms-auto">
<li class="nav-item"></li>
<li class="nav-item"></li>
<li class="nav-item">
<a class="nav-link" onclick="document.getElementById('DivInicioSesión').style.display='block'"> <i class="far fa-user" style="font-size: 18px;"></i> Iniciar sesión</a>
</li>
</ul>
<div class="dropdown show">
<button class="dropdown-toggle" aria-expanded="true" data-bs-toggle="dropdown" href="#">Menú</button>
<div class="dropdown-menu" data-bs-popper="none">
<a class="dropdown-item" href="Menú.php">Ingredientes</a>
<!-- <a class="dropdown-item" href="#"><button onclick="document.getElementById('DivInicioSesión').style.display='block'" class="IniciarSesión DecoradoBotón" style="width:auto;" id="BotónAbreInicioSesión">Iniciar sesión</button></a> -->
</div>
</div>
</div>
</div>
</nav>
<!-- Contenido -->
<section style="background-color: #F6CD13;">
<form action="php scripts/crearClaveRecuperación.php" method="post">
<fieldset>
<legend> Recuperación de contraseña </legend>
<p>
<label>Ingrese su correo electrónico:
<input type="email" name="correoRecuperación" id="InputMail">
</label>
</p>
<input type="submit" value="Enviar">
</fieldset>
</form>
</section>
<!-- Pie de pagina -->
<div class="container text-center py-4 py-lg-5" style="background-color: #969A97;">
<div class="row justify-content-center">
<div class="col-lg-3 text-center text-lg-start d-flex flex-column align-items-center order-first align-items-lg-start order-lg-last item social">
<div class="fw-bold d-flex align-items-center mb-2">
<span class="bs-icon-sm bs-icon-rounded bs-icon-primary d-flex justify-content-center align-items-center bs-icon me-2" id="spanPizza">
<img src="https://equipo1.prog5a.com/assets/img/Nerd-Pizza.png" alt="Nerd Pizza" id="LogoNerdPizza"> </span><span>Nerd Pizza</span>
</div>
<p>Con todo el sabor de la pizza con lentes...</p>
</div>
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column item">
<h3 class="fs-6">Servicios</h3>
<ul class="list-unstyled">
<li><a class="link-secondary" href="#">Servicio a domicilio</a></li>
<li><a class="link-secondary" href="#">Eventos</a></li>
<li><a class="link-secondary" href="#">Reservaciones</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column item">
<h3 class="fs-6">Productos</h3>
<ul class="list-unstyled">
<li><a class="link-secondary" href="#">Pizza</a></li>
<li><a class="link-secondary" href="#">Complementos</a></li>
<li><a class="link-secondary" href="#">Paquetes</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column item">
<h3 class="fs-6">Horarios</h3>
<ul class="list-unstyled">
<li><a class="link-secondary" href="#">Servicio a domicilio</a></li>
<li><a class="link-secondary" href="#">Atención en sucursales</a></li>
<li><a class="link-secondary" href="#">Ubicación</a></li>
</ul>
</div>
</div>
<hr>
<div id="RedesSociales" align="center">
<hr id="AntesSociales">
<script lang="JavaScript" src="https://equipo1.prog5a.com/assets/js/Redes Sociales.js"></script>
<h3><a href="mailto:[email protected]" class="TítuloArtículo" id="ContactoCorreo">Contacto</a></h3>
<img class="RedSocial" alt="Ícono de Facebook" id="Facebook" onclick="javascript:AbrirFacebook();" src="https://equipo1.prog5a.com/assets/img/íconoFacebook.png" />
<img class="RedSocial" alt="Ícono de WhatsApp" id="WhatsApp" onclick="javascript:AbrirWhatsApp();" src="https://equipo1.prog5a.com/assets/img/íconoWhatsApp.png" />
<img class="RedSocial" alt="Ícono de Messenger" id="Messenger" onclick="javascript:AbrirMessenger();" src="https://equipo1.prog5a.com/assets/img/íconoMessenger.png" />
<img class="RedSocial" alt="Ícono de Telegram" id="Telegram" onclick="javascript:AbrirTelegram();" src="https://equipo1.prog5a.com/assets/img/íconoTelegram.png" />
<img class="RedSocial" alt="Ícono de Twitter" id="Twitter" onclick="javascript:AbrirTwitter();" src="https://equipo1.prog5a.com/assets/img/íconoTwitter.png" />
<img class="RedSocial" alt="Ícono de Instagram" id="Instagram" onclick="javascript:AbrirInstagram();" src="https://equipo1.prog5a.com/assets/img/íconoInstagram.png" />
</div>
<div class="text-center text-sm-center text-md-center text-lg-center text-xl-center text-xxl-center d-flex justify-content-center align-items-center align-content-center justify-content-md-center align-items-md-center pt-3">
<p class="text-center text-muted d-flex d-md-flex align-items-center justify-content-md-center align-items-md-center mb-0">
Copyright © Nerd Pizza 2022</p>
</div>
</div>
<script src="https://equipo1.prog5a.com/assets/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>