-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathban.php
91 lines (63 loc) · 3.03 KB
/
ban.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
$req = $bddConnection->query('SELECT * FROM cmw_ban_config');
$data = $req->fetch(PDO::FETCH_ASSOC);
require('include/version.php');
$banned = true
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<title>
<?= $_Serveur_['General']['name'] . " | BANNI " ?>
</title>
<!-- Meta -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="<?= $_Serveur_["color"]["theme"]["main"]; ?>">
<meta name="msapplication-navbutton-color" content="<?= $_Serveur_["color"]["theme"]["main"]; ?>">
<meta name="apple-mobile-web-app-statut-bar-style" content="<?= $_Serveur_["color"]["theme"]["main"]; ?>">
<meta name="apple-mobile-web-app-capable" content="<?= $_Serveur_["color"]["theme"]["main"]; ?>">
<meta property="og:title" content="<?= $_Serveur_['General']['name'] ?>">
<meta property="og:type" content="website" />
<meta property="og:url" content="https://<?= $_SERVER["SERVER_NAME"] ?>">
<meta property="og:image" content="https://<?= $_SERVER["SERVER_NAME"] ?>/favicon.ico">
<meta property="og:image:alt" content="<?= $_Serveur_['General']['description'] ?>">
<meta property="og:description" content="<?= $_Serveur_['General']['description'] ?>">
<meta property="og:site_name" content="<?= $_Serveur_['General']['name'] ?>" />
<meta name="twitter:title" content="<?= $_Serveur_['General']['name'] ?>">
<meta name="twitter:description" content="<?= $_Serveur_['General']['description'] ?>">
<meta name="twitter:image" content="https://<?= $_SERVER["SERVER_NAME"] ?>/favicon.ico">
<meta name="author" content="CraftMyWebsite, TheTueurCiTy, Teyir, <?= $_Serveur_['General']['name']; ?>" />
<!-- CSS links -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
<link rel="stylesheet" href="theme/<?= $_Serveur_['General']['theme']; ?>/assets/css/custom.css">
</head>
<body>
<?php
?>
<?php
include('theme/' . $_Serveur_['General']['theme'] . '/navbar.php'); //Navbar
tempMess(); ?>
<!-- Contenue de la page -->
<section id="Ban">
<div class="container-fluid col-md-9 col-lg-9 col-sm-10">
<div class="card my-5 p-3">
<h3 class="card-header text-center">
<?= $data['titre']; ?>
</h3>
<h5 class="card-body">
<?= $data['texte']; ?>
</h5>
</div>
</div>
</section>
<?php include('theme/' . $_Serveur_['General']['theme'] . '/formulaires.php'); //Formulaires
include('theme/' . $_Serveur_['General']['theme'] . '/footer.php'); //Footer
?>
<!-- JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
</body>
</html>