-
Notifications
You must be signed in to change notification settings - Fork 2
/
profile.php
179 lines (158 loc) · 4.75 KB
/
profile.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="CSS/footer&menuBar.css">
<link rel="stylesheet" href="CSS/search.css" />
<link rel="stylesheet" href="CSS/footer.css">
<link rel="stylesheet" href="CSS/profile.css">
<?php
session_start();
include 'includes/control.php';
?>
<title>Profile</title>
</head>
<body>
<?php
if (isset($_GET['error'])) {
echo '<script language="javascript">';
echo 'alert("Vous avez tapez un message ou un email vide, essayez a nouveau!")';
echo '</script>';
unset($_GET);
}
?>
<header>
<a href="accueil.php">
<div class="logo">
<img src="images/logo.png" alt="logo" width="50" height="50" />
</div>
</a>
<nav>
<ul>
<a href="accueil.php">
<li><button class="inscription">Accueil</button></li>
</a>
<a href="matiere.php">
<li><button class="inscription">Matiers</button></li>
</a>
<a href="forum.php">
<li><button class="inscription">Forum</button></li>
</a>
<a href="profile.php">
<li><button class="inscription">Mon profil</button></li>
</a>
<a href="contact.php">
<li><button class="inscription">Contact Us</button></li>
</a>
<a href="apropos.php">
<li><button class="inscription">A propos</button></li>
</a>
<a href="includes/deconnexion.php">
<li><button class="connection">deconnexion</button></li>
</a>
<a href="#">
<?php
if (isset($_SESSION['nom']))
echo "<li><button class=\"connection\">" . $_SESSION['nom'] . "</button></li>";
?>
</a>
</ul>
</nav>
</header>
<div class="main">
<div class="tete">
<img src="images/logo.png" alt="">
<h2>Profile</h2>
</div>
<div class="corp">
<ul>
<li><?= $_SESSION['nom'] ?></li><br>
<li><?= $_SESSION['email'] ?></li><br>
<li>ENSA KHOURIBGA</li><br>
<li>Casablanca</li><br>
</ul>
</div>
<div class="fin">
<a href="parametre.php">Parametres</a>
<a href="includes/deleteAccount.php">Supprimer mon compte</a>
</div>
</div>
<div class="center">
<style>
.center {
height: 100%;
}
</style>
</div>
<div class="footer">
<div class="content-footer">
<div class="content-sociale">
<p href="#" style="
font-size: 20px;
font-weight: 300;
font-family: Georgia, 'Times New Roman', Times, serif;
">
Contacts :
</p>
<br />
<p>Tel : +212-461-184-986</p>
<p>Email: ensa@khouribga.com</p>
<div class="social-img">
<p href="#" style="
font-size: 20px;
font-weight: 300;
font-family: Georgia, 'Times New Roman', Times, serif;
">
Abonnez nous sur:
</p>
<br />
<img src="images/facebook (1).png" alt="" />
<img src="images/ii.png" alt="" />
<img src="images/tt.png" alt="" />
<img src="images/ll.png" alt="" />
</div>
</div>
<div class="content-about">
<a href="#" style="
font-size: 20px;
font-weight: 300;
font-family: Georgia, 'Times New Roman', Times, serif;
color: aliceblue;
">Apropos</a>
<div class="about-show">
<p>
Comme vous le savez de nos jours, nous voyons une <br />
transition énorme de l'utilisation des produits numériques <br />
de plus en plus dans notre vie.
</p>
</div>
<a href="apropos.php"><button class="voir-plus">Voir plus >></button></a>
</div>
<div class="content-contact">
<p href="#" style="
font-size: 20px;
font-weight: 300;
font-family: Georgia, 'Times New Roman', Times, serif;
">
Contactez-nous
</p>
<form action=" includes/sentMessage.php" method="post">
<input type=" text" name="sentEmail" placeholder="Adresse Email" class="email" /><br />
<input type="text" name="sentMessage" placeholder="Message..." class="message" /><br />
<button type="submit" name="sentMsg" value=<?= basename($_SERVER['PHP_SELF']); ?> class="envoyer">Envoyer</button>
</form>
</div>
</div>
<div class="bottom">
© ENSAKH.com | Designed by IID
</div>
</div>
<style>
.footer {
position: absolute;
top: 1000px;
}
</style>
</body>
</html>