-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·55 lines (52 loc) · 1.45 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home | Bolhoed</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
<link href="opmaak.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="page" class="container">
<div id="header">
<div id="logo">
<h1>
<a>Bolhoed</a>
</h1>
</div>
<div id="menu">
<ul>
<li class="current_page_item"><a>Home</a></li>
<?php
require_once 'classes/DatabaseHandler.class.php';
$db = new DatabaseHandler ();
if ($db->isIngelogd ()) {
echo '<li><a href="inloggen.php?logout">Uitloggen</a></li>';
echo '<li><a href="liveticker">Bestellingen</a></li>';
if ($db->isBeheerder ()) {
echo '<li><a href="statistiek.php">Statistieken</a></li>';
echo '<li><a href="beheer.php">Beheer</a></li>';
}
} else {
echo '<li><a href="inloggen.php">Inloggen</a></li>';
}
?>
</ul>
</div>
</div>
<div id="main">
<div id="banner">
<img src="bolhoed.png" alt="" class="image-full" />
</div>
<div id="welcome">
<div class="title">
<h2>Welkom bij het kassasysteem van de Bolhoed</h2>
<span class="byline">Hier vindt u alle beschikbare informatie</span>
</div>
</div>
</div>
</div>
</body>
</html>