-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
65 lines (41 loc) · 2.03 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
header("HTTP/1.0 404 Not Found");
include_once($_SERVER['DOCUMENT_ROOT'].'/global.inc.php');
include_once($rootDir.'/db.inc.php');
$pageTitle = 'Not Found! (Error 404)';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/png" href="<?= $rootAssetUrl ?>images/logo.png">
<title><?= $pageTitle ?> - <?= $blogTitle ?></title>
<meta name="description" content="<?= $pageTitle ?> for <?= $blogTitle ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Styles -->
<link rel="stylesheet" href="<?= $rootAssetUrl ?>css/default.css"/>
<link rel="stylesheet" href="<?= $rootAssetUrl ?>css/global.css"/>
<!-- Fonts -->
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Reenie+Beanie&text=Flolon%20Blog&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons&family=Roboto&family=Roboto+Slab:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/fork-awesome.min.css"/>
</head>
<body>
<div class="pageHeight">
<?php include($rootDir.'/navbar.inc.php'); ?>
<div class="container" style="margin-top: 2rem;">
<div class="content">
<div class="meta">
<h1 class="title"><?= $pageTitle ?></h1>
</div>
<div class="main-text">
<p>This resource does not exist</p>
<p><a class="link" href="<?= $rootUrl ?>">Home</a></p>
</div>
</div>
</div><!-- /container -->
</div><!-- /pageHeight -->
<?php include($rootDir.'/footer.inc.php'); ?>
</body>
</html>