| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- /*
- error_reporting(E_ALL);
- ini_set('display_errors', 'On');
- */
- require_once "../core/class/blacklist.class.php";
- new blacklist;
- if(blacklist::isValidIPv4()){
- $text = blacklist::execute();
- } else {
- $text = "La page que vous cherchez n'existe pas.";
- }
- http_response_code(404);
- ?>
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <meta charset="UTF-8">
- <title>Page non trouvée - Erreur 404</title>
- <style>
- body {
- font-family: Arial, sans-serif;
- background-color: #f2f2f2;
- text-align: center;
- padding: 50px;
- }
- .container {
- background-color: #fff;
- padding: 40px;
- border-radius: 10px;
- display: inline-block;
- box-shadow: 0 0 10px rgba(0,0,0,0.1);
- }
- h1 {
- font-size: 48px;
- color: #e74c3c;
- }
- p {
- font-size: 18px;
- color: #333;
- }
- a {
- color: #3498db;
- text-decoration: none;
- font-weight: bold;
- }
- a:hover {
- text-decoration: underline;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <img src="img/logo.png" id="icon" alt="CSE Invent" width="300px">
- <h1>404</h1>
- <p><?= $text ?></p>
- </body>
- </html>
|