-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
60 lines (40 loc) · 1.14 KB
/
home.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
<?php
// Connexion à la base de données !!!
include('connexbdd.php');
// Si l'id de la session ouverte existe alors on à accès au contenu de la page d'accueil du site !!!
if (isset($_SESSION['id'])) {
?>
<!DOCTYPE html>
<html>
<head>
<title>Espace membre</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/full-slider.css">
<link rel="stylesheet" type="text/css" href="style1.css">
</head>
<body>
<header>
<?php include('navbar.php') ?>
</header>
<div class="container">
<div class="row" id=content>
<div class="col-sm-12">
<div class="profile-content">
<h2>Informations personnelles</h2>
<p>Merci de me laisser un message pour plus d'informations !</p>
</div>
</div>
</div>
<div>
<center><a href="#"><span class="glyphicon glyphicon-copyright-mark"></span>Copyright
</center></a>
</div>
</div>
</body>
</html>
<?php
}else{
header('Location:index.php');
}
?>