-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
56 lines (41 loc) · 1.47 KB
/
index.php
File metadata and controls
56 lines (41 loc) · 1.47 KB
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
<?php
session_start();
include_once './db/variables.php';
$ip_bloquee = '172.16.1.10';
$ip_visiteur = $_SERVER['REMOTE_ADDR'];
if ($ip_visiteur === $ip_bloquee) {
http_response_code(403);
die('Accès refusé <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSjntChKonvOPTkzFMrAye40ok7QcLUBexP_g&s" alt="">');
}
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="keywords" content="Course, Running">
<meta name="description" content="Devenez adhérents à des courses à pied">
<meta name="author" content="QUEIROZ Florian">
<meta name="viewport" content="width=device-width">
<title>Club de course à pied</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/pages/index.css">
<link rel="shortcut icon" href="../media/favicon.png" type="image/x-icon">
</head>
<body>
<?php
include './components/header.php';
?>
<div class="div-welcome-message-pos">
<div class="div-flex-messages">
<p>Bienvenue</p><p>dans</p><p>votre</p><p>club</p><p>de</p><p class="important">running</p>
</div>
</div>
<!-- <section>
<?php
?>
</section> -->
<?php
include './components/footer.php';
?>
</body>
</html>