-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalter.html
More file actions
139 lines (139 loc) · 7.65 KB
/
alter.html
File metadata and controls
139 lines (139 loc) · 7.65 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="icon" href="images/Carmart_logo.png">
<title> CarMart - Modify </title>
</head>
<body>
<header>
<div class="navbar">
<a href="index.html"> Home </a>
<a href="form.html"> Sell </a>
<a href="alter.html"> Modify </a>
<a href="search.html"> Search </a>
</div>
</header>
<h2> Update or Delete Information! </h2> <br>
<h3> Remove or Unlist </h3>
<div class="centered_container">
<div class="search_container">
<form action="php/removeVehicle.php" method="post">
<label for="removeVehicle" class="input_label"> Unlist a Vehicle </label>
<div class="input_container">
<input type="text" name="vehicleID" id="removeVehicle" class="input" placeholder="Enter a vehicle ID...">
<button id="rmSubmit" class="submit_button"> Search </button>
</div>
</form>
<form action="php/removeOwner.php" method="post">
<label for="removeOwner" class="input_label"> Remove a Seller </label>
<div class="input_container">
<input type="text" name="ownerID" id="removeOwner" class="input" placeholder="Enter a seller ID...">
<button id="rsSubmit" class="submit_button"> Search </button>
</div>
</form>
</div>
</div>
<h3> Update a Vehicle </h3>
<div class="centered_container">
<div class="contact_container">
<div class="contact_form">
<form id="contactForm" action="php/updateVehicle.php" method="post">
<center>
<table>
<tr>
<td colspan="4" class="header"> Vehicle Information </td>
</tr>
<tr>
<td> <label> Vehicle ID: </label> </td>
<td> <input type="text" name="vehicleID" maxlength="30" size="30"> </td>
<td colspan="2"> <label> [Update vehicle with the follwoing information] </label> </td>
</tr>
<tr>
<td> <label> Make: </label> </td>
<td>
<select name="make">
<option value="Audi"> Audi </option>
<option value="BMW"> BMW </option>
<option value="Ford"> Ford </option>
<option value="Honda"> Honda </option>
<option value="Mazda"> Mazda </option>
<option value="Toyota"> Toyota </option>
<option value="Volvo"> Volvo </option>
</select>
</td>
<td> <label> Model: </label> </td>
<td> <input type="text" name="title" maxlength="30" size="30"> </td>
</tr>
<tr>
<td> <label> Year: </label> </td>
<td> <input type="text" name="year" maxlength="4" size="30"> </td>
<td> <label> Mileage: </label> </td>
<td> <input type="text" name="mileage" maxlength="7" size="30"> </td>
</tr>
<tr>
<td colspan="4" class="header"> Registration </td>
</tr>
<tr>
<td> <label> Id Number: </label> </td>
<td> <input type="text" name="regnumber" maxlength="10" size="30"> </td>
<td> <label> Sale Price: </label> </td>
<td> <input type="text" name="price" maxlength="10" size="30"> </td>
</tr>
</table>
</center>
<input type="submit" value="Update Vehicle">
</form>
</div>
</div>
</div>
<h3> Update a Seller </h3>
<div class="centered_container">
<div class="contact_container">
<div class="contact_form">
<form id="contactForm" action="php/updateOwner.php" method="post">
<center>
<table>
<tr>
<td colspan="4" class="header"> Seller Information </td>
</tr>
<tr>
<td> <label> Owner ID: </label> </td>
<td> <input type="text" name="ownerID" maxlength="30" size="30"> </td>
<td colspan="2"> <label> [Update Seller with the follwoing information] </label> </td>
</tr>
<tr>
<td> <label> First Name: </label> </td>
<td> <input type="text" name="fname" maxlength="30" size="30"> </td>
<td> <label> Last Name: </label> </td>
<td> <input type="text" name="lname" maxlength="30" size="30"> </td>
</tr>
<tr>
<td> <label> Email: </label> </td>
<td> <input type="text" name="email" maxlength="30" size="30"> </td>
<td> <label> Phone: </label> </td>
<td> <input type="text" name="phone" maxlength="10" size="30"> </td>
</tr>
<tr>
<td> <label> Street: </label> </td>
<td> <input type="text" name="street" maxlength="30" size="30"> </td>
<td> <label> City: </label> </td>
<td> <input type="text" name="city" maxlength="30" size="30"> </td>
</tr>
<tr>
<td> <label> State: </label> </td>
<td> <input type="text" name="state" maxlength="2" size="30"> </td>
<td> <label> Postal: </label> </td>
<td> <input type="text" name="postal" maxlength="5" size="30"> </td>
</tr>
</table>
</center>
<input type="submit" value="Update Seller">
</form>
</div>
</div>
</div>
</body>
</html>