-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfirm.php
101 lines (93 loc) · 3.42 KB
/
confirm.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
require('database/database.php');
session_start();
//Chek if post isset
if (isset($_POST['submit'])) {
$email = $_POST['email'];
$password = $_POST['password'];
if($email == "" || $password == ""){
$error = "Vul beide gegevens in";
} elseif($email != "[email protected]" || $password != "test") {
$error = "Combinatie gebruikersnaam/wachtwoord onjuist";
}
if (!isset($error)) {
$_SESSION['login'] = $email;
}
}
//Ben in ingelogd?
if (isset($_SESSION['login'])) { // checkt of er een sessie in werking is
header("Location: secure.php");
exit;
}
//wachtwoord inplementatie
$tbl_name="admins"; // Table name
?>
<!doctype html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Reservering</title>
</head>
<body>
<div class="container">
<div class="header">
<div class="subheader">
<div class="center"></div>
</div>
</div>
<header style="position: relative">
<div style="height: 50px;position: relative;">
<h1>Aanhangwagens Karwei Krimpen</h1>
<div class="left">
<a href="index.php"> <img src="files/karwei-logo.png" alt="Karwei Logo"
style="width:110px;height:84px;"> </a>
</div>
<!-- <div class="right">-->
<!-- <form method="post" action="--><?//= $_SERVER['REQUEST_URI']; ?><!--" style="">-->
<!-- <div class="loginform">-->
<!-- <label for="email">E-Mail</label>-->
<!-- <input id="email" type="email" name="email"/>-->
<!-- </div>-->
<!-- <div class="loginform">-->
<!-- <label for="password">Wachtwoord</label>-->
<!-- <input id="password" type="password" name="password"/>-->
<!-- </div>-->
<!-- <div>-->
<!-- <input type="submit" name="submit" value="Login"/>-->
<!-- </div>-->
<!-- </div>-->
</form>
</div>
</header>
</div>
<div class="flex">
<nav>
<ul>
<li><a>Vul gegevens in</a></li>
<li><a>Bevestig reservering</a></li>
<li><a class="active">Aanhanger ophalen</a></li>
</ul>
</nav>
<article>
<div style="width: 50%; float: left;">
<h1>Het reserveren is gelukt!</h1>
U kunt de aanhanger op de afgesproken datum en tijd<br>
ophalen bij Karwei Krimpen aan den IJssel.
</div>
<div style="width: 50%; float: right">
<div style="width: 100%">
<iframe width="100%" height="320px"
src="https://maps.google.com/maps?width=100%&height=600&hl=nl&q=Karwei%20Krimpen%20aan%20den%20IJssel+(Karwei%20Krimpen%20aan%20den%20IJssel)&ie=UTF8&t=&z=14&iwloc=B&output=embed"
frameborder="0" scrolling="no" marginheight="0" marginwidth="0"><a
href="https://www.mapsdirections.info/nl/maak-een-google-map/">Maak een Google Map</a> van
<a href="https://www.mapsdirections.info/nl/">Nederland Kaart</a></iframe>
</div>
<br/>
</div>
</div>
</article>
</div>
<footer>Copyright © 2019 Jaron Hoste</footer>
</body>
</html>