-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestablecer_password.php
222 lines (183 loc) · 7.41 KB
/
restablecer_password.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<?php
include_once('funciones/loginF.php');
session_start();
$logincl = new LoginBBDD;
$modal = $logincl->restContr();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="Programa bolsa de empleo." />
<meta name="author" content="Eduardo Morales" />
<meta name="copyright" content="" />
<meta name="producto" content="TetuanJobs" />
<meta name="version" content="V1.0" />
<link rel="icon" type="image/png" href="images/favicon.png"/>
<title>TetuanJobs | Restablecer Contraseña </title>
<!-- Bootstrap CSS-->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/bootstrap-toggle.min.css" rel="stylesheet" />
<!-- Plugins CSS-->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<link href="plugins/animo/animateanimo.css" rel="stylesheet" />
<link href="plugins/csspinner/csspinner.min.css" rel="stylesheet" />
<link href="plugins/Notific/jquery.notific8.min.css" rel="stylesheet" />
<!-- DataTables CSS -->
<link href="css/dataTables.bootstrap.min.css" rel="stylesheet" />
<link href="css/dataTables.responsive.bootstrap.min.css" rel="stylesheet" />
<!-- Web CSS-->
<link href="css/app.css" rel="stylesheet" />
<!-- Aplicación CSS-->
<link href="css/tetuanjobs.css" rel="stylesheet" />
<style type="text/css">
@media only screen and (min-width: 768px){
.main-content{
margin-top: 60px;
}
}
</style>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Modernizr JS Script-->
<script src="plugins/modernizr/modernizr.js"></script>
<!-- FastClick for mobiles-->
<script src="plugins/fastclick/fastclick.js"></script>
</head>
<body>
<div class="wrapper">
<!--<app:navigation ID="navigation" runat="server" />-->
<!-- Barra Navegacion -->
<nav role="navigation" class="navbar navbar-default navbar-top navbar-fixed-top">
<!--Logo-->
<div class="navbar-header">
<a href="#" class="navbar-brand">
<div class="brand-logo">
<img src="images/logo.png" alt="App Logo" class="img-responsive" />
</div>
<div class="brand-logo-collapsed">
<img src="images/logo-single.png" alt="App Logo" class="img-responsive" />
</div>
</a>
</div>
<!---->
</nav>
<!-- Fin Barra Navegacion -->
<!-- CONTENIDO INICIO -->
<!-- START Page content-->
<div class="main-content">
<h1>Restablecer Contraseña</h1>
<!--panel cambiar contraseña -->
<div class="row">
<div class="col-md-offset-2 col-md-8">
<form method="post">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Formulario</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="form-group">
<label>Nueva contraseña</label>
<input type="password" class="form-control" id="ncontr" name="ncontr" value="" required="required">
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="form-group">
<label>Confirma la contraseña</label>
<input type="password" class="form-control" id="ccontr" name="ccontr" value="" required="required">
</div>
</div>
</div>
</div>
<div class="panel-footer">
<div class="row">
<div class="col-md-12 text-right">
<input type="reset" class="btn btn-warning" name="limpiar" value="Limpiar">
<input type="submit" id="restcontr" name="restcontr" value="Restablecer" class="btn btn-green">
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<!-- Fin panel cambiar contraseña -->
</div>
<!-- END Page content-->
<!--<app:footer ID="footer" runat="server" />-->
<footer class="text-center">© 2018 - Copyright - Desarrollado por: Eduardo Morales<br /></footer>
</div>
<!-- CONTENIDO FIN -->
</div>
<!-- Modal mensaje del servidor -->
<div class="modal fade" id="modalmensaje" >
<div class="modal-dialog modal-lg">
<!-- Contenido del modal // Un modal es una ventana que se muestra encima del contenido -->
<div class="modal-content">
<div class="modal-header">
<!-- Este boton sirve para cerrar el modal -->
<button type="button" class="close" data-dismiss="modal">×</button>
<!-- Este es el título de la cabecera del modal -->
<h4 class="modal-title"><span id="titexp">Aviso</span></h4>
</div>
<!-- Este es el cuerpo del modal -->
<div class="modal-body">
<p><?php //echo $_REQUEST["mensaje"]; ?>
<span id="mensajeserv"></span></p>
</div>
<!-- Este es el pie del modal -->
<div class="modal-footer">
<input type="button" class="btn btn-info" data-dismiss="modal" value="Salir">
<!-- Para cerrar todos los modales con data-dismiss-->
</div>
</div>
</div>
</div>
<!-- Fin Modal -->
<!-- jQuery Scripts-->
<script src="js/jquery-2.1.4.min.js"></script>
<!-- Bootstrap Scripts-->
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-toggle.min.js"></script>
<!-- Plugins Scripts-->
<script src="plugins/jquery.json-2.4.js"></script>
<script src="plugins/animo/animo.min.js"></script>
<script src="plugins/chosen/chosen.jquery.min.js"></script>
<script src="plugins/filestyle/bootstrap-filestyle.min.js"></script>
<script src="plugins/slider/js/bootstrap-slider.js"></script>
<script src="plugins/sparklines/jquery.sparkline.min.js"></script>
<script src="plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="plugins/classyloader/js/jquery.classyloader.min.js"></script>
<script src="plugins/store/storejson2.min.js"></script>
<script src="plugins/Notific/jquery.notific8.min.js"></script>
<!-- Data Table Scripts-->
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<!-- Tabla responsive -->
<script src="js/dataTables.responsive.min.js"></script>
<script src="js/app.js"></script>
<!-- Aplicación Scripts-->
<script src="js/tetuanjobs.js"></script>
<script type="text/javascript">
restablecer();
</script>
<?php
if(isset($_SESSION["mensajeServidor"])&&isset($_SESSION["fallo"])){
echo '<script type="text/javascript">
mensajeModal("'.$_SESSION["mensajeServidor"].'"");
</script>';
unset($_SESSION["mensajeServidor"]);
unset($_SESSION["fallo"]);
}
if(isset($modal)){
echo $modal;
}
?>
</body>
</html>