-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
executable file
·53 lines (47 loc) · 1.28 KB
/
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
45
46
47
48
49
50
51
52
53
<?php
session_start();
include("install.php");
$css_path = "./";
$css_file = "index_about_contact.css";
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;
}
if ($_SESSION['basket_saved'] == "OK")
{
echo "<div class='flag'><p>Votre panier a bien été sauvegardé\n</p></div>";
$_SESSION['basket_saved'] = NULL;
}
?>
<div class="container index">
<a href="products.php">
<div class="row">
<h1>Il y a tant de mondes à posséder</h1>
<h2>Nous avons tant à vous offrir</h2>
</div>
</a>
</div>
<?php include('partial/footer.php'); ?>
</body>
</html>