parent
b858b3efff
commit
552afff483
@ -0,0 +1,52 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
/** |
||||
* @author Robert Strutts |
||||
* @copyright Copyright (c) 2022, Robert Strutts. |
||||
* @license MIT |
||||
*/ |
||||
|
||||
$protocol = "HTTP/1.0"; |
||||
if ( "HTTP/1.1" == $_SERVER["SERVER_PROTOCOL"] ) { |
||||
$protocol = "HTTP/1.1"; |
||||
} |
||||
|
||||
header( "{$protocol} 404 Not Found", true, 404 ); |
||||
header('Content-type: text/html; charset=utf-8'); |
||||
?> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<meta name="language" content="english"> |
||||
<meta name="robots" content="no-follow"> |
||||
<link rel="shortcut icon" href="/assets/favicon/favicon.ico"> |
||||
<title>404 Page not found!</title> |
||||
<style> |
||||
@media only screen and (max-width: 600px) { |
||||
#nopage { |
||||
height: 150px; |
||||
width: 300px; |
||||
} |
||||
} |
||||
@media only screen and (min-width: 600px) { |
||||
#nopage { |
||||
height: 500px; |
||||
width: 1500px; |
||||
} |
||||
} |
||||
</style> |
||||
</head> |
||||
<body> |
||||
<div id="wrap"> |
||||
<img src="/assets/images/404page.jpg" alt="Page not found." id="nopage"/> |
||||
<header><h1>404 Page not found!<h1></header> |
||||
<h3>Our apologies for the temporary inconvenience.</h3> |
||||
</div> |
||||
</body> |
||||
</html> |
||||
<?php |
||||
exit; |
||||
Loading…
Reference in new issue