website/public/404.php
2021-02-28 14:09:57 +01:00

63 lines
No EOL
1.6 KiB
PHP

<?php
include "internal/config.php";
if (strpos($_SERVER['HTTP_HOST'], '.onion') !== false) {
$trackURL = $trackURLTor;
} else {
$trackURL = $trackURLNormal;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>404 - Page not found</title>
<link href="/css/error.css" rel="stylesheet">
</head>
<body>
<!-- Matomo Image Tracker-->
<img src="<?php echo($trackURL); ?>" 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 = [
{
strings: "openFiles",
output: 'Accessing files...',
postDelay: 1000
},
{
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.",
postDelay: 1000
},
{
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...",
postDelay: 2000
}
];
</script>
<script src="/js/script.js"></script>
<script>
startNewTask();
</script>
</body>
</html>