forked from jefvannot/php_rush00
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·44 lines (37 loc) · 976 Bytes
/
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
<?php
session_start();
include("install.php");
include('partial/head.php');
include('partial/header.php');
?>
<body>
<?php
if ($_SESSION['flag_profil_updated'] == "OK")
{
echo "<div class='flag'><p>Votre profil a bien été modifié\n</p></div>";
$_SESSION['flag_profil_updated'] = NULL;
}
if ($_SESSION['flag_passwd_updated'] == "OK")
{
echo "<div class='flag'><p>Votre mot de passe a bien été modifié\n</p></div>";
$_SESSION['flag_passwd_updated'] = NULL;
}
if ($_SESSION['flag_user_created'] == "OK")
{
echo "<div class='flag'><p>Votre compte a bien été créé\n</p></div>";
$_SESSION['flag_user_created'] = NULL;
}
if ($_SESSION['flag_user_deleted'] == "OK")
{
echo "<div class='flag'><p>Votre compte a bien été supprimé\n</p></div>";
$_SESSION['flag_user_deleted'] = NULL;
}
?>
<div class="container">
<div class="row">
trucs a vendre
</div>
</div>
<?php include('partial/footer.php'); ?>
</body>
</html>