website/public/internal/500.php

60 lines
2 KiB
PHP
Raw Normal View History

2020-12-20 01:02:00 +01:00
<?php
function getError500()
{
return <<<EOF
<!DOCTYPE html>
<html lang="en">
2020-12-20 01:21:43 +01:00
<head>
<meta charset="UTF-8">
<title>500 - Internal Server error</title>
<link href="/css/error.css" rel="stylesheet">
<script src="/js/jquery-2.1.3.min.js"></script>
2020-12-20 01:30:31 +01:00
<script src="/js/typed.js"></script>
2020-12-20 01:21:43 +01:00
</head>
<body>
<!-- Matomo Image Tracker-->
<img src="https://matomo.jonasled.de/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo -->
<div id="particles-js"></div>
<div class="terminal-window">
<header>
<div class="button green"></div>
<div class="button yellow"></div>
<div class="button red"></div>
</header>
<section class="terminal">
<div class="history"></div>
$&nbsp;<span class="prompt"></span>
<span class="typed-cursor"></span>
</section>
</div>
<!-- data -->
<div class="terminal-data mimik-run-output">
</div>
<script>
var data = [
{
action: 'type',
strings: ["Accessing restricted files.."],
2020-12-20 01:28:35 +01:00
output: '<span class="gray">grabbing files.. </span><br>&nbsp;',
2020-12-20 01:21:43 +01:00
postDelay: 1000
},
{
action: 'type',
strings: ["500 Internal Error"],
2020-12-20 01:25:22 +01:00
output: '<span class="gray">It looks like there is a bug</span><br>&nbsp;',
2020-12-20 01:21:43 +01:00
postDelay: 1000
},
{
action: 'type',
strings: ["These are not the error codes you're looking for.", 'Please either report this error to an administrator or return back and forget you were here...'],
postDelay: 2000
}
];
</script>
<script src="/js/error.js"></script>
</body>
2020-12-20 01:02:00 +01:00
</html>
EOF;
}