-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·66 lines (53 loc) · 1.67 KB
/
index.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
<?php
include_once 'Include/genererSession.include.php';
include_once 'Include/validerConnexion.include.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Key Vault - Accueil</title>
<link rel="stylesheet" type="text/css" href="CSS/main.css">
<link rel="stylesheet" type="text/css" href="CSS/grid.css">
</head>
<body class="main-Grid">
<div id="headerL">
<a href="Redirect/logoClick.redirect.php" class="logo"><img src="Ressources/Logo.png"></a>
</div>
<div id="headerC">
</div>
<div id="headerR">
</div>
<?php
if (isset($_SESSION['Notification'])) {
echo "<div id='bodyL' class='section'>";
echo '<h1 style="Color:red">' . $_SESSION['Notification'] . '</h1>';
unset($_SESSION['Notification']);
}
else
echo "<div id='bodyL'>";
?>
</div>
<div id="bodyC" class="section centerDefault">
<p class="titre">Bienvenue sur KeyVault!</p>
<p>KeyVault est une plateforme de stockage et de gestion de vos différents mots de passe.
Simplement à vous créer un compte pour créer votre classeur personnel et commencer à stocker vos mots de passe.</p>
<form name="formConnexion" method="post" action="connexion.php" style="display:inline;">
<button onclick="formConnexion.submit()">Connexion</button>
</form>
<form name="formNouveau" method="post" action="nouveauCompte.php" style="display:inline;">
<button onclick="formNouveau.submit()">Nouveau compte</button>
</form>
</div>
<div id="bodyR">
</div>
<div id="footerL">
</div>
<div id="footerC">
<a>Fait par Marc-Antoine Gélinas</a>
<a>Dans le cadre du cours Projet Web 2018</a>
</div>
<div id="footerR">
</div>
</body>
</html>