-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.php
89 lines (51 loc) · 2.09 KB
/
update.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
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Update</title>
<link rel="stylesheet" href="css/pacific.css">
</head>
<body id="wrapper">
<header>
<h1>RentAll</h1>
</header>
<div class="row">
<div class="column-left">
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="cars.php">Cars</a></li>
<li><a href="owners.php">Owners</a></li>
<li><a href="current.php">Current Rentals</a></li>
<li><a href="add.php">Add a Car</a></li>
<li><a href="reservations.php">Rent out</a></li>
<li><a href="myreservations.php">Check Reservations</a></li>
<li><a href="update.php">Update Car</a></li>
<li><a href="check.php">Check Earnings</a></li>
</ul>
</nav>
</div>
<div class="column-right">
<!-- THE CONTENT SECTION-->
<section>
<h2>Update Car Rates</h2>
<h3>Enter the Vehicle Number</h3>
<p>Enter either daily or weekly rates, or both.</p>
<form method="post" action="updatecar.php">
<label for="vid">*Car Type</label>
<input class="ips" type="text" name="vid" id="vid" required="required" />
<label for="dr">Daily Rate</label>
<input class="ips" type="number" name="dr" pattern='\d{20}' id="dr" />
<label for="wr">Weekly Rate</label>
<input class="ips" type="number" name="wr" pattern='\d{20}' id="wr" />
<input class="sub" type="submit" value="Submit" id="submit" />
</form>
</section>
<footer>
</footer>
</div>
</div>
</body>
</html>