-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuitloggen.php
More file actions
89 lines (61 loc) · 2.89 KB
/
uitloggen.php
File metadata and controls
89 lines (61 loc) · 2.89 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
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?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/model/categorie.php"); // wordt gebruikt voor categorieen ophalen uit DB
include_once("app/model/product.php"); // wordt gebruikt voor producten ophalen uit DB
include_once("app/model/account.php"); // wordt gebruikt voor producten ophalen uit DB
include_once("app/security/HashResult.php"); // wordt gebruikt voor database connectie
include_once("app/security/IHashMethod.php"); // Voor het hashen van wachtwoorden
include_once("app/security/StandardHashMethod.php"); // Voor het hashen van wachtwoorden
include_once("app/security/FormValidation.php"); // Ter controle van formulieren
include_once("app/authentication.php"); // wordt gebruikt voor producten ophalen uit DB
include_once("app/mediaportal.php"); // wordt gebruikt voor categorie foto's
?>
<!doctype html>
<html class="no-js" lang="">
<head>
<link rel="stylesheet" type="text/css" href="css/forms.css.php">
<?php
//Hier include je de head-tag-template, alles wat in de header komt pas je aan in "tpl/head-tag-template.php"
include("tpl/head-tag-template.php");
// Als de gebruiker is ingelogd wordt hij uitgelogd.
if (Authentication::isLoggedIn()) {
Authentication::logout();
}
?>
</head>
<body>
<!-- Onze website werkt niet met Internet Explorer 9 en lager-->
<!--[if IE]>
<div id="warning" class="fixed-top"><p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please upgrade your browser to improve your experience and security.</p></div>
<![endif]-->
<!-- Hierin -->
<div id="pagina-container">
<!-- Print de header (logo, navigatiebalken, etc.)-->
<?php
include("tpl/header_template.php");
?>
<!-- Inhoud pagina -->
<div class="content-container-narrow">
<div id="form-title">
<h1>
U bent uitgelogd.
</h1>
<p>
De uitlogprocedure is succesvol verlopen. U wordt nu doorgestuurd naar de startpagina.
</p>
</div>
<meta http-equiv="refresh" content="0;index.php">
<script type="text/javascript">
window.location = "index.php";
</script>
</div>
</div>
<div class="footer-container">
<?php
include("tpl/footer_template.php");
?>
</div>
</body>
</html>