-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorderform.php
239 lines (218 loc) · 6.82 KB
/
orderform.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PET SHOP - Pet Shop Website Template</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="Free HTML Templates" name="keywords">
<meta content="Free HTML Templates" name="description">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon">
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:wght@700&display=swap" rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet">
<link href="lib/flaticon/font/flaticon.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<style>
html, body {
height: 100%;
margin: 0;
}
body, input, select {
padding: 0;
margin: 0;
outline: none;
font-family: Roboto, Arial, sans-serif;
font-size: 16px;
color: #eee;
}
h1, h3 {
font-weight: 400;
}
h1 {
font-size: 32px;
}
h3 {
color: #1c87c9;
}
.main-block, .info {
display: flex;
flex-direction: column;
}
.main-block {
justify-content: center;
align-items: center;
width: 100%;
min-height: 100%;
background: url("img/hero.jpg") no-repeat center;
background-size: cover;
margin-top: 10px; /* Adjusted margin */
}
form {
width: 80%;
padding: 25px;
margin-bottom: 20px;
background: rgba(0, 0, 0, 0.498);
margin-top: 10px; /* Adjusted margin */
}
input, select {
padding: 5px;
margin-bottom: 20px;
background: transparent;
border: none;
border-bottom: 1px solid #eee;
}
input::placeholder {
color: #eee;
}
option {
background: black;
border: none;
}
.metod {
display: flex;
}
input[type=radio] {
display: none;
}
label.radio {
position: relative;
display: inline-block;
margin-right: 20px;
text-indent: 32px;
cursor: pointer;
}
label.radio:before {
content: "";
position: absolute;
top: -1px;
left: 0;
width: 17px;
height: 17px;
border-radius: 50%;
border: 2px solid #1c87c9;
}
label.radio:after {
content: "";
position: absolute;
width: 8px;
height: 4px;
top: 5px;
left: 5px;
border-bottom: 3px solid #1c87c9;
border-left: 3px solid #1c87c9;
transform: rotate(-45deg);
opacity: 0;
}
input[type=radio]:checked + label:after {
opacity: 1;
}
button {
display: block;
width: 200px;
padding: 10px;
margin: 20px auto 0;
border: none;
border-radius: 5px;
background: #1c87c9;
font-size: 14px;
font-weight: 600;
color: #fff;
}
button:hover {
background: #095484;
}
@media (min-width: 568px) {
.info {
flex-flow: row wrap;
justify-content: space-between;
}
input {
width: 46%;
}
input.fname {
width: 100%;
}
select {
width: 48%;
}
}
</style>
</head>
<body>
<!-- Navbar Start -->
<nav
class="navbar navbar-expand-lg bg-white navbar-light shadow-sm py-3 py-lg-0 px-3 px-lg-0"
>
<a href="index.html" class="navbar-brand ms-lg-5">
<h1 class="m-0 text-uppercase text-dark">
<i class="bi bi-dog fs-1 text-primary me-3"></i>Pawspire
</h1>
</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarCollapse"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav ms-auto py-0">
<a href="index.html" class="nav-item nav-link active">Home</a>
<a href="about.html" class="nav-item nav-link">About</a>
<a href="service.html" class="nav-item nav-link">Service</a>
<a href="product.html" class="nav-item nav-link">Product</a>
<a
href="contact.php"
class="nav-item nav-link nav-contact bg-primary text-white px-5 ms-lg-5"
>Contact <i class="bi bi-arrow-right"></i
></a>
</div>
</div>
</nav>
<!-- Navbar End -->
<div class="main-block">
<h1>Order Form</h1>
<form role="form" action="insert_order.php" method="post">
<div class="info">
<input class="fname" type="text" name="a" placeholder="Full name">
<input type="text" name="b" placeholder="Email">
<input type="text" name="c" placeholder="Phone number">
<input type="text" name="d" placeholder="Today's date">
<input type="text" name="e" placeholder="pin_code">
<input type="text" name="f" placeholder="Age">
<input type="text" name="g" placeholder="Breed">
<input type="text" name="h" placeholder="Address">
<input type="text" name="i" placeholder="Gender">
</div>
<h3>Delivery Method</h3>
<div class="metod">
<div>
<input type="radio" value="none" id="radioTwo" name="j" />
<label for="radioTwo" class="radio">For delivery</label>
</div>
</div>
<!-- Add name attribute to the submit button -->
<button type="submit" name="submit" class="button">Submit</button>
</form>
</div>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
</body>
</html>