-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin_connexion.php
More file actions
64 lines (39 loc) · 1.32 KB
/
admin_connexion.php
File metadata and controls
64 lines (39 loc) · 1.32 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>A LA PATATE</title>
<link rel="stylesheet" type="text/css" href="css/admin_connexion.css">
<link rel="icon" href="images/logo_patate.png" />
</head>
<body>
<div class="logo">
<img src="images/logo_patate.png" class="logo--patate">
</div>
<div class="admin--title">Connexion à votre espace d'administration !</div>
<?php
if(isset($_SESSION['erreur']))
{
echo '<p class="message-erreur">'.$_SESSION['erreur'].'</p>';
unset($_SESSION['erreur']);
}
?>
<form action="php/admin_gestion.php" method="post">
<div class="formulaire--connexion">
<div class="input-connexion">
<input class="inputcss" type="text" name="identifiant" placeholder="Identifiant" required>
<br><br>
<br><br>
<input class="inputcss" type="password" name="password" placeholder="Mot de passe" required>
<br><br><br><br>
<input type="submit" class="btn btn-2 btn-2a" value="Se Connecter">
</div>
</div>
</form>
<div class="footer">
<p class="copyright">2020 | Copyright | A la Patate, Tous droits réservés</p>
</div>
</body>
</html>