-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
130 lines (126 loc) · 5.32 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Order Form</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class='jumbotron'>
<div class='container'>
<h2>Acme Accessory Sales</h2>
</div>
</div>
<form action='processForm.php' method='post'>
<?php include 'menuOrder.html'; //Thanh menu active nút Orderform
?>
<div class='container'>
<div class='panel panel-info'>
<div class='panel-heading'>
<h2>User</h2>
</div>
<div class='panel-body'>
<div class='form-group'>
<label for='name'>Name</label>
<input type='text' class='form-control' name='name'/>
</div>
<div class='form-group'>
<label>Email</label>
<input type='email' class='form-control' name='email'/>
</div>
<div class='form-group'>
<label>Phone number</label>
<input type='text' class='form-control' name='pnumber'/>
</div>
</div>
</div>
<div class='panel panel-success'>
<div class='panel-heading'>
<h2 class='modal-title'>Items</h2>
</div>
<div class='panel-body'>
<div class='row'>
<div class="col-md-6">
<h4 class="#">iPhone 12 case</h4>
<p class='#'>$15.50</p>
</div>
<div class='col-md-3 form-group'>
<label>Quantity</label>
<select class='form-control' name='i12_q'>
<option value='0' selected='selected'>0</option>
<?php
for ($i=1; $i <= 30; $i++) {
echo "<option value='$i'>$i</option>";
}
?>
</select>
</div>
<div class='col-md-3'></div>
</div>
<hr>
<div class='row'>
<div class="col-md-6">
<h4 class="#">iPhone 13 case</h4>
<p class='#'>$20.00</p>
</div>
<div class='col-md-3 form-group'>
<label>Quantity</label>
<select class='form-control' name='i13_q'>
<option value='0' selected='selected'>0</option>
<?php
for ($i=1; $i <= 30; $i++) {
echo "<option value='$i'>$i</option>";
}
?>
</select>
</div>
<div class='col-md-3'></div>
</div>
<hr>
<div class='row'>
<div class="col-md-6">
<h4 class="#">Samsung Galaxy case</h4>
<p class='#'>$17.50</p>
</div>
<div class='col-md-3 form-group'>
<label>Quantity</label>
<select class='form-control' name='sg_q'>
<option value='0' selected='selected'>0</option>
<?php
for ($i=1; $i <= 30; $i++) {
echo "<option value='$i'>$i</option>";
}
?>
</select>
</div>
<div class='col-md-3'></div>
</div>
<hr>
<div class='row'>
<div class="col-md-6">
<h4 class="#">Google Pixel case</h4>
<p class='#'>$16.50</p>
</div>
<div class='col-md-3 form-group'>
<label>Quantity</label>
<select class='form-control' name='gp_q'>
<option value='0' selected='selected'>0</option>
<?php
for ($i=1; $i <= 30; $i++) {
echo "<option value='$i'>$i</option>";
}
?>
</select>
</div>
<div class='col-md-3'></div>
</div>
</div>
</div>
<button type='submit' class='btn btn-secondary' name='submit' value='Submit'>Submit</button>
</div>
</form>
</body>
</html>