-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompleteOrder.php
44 lines (43 loc) · 967 Bytes
/
completeOrder.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
<?php
session_start();
include('header.php');
?>
<html>
<body>
<?php
include('siteNavigator.php');
?>
<!-- Page info goes below-->
<!--
completeOrder.php
-->
<h1>Final Confirmation</h1>
<h2>Last chance to modify your order</h2>
<?php
//confirm, cancel, or
$id = $_POST['orderID'];
$total = $_POST['total'];
echo
"
<form action = 'submitOrderController.php' method = 'post'>
<input type = 'hidden' name = 'orderID' value = '$id'/>
<input type = 'hidden' name = 'total' value = '$total'/>
<input type = 'submit' value = 'Complete and submit order'>
</form>
<br/><br/>
<form action = 'cancelOrder.php' method = 'post'>
<input type = 'hidden' name = 'orderID' value = '$id'/>
<input type = 'submit' value = 'Cancel Order'>
</form>
<br/><br/>
<form action = 'generateOrder.php' method = 'post'>
<input type = 'submit' value = 'Back to ordering'>
</form>
"
?>
</div> <!-- Page info goes above-->
<?php
include('footer.php');
?>
</body>
</html>