-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
390 lines (175 loc) · 11.1 KB
/
contact.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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/flickity.min.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="style.css">
<title>Doctorola.com</title>
</head>
<body>
<!---------------------------------Above Navigations--------------------->
<div class="container mt-3 d-flex justify-content-between">
<!------------------------------------------- --------->
<div class="dropdown drop1">
<a href="#" class="dropdown-toggle text-dark" data-toggle="dropdown">
<span><img class="dropdown-item-icon" src="img/1280px-Flag_of_the_United_States.svg.png" alt="SVG" width="20px" height="17px" class="img-fluid"></span>
<span class="ml-1">United States</span>
</a>
<div class="dropdown-menu border-0 shadow-lg">
<a href="#" class="dropdown-item">English</a>
<a href="#" class="dropdown-item">Destuch</a>
<a href="#" class="dropdown-item">Spanish</a>
</div>
</div>
<ul class="list-unstyled list-inline text-capitalize">
<li class="list-inline-item"><a href="#" class="text-decoration-none text-muted"><i class="fas fa-user text-danger" style="font-size: 19px"></i> Log in/Sign up</a></li>
</ul>
</div>
<!---------------------------------End Above Navigations--------------------->
<!-----------------------------------Start Navigations------------------------->
<nav class="navbar navbar-expand-lg navbar-dark sticky-top shadow-lg"
data-aos-delay="1000"
data-aos-duration="1000"
data-aos-easing="ease-in-out"
data-aos-mirror="false"
data-aos-once="true"
>
<div class="container">
<a class="navbar-brand" href="index.php">
<img src="img/doctorola_logo.png" alt="logo-img" class="img-fluid" width="120px" height="100px;">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mix">
<li class="nav-item">
<a class="nav-link" href="index.php" role="button" aria-haspopup="true" aria-expanded="false">
Home
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="doctors.php">Doctors</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="blood donor.php" id="navbarDropdown" role="button" aria-haspopup="true" aria-expanded="false">
Blood Donors
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="ambulance.php" id="navbarDropdown" role="button" aria-haspopup="true" aria-expanded="false">
Call Ambulance
</a>
</li>
<li class="nav-item ">
<a class="nav-link " href="news.php" id="navbarDropdown" role="button" aria-haspopup="true" aria-expanded="false">
News
</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="contact.php" id="navbarDropdown" role="button" aria-haspopup="true" aria-expanded="false">
Contact Us
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-----------------------------------End Navigations------------------------->
<!---------------------- plug in-------------------------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="js/aos.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/scrollreveal.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<!---------------------- plug in-------------------------------------------------------------------------->
<script>
$(document).ready(function(){
$('li').on('click',function(){
$(this).addClass('active').siblings().removeClass('active')
})
})
</script>
<?php
$name = null;
$email = null;
$message = null;
?>
<div class="form-page padding">
<div class="container padding">
<div class="row">
<div class="col-12 col-md-8 mt-5">
<h4><strong>Get in Touch</strong></h4>
<p class="text-muted mb-4" style="font-size:15px;font-weight: 300;">Please fill out the quick form and we will be in touch with lightning speed.</p>
<form action="insert.php" method="POST" id="frmbox" onsubmit="return msgfrm();">
<p><input type="text" placeholder="Name" class="form-control w-75" name="name" required value="<?php echo $name?>" ></p>
<p><input type="email" placeholder="Your email address" class="form-control w-75" name="email"required value="<?php echo $email?>" ></p>
<p><textarea name="message" id="" cols="30" rows="10" placeholder="Message" class="form-control" required value="<?php echo $message?>" ></textarea></p>
<button type="submit" name="submit" class="btn btn-danger">Submit</button>
<span id="chat" class="text-danger ml-2 font-weight-bolder"></span>
</form>
</div>
<div class="col-12 col-md-4 mt-5">
<h4><strong> Connect with us:</strong></h4>
<p class="text-muted m-0 p-0">For support or any questions:</p>
<p class="text-muted">Email us at <a href="https://webmail.au.syrahost.com" target="_blank">[email protected]</a></p>
</div>
</div>
</div>
</div>
<!------------------------------------------------------Ajax Code Start------------------------------------------------------>
<script type="text/javascript">
function msgfrm(){
$.ajax({
type:'POST',
url:'insert.php',
data:$('#frmbox').serialize(),
success:function(response){
$('#chat').html(response);
}
});
var form = document.getElementById('frmbox').reset();
return false;
}
</script>
<!------------------------------------------------------Ajax Code Ends------------------------------------------------------>
<!----------------------------------------------footer options satrt---------------------------------->
<footer class="shadow-lg foot">
<div class="container">
<ul class="list-unstyle list-inline text-center">
<li class="list-inline-item m-3"><i class="fab fa-facebook fa-2x" style="color:#fff;"></i></li>
<li class="list-inline-item m-3"><i class="fab fa-twitter fa-2x" style="color:#fff;"></i></li>
<li class="list-inline-item m-3"><i class="fab fa-instagram fa-2x" style="color:#fff;"></i></li>
</ul>
<hr style="border-top: 2px solid #fff">
<ul class="list-unstyle list-inline text-center" style="font-size: 21px;" >
<li class="list-inline-item m-3"> <a href="#" style="color:#fff;">About Us</a></li>
<li class="list-inline-item m-3"> <a href="#" style="color:#fff;">Blog</a></li>
<li class="list-inline-item m-3"> <a href="#" style="color:#fff;">Contact Us</a></li>
<li class="list-inline-item m-3"> <a href="#" style="color:#fff;">Faq</a></li>
</ul>
<h5 class="text-center text-light mb-4">© 2019 Doctorola Ltd. All rights reserved.</h5>
<h6 class="text-center text-light font-weight-bold">-Developed By Saifur Rahman Chowdhury (Shohan)</h6>
</div>
</footer>
<!----------------------------------------------footer options Ends---------------------------------->
<script>
AOS.init();
window.sr = ScrollReveal();
sr.reveal('footer', {
duration: 3000,
origin:'bottom'
});
</script>
</body>
</html>