-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherreur.php
40 lines (18 loc) · 1.09 KB
/
erreur.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
<?php
/* ---------------------------------------------------------------------------------------------------------------- INIT */
include("lib/app/website/app.php");
/* ---------------------------------------------------------------------------------------------------------------- INFOS */
$n = ( isset($_GET["n"]) AND is_numeric($_GET["n"]) ) ? $_GET["n"] : "";
$txt = functions::http_code( $n );
/* ---------------------------------------------------------------------------------------------------------------- CONFIG */
$_HTML["page"] = "erreur";
$_HTML["title"] = "ERREUR ".$n." — ".$_HTML["title"];
/* ---------------------------------------------------------------------------------------------------------------- CONTENT */
$_HTML["data"]["content"] .= "
<div class='important center' style='padding:60px 0;'>
<span class='bold'>ERREUR ".$n."</span>
<br />
<br />".$txt."
</div>";
/* ---------------------------------------------------------------------------------------------------------------- DISPLAY */
$_HTML["display"] = true;