website/public/404.php

64 lines
1.7 KiB
PHP
Raw Normal View History

<?php
include "internal/config.php";
if (strpos($_SERVER['HTTP_HOST'], '.onion') !== false) {
$trackURL = $trackURLTor;
} else {
$trackURL = $trackURLNormal;
}
?>
2020-10-23 10:09:32 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>404 - Page not found</title>
2020-12-20 01:23:40 +01:00
<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-10-23 10:09:32 +02:00
</head>
<body>
2020-12-02 22:38:05 +01:00
<!-- Matomo Image Tracker-->
<img src="<?php echo($trackURL); ?>" style="border:0" alt="" />
2020-12-02 22:38:05 +01:00
<!-- End Matomo -->
2020-12-20 01:23:40 +01:00
<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>
2020-10-23 10:09:32 +02:00
</div>
2020-12-20 01:23:40 +01:00
<!-- data -->
<div class="terminal-data mimik-run-output">
2020-10-23 10:09:32 +02:00
</div>
2020-12-20 01:23:40 +01:00
<script>
var data = [
{
action: 'type',
strings: ["Accessing files.."],
2020-12-20 01:28:35 +01:00
output: '<span class="gray">grabbing files.. </span><br>&nbsp;',
2020-12-20 01:23:40 +01:00
postDelay: 1000
},
{
action: 'type',
strings: ["404 File not found"],
2020-12-20 01:25:22 +01:00
output: '<span class="gray">It looks like you want to access a file that\'s not available</span><br>&nbsp;',
2020-12-20 01:23:40 +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>
2020-10-23 10:09:32 +02:00
</body>
</html>