forked from Smachy24/MemoryGame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccount.php
More file actions
92 lines (74 loc) · 2.58 KB
/
account.php
File metadata and controls
92 lines (74 loc) · 2.58 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!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>Mon espace</title>
<link rel="stylesheet" href="./styles/account.css" />
<link rel="stylesheet" href="./styles/header.css" />
<link rel="stylesheet" href="./styles/footer.css" />
<script src="https://kit.fontawesome.com/7a226b5b65.js" crossorigin="anonymous"></script>
</head>
<body>
<?php
include "includes/updateMail.inc.php";
include "includes/updatePassword.inc.php";
include "view/header.php"; //inclure le header
?>
<main>
<div class="deco-header">
<h2>MON ESPACE</h2>
</div>
<div class="account-container">
<aside class="user-control-panel">
<div class="user-info">
<div class="user-avatar">
<i class="fa-solid fa-user"></i>
</div>
<p><?php echo $_SESSION["username"] ?></p>
</div>
<h3>
<span><i class="fa-solid fa-chart-simple"></i></span>
STATISTIQUES
</h3>
<h3>
<span><i class="fa-solid fa-gear"></i></span>
MODIFIER MES IDENTIFIANTS
</h3>
<h3>
<span><i class="fa-solid fa-gear"></i></span>
<a href="index.php?logout=true">Deconnexion</a>
</h3>
</aside>
<section class="modif-section">
<form class="modif-container">
<h3>Modification de l'adresse mail</h3>
<div id="modifmail" class="modif-container-column">
<input type="email" placeholder="Ancien Email" />
<input type="email" placeholder="Nouveau Email" />
<input type="password" placeholder="Mot de passe" />
<input type="password" placeholder="Confirmer le mot de passe" />
<button type="submit" id="butVmail" class="validation">
Valider
</button>
</div>
</form>
<form class="modif-container">
<h3>Modification du mot de passe</h3>
<div id="modifmdp" class="modif-container-column">
<input type="password" placeholder="Ancien mot de passe" />
<input type="password" placeholder="Nouveau mot de passe" />
<input type="password" placeholder="Confirmer le nouveau mot de passe" />
<button type="submit" id="butVmail" class="validation">
Valider
</button>
</div>
</form>
</section>
</div>
</main>
<?php include "view/footer.php" //inclure le footer
?>
</body>
</html>