-
Notifications
You must be signed in to change notification settings - Fork 0
/
connexion.php
68 lines (56 loc) · 1.97 KB
/
connexion.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
<?php
include_once 'Include/genererSession.include.php';
include_once 'Include/validerConnexion.include.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Key Vault - Connexion</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">Connexion</p>
<Form name="formLogin" method="post" action="Redirect/validerSession.redirect.php">
<label for="email">Adresse e-mail :
<input type="text" name="email" id="email">
</label>
<label for="pass">Mot de passe :
<input type="password" name="pass" id="pass">
</label>
<button onclick="formLogin.submit()">Connecter</button>
<a href="nouveauCompte.php">Pas de compte?</a>
<a href="oublieMotDePasse.php">Oublier votre compte?</a>
</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>