Errorpages/php/index.php

32 lines
1.1 KiB
PHP
Raw Normal View History

2023-10-16 12:53:24 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Montehaselino - Automatic Status Response</title>
<link href="master.css" rel="stylesheet"/>
</head>
<body>
<div>
<div id="cloud1"></div>
<div id="cloud2"></div>
<div id="cloud3"></div>
<img id="mountain" src="res/svg/error-page-overlay.svg" alt="">
<div id="rocks"></div>
<h1>ERROR</h1>
<?php
include "messages.php";
$response = get_status_message($_SERVER["REQUEST_URI"]);
echo "<h2>" . $response[0] ."</h2>";
echo "<h3>" . $response[1] . "</h3>";
?>
<a href="javascript:window.history.back();">Go Back</a>
<hr>
<div class="subtle">This is an automatically generated error response page.<br>Please contact administration if you feel this shouldn't be here.</div>
</div>
</body>
</html>