-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-bkp.php
54 lines (50 loc) · 1.4 KB
/
index-bkp.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registrar</title>
<?php
include "./vendor/autoload.php";
include "./assets-bunch.php";
include "./model-config.php";
if (isset($_GET['mode']))
{
$mode = $_GET['mode'];
}
else $mode = null;
echo "<pre>" , var_dump($_SERVER["HTTP_HOST"]) , "</pre>";
echo "<pre>" , var_dump($_SESSION) , "</pre>";
if (isset($_SESSION['mainMsg']))
{
unset($_SESSION['mainMsg']);
}
?>
</head>
<body>
<?php
include "./view-generic-modal.php";
?>
<div class="container border mt-5">
<div id="form-content" class="mb-2">
<?php
if ($mode=="resetAuth")
{
include "./view-form-reset-auth.php";
}
else
{include "./view-form-register.php";}
?>
</div>
<?php
if ($mode !="resetAuth")
{
include "./view-adittional-login-info.php";
}
?>
<div id="responseContainer">
</div>
</div>
</body>
</html>