-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
31 lines (27 loc) · 793 Bytes
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
if (!empty($_SERVER['HTTP_REFERER'])) {
$refPos = strpos($_SERVER['HTTP_REFERER'], '?');
$referer = substr($_SERVER['HTTP_REFERER'], 0, ($refPos ? $refPos : strlen($_SERVER['HTTP_REFERER'])));
header("Location: {$referer}?404=true");
}
?>
<!doctype html>
<html class="no-js" lang="en">
<?php
$pageName = '404 - Could not find that';
$customClass = '_404';
include_once('inc/template.head.php');
?>
<body>
<?php
include_once('inc/template.header.php');
?>
<div id="content" class="gradient-helper <?php echo $customClass; ?>">
<div class="container">
<h1>Can't find that!</h1>
<p class="main">But worry not, you'll find your Tokens <a href="<?php echo $headerPageList['ICO']; ?>">here</a>.</p>
</div>
</div>
<?php include_once('inc/template.footer.php'); ?>
</body>
</html>