-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckOut.php
153 lines (132 loc) · 4.35 KB
/
checkOut.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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="Images/Favico/favico.png">
<?php include "includes/checkoutHeader.php" ?>
</head>
<body>
<div>
<div id="wrapper">
<?php include "includes/CheckoutRibbon.php" ?>
<div id="main-content">
<div>
<p id="Pageno">1</p>
<p id="trhead">Ship To</p>
<table>
<tr>
<td><span>First Name</span><span class="req">required</span></td>
<td><span>Last Name</span><span class="req">required</span></td>
</tr>
<tr id="name">
<td>
<input name="fname" type="text">
</td>
<td>
<input name="lname" type="text">
</td>
</tr>
<tr class="noerror errorNoShow">
<td></td>
<td></td>
</tr>
<tr>
<td>
<span> Street Address
</span>
<span <?php if (isset($_POST['address'])) {
echo "class = 'errorHere'";
} ?> class="req">required</span>
</td>
</tr>
<tr <?php if (isset($_POST['address'])) {
echo "class = 'errorHere'";
} ?> id="address">
<td colspan="2"><input name="address" class="Rowinput" type="text"></td>
</tr>
<tr class="noerror errorNoShow">
<td></td>
</tr>
<tr>
<td><span>Zip Code</span><span class="req">required</span></td>
<td><span>City</span><span class="req">required</span></td>
</tr>
<tr <?php if (isset($_POST['address'])) {
echo "class = 'errorHere'";
} ?> id="zipCity">
<td><input name="zip" type="text"></td>
<td><input name="city" type="text"></td>
</tr>
<tr class="noerror errorNoShow">
<td></td>
<td></td>
</tr>
<tr <?php if (isset($_POST['address'])) {
echo "class = 'errorHere'";
} ?>>
<td><span>State</span><span class="req">required</span></td>
</tr>
<tr <?php if (isset($_POST['address'])) {
echo "class = 'errorHere'";
} ?> id="state">
<td colspan="2">
<select class="Rowinput" id="cars" name="cars">
<option value="volvo">Please Select</option>
<option value="saab">Quebec</option>
<option value="fiat">British Columbia</option>
<option value="audi">Manitoba</option>
</select>
</td>
</tr>
<tr <?php if (isset($_POST['address'])) {
echo "class = 'errorHere'";
} ?> class="noerror errorNoShow">
<td colspan="2"></td>
</tr>
<tr>
<td><span>Phone number</span><span class="req">required</span></td>
</tr>
<tr <?php if (isset($_POST['Phone'])) {
echo "class = 'errorHere'";
} ?> id="phone">
<td colspan="2"><input name="phone" class="Rowinput" type="text"></td>
</tr>
<tr <?php if (isset($_POST['Number'])) {
echo "class = 'errorHere'";
} ?> class="noerror errorNoShow">
<td colspan="2"></td>
</tr>
<tr <?php if (isset($_POST['Isname'])) {
echo "class = 'errorHere'";
} ?> class="checkbox">
<td><input class="check" type="checkbox">Use as billing address</td>
</tr>
<tr <?php if (isset($_POST['zip'])) {
echo "class = 'errorHere'";
} ?>class="button">
<td colspan="2"><button>NEXT</button></td>
</tr>
</table>
</div>
</div>
</div>
<div id="rightWrapper">
<div>
<ul>
<li class="head"><span id="lihead">Order Summary </span><span class="right edit">Edit cart</span></li>
<li> <span>Subtotal:</span><span id="subtotal" class="right"></span></li>
<li> <span>Shipping & Handling:</span><span class="right">$10.5</span></li>
<li> <span>Tax:</span><span id="tax" class="right">$0</span></li>
<li class="total"> <span>Order Total:</span><span id="total" class="right">$0</span></li>
</ul>
</div>
</div>
</div>
<div style="clear:both"></div>
<div id="footer">
<span>Follow Us on:</span>
<a href="https://www.instagram.com/soham3000/"><img class="footericon" src="./Icons/1.png" /></a>
<a href="https://twitter.com/?lang=en"><img class="footericon" src="./Icons/2.png" /></a>
<a href="https://www.facebook.com/soham3000"><img class="footericon" src="./Icons/3.png" /></a>
</div>
</body>
</html>