Repository navigation
Expand file tree
/
Copy pathindex.php
More file actions
32 lines (32 loc) · 1.48 KB
/
Copy pathindex.php
File metadata and controls
32 lines (32 loc) · 1.48 KB
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
<?php
session_start();
require_once __DIR__ . '/config/bootstrap.php';
$backgroundVideo = 'video' . random_int(1, 4) . '.mp4';
if (isset($_SESSION['session_usuario'], $_SESSION['session_cargo'])) {
header("Location: home.php");
exit();
}
?>
<!doctype html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./assets/resources/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cotix360</title>
<script type="module" crossorigin src="./assets/js/index-qXMyHo4h.js?v=3.5"></script>
<link rel="stylesheet" crossorigin href="./assets/css/index-D03ZEYWy.css?v=3.4">
<link rel="stylesheet" href="./assets/css/login-validation.css">
<link rel="stylesheet" href="./assets/css/login-responsive.css?v=1.1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/alertifyjs@1.14.0/build/css/alertify.min.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/alertifyjs@1.14.0/build/css/themes/default.min.css"/>
</head>
<body>
<video autoplay loop muted playsinline id="background-video">
<source src="./assets/resources/<?= $backgroundVideo ?>" type="video/mp4">
Tu navegador no soporta la reproducción de video.
</video>
<div id="root" data-recaptcha-site-key="<?= htmlspecialchars($_ENV['RECAPTCHA_SITE_KEY'] ?? '') ?>"></div>
<script src="https://cdn.jsdelivr.net/npm/alertifyjs@1.14.0/build/alertify.min.js"></script>
</body>
</html>