website/public/404.php

60 lines
1.6 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>
<link href="/css/error.css" rel="stylesheet">
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>
2021-01-20 23:22:18 +01:00
<span class="typed-cursor">|</span>
2020-12-20 01:23:40 +01:00
</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 = [
{
2021-01-20 23:22:18 +01:00
strings: "openFiles",
output: 'Accessing files...',
2020-12-20 01:23:40 +01:00
postDelay: 1000
},
{
2021-01-20 23:22:18 +01:00
strings: "getFile \"" + window.location.pathname + "\"",
output: "404 File not found, it looks like you're trying to access a file, that doesn't exist in our system.",
2020-12-20 01:23:40 +01:00
postDelay: 1000
},
{
2021-01-20 23:22:18 +01:00
strings: "getErrorMessage",
output: "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...",
2020-12-20 01:23:40 +01:00
postDelay: 2000
}
];
</script>
2021-02-28 13:52:48 +01:00
<script src="/js/script.js"></script>
2020-10-23 10:09:32 +02:00
</body>
</html>