-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcancelorder.php
95 lines (80 loc) · 3.02 KB
/
cancelorder.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
<?php
if(isset($_POST['submit'])){
session_start();
$_SESSION['ccid'] = htmlentities($_POST['ccid']);
$_SESSION['ccoid'] = htmlentities($_POST['ccoid']);
header('Location: cancelbackend.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Update Order</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<!-- <script defer src="script.js"></script> -->
<style>
ul.nav {
margin:0;
padding:0;
list-style:none;
height:36px; line-height:36px;
background:#0d7963; /* you can change the backgorund color here. */
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
}
ul.nav li {
border-right:1px solid #189b80; /* you can change the border color matching to your background color */
float:left;
}
ul.nav a {
display:block;
padding:0 28px;
color:#ccece6;
text-decoration:none;
}
ul.nav a:hover,
ul.nav li.current a {
background:#086754;
}
</style>
</head>
<body>
<ul class="nav">
<li><a href="index.php">Home</a></li>
<li><a href="index.php">Search Bookseller's Records</a></li>
<li><a href="purchaseform.php">Costumer Purchase/Order</a></li>
<li><a href="returnorder.php">Costumer's Book/Order Return</a></li>
<li><a href="updateorder.php">Update A Costumer's Book Order</a></li>
<li><a href="cancelorder.php">Cancel A Costumer's Book Order</a></li>
<li><a href="createaccount.php">Create A Costumer's Account</a></li>
</ul>
<div class="container">
<form id="form" method = "POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<h1>The Story Keeper Book Store: Update Order</h1>
<div class="input-control">
<label for="ccid">Costumer's ID Number:</label>
<div class="inRow">
<input id="ccid" name="ccid" type="text" placeholder="Example: 123456">
<p>REQUIRED</p>
</div>
<div class="error"></div>
</div>
<div class="input-control">
<label for="ccoid">Order ID: </label>
<div class="inRow">
<input id="ccoid" name="ccoid" type="text" placeholder="Example: 23432423">
<p>REQUIRED</p>
</div>
<div class="error"></div>
</div>
<button type="submit" id="submit123" class="submit" name="submit" value = "submit">Submit</button>
</form>
</div>
</body>
</html>