-
Notifications
You must be signed in to change notification settings - Fork 0
/
cambiar-pass.php
85 lines (61 loc) · 2.05 KB
/
cambiar-pass.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
<?php
require_once('app/config.php');
init_secure_session();
if (!isset($_SESSION['email'])) {
header("Location: login.php");
}
$csrf = new \Riimu\Kit\CSRF\CSRFHandler();
$token = $csrf->getToken();
?>
<!DOCTYPE html>
<html lang="es">
<head>
<?php include_once('views/partials/header.php'); ?>
</head>
<body>
<header>
<div class="banner"></div>
<div class="section-divider-up"></div>
<br />
<nav class="nav nav-masthead justify-content-center">
<a class="nav-link" href="index.php">Home</a>
<a class="nav-link" href="staff.php">Staff</a>
<a class="nav-link" href="http://winterao.com.ar/wiki/" target="_blank">Manual</a>
<a class="nav-link" href="multimedia.php">Multimedia</a>
<a class="nav-link" href="descargas.php">Descargas</a>
<a class="nav-link active" href="login.php">Control de Cuenta</a>
</nav>
</header>
<section class="container">
<div class="row">
<!-- Pequeña columna -->
<div class="col"></div>
<!-- Columna principal -->
<div class="col-6 mb-auto shadowed-box">
<div class="titulo center">
<h1 class="regBoxTitle text-center">Cambiar Contraseña</h1>
</div>
<?php
if ($cuentasActivo) {
include_once('views/partials/forms/cambiarpass-form.php');
} else {
echo '<div id="aviso" class="alert alert-danger">';
echo "El sistema de cuentas se encuentra DESACTIVADO en estos momentos";
echo '</div>';
}
?>
</div>
<!-- Pequeña columna -->
<div class="col"></div>
</div>
</section>
</body>
<?php include_once('views/partials/footer.php'); ?>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js"
integrity="sha256-+BEKmIvQ6IsL8sHcvidtDrNOdZO3C9LtFPtF2H0dOHI="
crossorigin="anonymous"></script>
<script src="public/js/cambiar-pass.js"></script>
</html>