-
Notifications
You must be signed in to change notification settings - Fork 0
/
geannuleerdebestelling.php
57 lines (48 loc) · 1.4 KB
/
geannuleerdebestelling.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
<?php
session_start();
require("db_connect.php");
$query = "SELECT * FROM `order` where geannuleerd = '1'";
$result = mysqli_query($connection, $query);
mysqli_close($connection);
?>
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="datetimepicker/sample in bootstrap v2/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<?php include 'navbar_huisarts.php'; ?>
<button onclick="location.href='./index.php'" type="button" style="width: 250px; float:right;" class="button button1" > Loguit </button>
<Br>
<br>
<br>
<div>
<h1 style="text-align: center;">Geanuleerde bestellingen</h1>
<table width="300" border="1" cellpadding="1" cellspacing="1" align="center" >
<tr>
<th>OrderID</th>
<th>Tijd van bestelling</th>
<th></th>
</tr>
<?php
while( $row = mysqli_fetch_assoc($result) )
{
echo "<tr>
<td>".$row["idOrder"]."</td>
<td>".$row["huidigedatum"]."</td>
<td>
<a href='geannuleerdebestelling_plaatsen.php?orderid=".$row["idOrder"]."'/>
<img src='icons/drop.png' alt='Recept plaatsen'>
</a>
</td>
</tr>";
}
?>
</table>
</div>
</body>
<br><br><br>
<footer>
<?php include 'footer.php'; ?>
</footer>
</html>