-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path404.php
More file actions
38 lines (28 loc) · 1.22 KB
/
404.php
File metadata and controls
38 lines (28 loc) · 1.22 KB
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
<?php
// Uit deze php bestanden gebruiken wij functies of variabelen:
include_once("app/vendor.php"); // wordt gebruikt voor website beschrijving
include_once("app/database.php"); // wordt gebruikt voor database connectie
include_once("app/cart.php"); // wordt gebruikt voor database connectie
include_once("app/model/categorie.php"); // wordt gebruikt voor categorieen ophalen uit DB;
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<?php
include("tpl/head-tag-template.php");
?>
</head>
<body>
<?php
include("tpl/header_template.php");
?>
<!--Simpele tekst voor de 404 page not found met een knop om terug te gaan naar de homepage-->
<div id="pagina-container" style="text-align: center">
<h1>Pagina niet gevonden</h1>
<p>Sorry er wordt hieraan gewerkt. Klik op een categorie of ga terug naar de homepagina.</p><br><br>
<!-- Deze knop stuurt de gebruiker naar de homepagina -->
<button class="Big-button" onclick="location.href='index.php'">Verder met shoppen</button>
</div>
</body>
</html>
<!-- IE needs 512+ bytes: https://blogs.msdn.microsoft.com/ieinternals/2010/08/18/friendly-http-error-pages/ -->