-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.php
32 lines (32 loc) · 893 Bytes
/
admin.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
<?php
include "header.php" // Includes Login Script
?>
<?php
if(!isset($_SESSION['login_user']) && $_SESSION['login_user'] != "my@admin.com")
{
echo "vous n'etes pas admin";
}
else
{
?>
<section>
<div class="outer-panel">
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="col-md-12">
<input type="button" onclick="location.href='txt/'" name="btnListing" value="Listing" class="big-buttons col-md-12">
</div>
<div class="col-md-12">
<input type="button" onclick="location.href='admin_accueil.php'" name="btnGstAccueil" value="Gestion de l'accueil" class="big-buttons col-md-12">
</div>
<div class="col-md-12">
<input type="button" onclick="location.href='admin_stock.php'" name="btnGstStock" value="Gestion de stock" class="big-buttons col-md-12">
</div>
</div>
</div>
</div>
</section>
<?php } ?>
<?php
include "footer.php" // Includes Login Script
?>