-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
376 lines (161 loc) · 8.29 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
<?php
ob_start();
error_reporting(0);
$page = "contact";
include"conn.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Burdwan Holichild School</title>
<meta charset="UTF-8">
<meta name="description" content="Unica University Template">
<meta name="keywords" content="event, unica, creative, html">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link href="img/favicon.png" rel="shortcut icon"/>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Rubik:400,400i,500,500i,700,700i" rel="stylesheet">
<!-- Stylesheets -->
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/font-awesome.min.css"/>
<link rel="stylesheet" href="css/themify-icons.css"/>
<link rel="stylesheet" href="css/owl.carousel.css"/>
<link rel="stylesheet" href="css/style.css"/>
<link href="css/lightbox.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script language="JavaScript" type="text/javascript">
function submitForm()
{
var req = null;
document.ajax.dyn.value="Started...";
if(window.XMLHttpRequest)
req = new XMLHttpRequest();
else if (window.ActiveXObject)
req = new ActiveXObject(Microsoft.XMLHTTP);
req.onreadystatechange = function()
{
document.ajax.dyn.value=document.getElementById('name').value;
if(req.readyState == 4)
{
var ajaxDisplay = document.getElementById('res');
ajaxDisplay.innerHTML = req.responseText;
}
};
var name = document.getElementById('name').value;
var mail = document.getElementById('mail').value;
var phone = document.getElementById('phone').value;
var occupation = document.getElementById('occupation').value;
var com = document.getElementById('com').value;
var sco = document.getElementById('sco').value;
var queryString = "name=" + name + "&mail=" + mail + "&phone=" + phone + "&occupation=" + occupation + "&com=" + com + "&sco=" + sco;
req.open("GET", "contact-form.php?" + queryString, true);
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
req.send(null);
}
</script>
<style>
.formin1{width:96%; padding:10px 2%; margin: 5px 0;}
#res img{width:150px !important;}
</style>
</head>
<body>
<!-- Page Preloder -->
<?php include "header.php"; ?>
<?php include "scroll-notice.php"; ?>
<!-- Services section -->
<section class="service-section spad">
<div class="container services">
<div class="row">
<!--LeftSide-->
<div class="col-lg-9 col-sm-6 service-item">
<div class="box-white">
<!-- Non Teaching Staff -->
<div class="margin-bot">
<div class="service-content">
<h3><img src="images/pin.png" class="pinimage" alt=""> Contact Us</h3>
<div class="teble-responsive " style="width:100%;">
<div class="col-md-6">
<h4 style="color:#000 !important; font-size:15px; margin-bottom:20px;"> <i class="fas fa-map-marker-alt" style=" padding-right:15px;"></i> DANGACCHA, KALYANPUR,<BR> KALNA ROAD, BURDWAN <BR>(Near Agricultural Farm)</h4>
<h4 style="color:#000 !important; font-size:15px; margin-bottom:20px;"> <i class="fas fa-phone" style=" padding-right:15px;"></i> +91-7407246622 / 33 </h4>
<h4 style="color:#000 !important; font-size:15px; margin-bottom:20px;"> <i class="far fa-envelope" style=" padding-right:15px;"></i> [email protected] </h4>
<h4 style="color:#000 !important; font-size:15px; margin-bottom:20px;"> <i class="far fa-clock" style=" padding-right:15px;"></i> Monday - Saturday, 08:00AM - 05:00 PM </h4>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3666.090324507517!2d87.88141131451286!3d23.239799984843458!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39f849bad980d823%3A0xcfd9b2845743d03a!2sBurdwan+Holy+Child+School!5e0!3m2!1sen!2sin!4v1543296931091" width="100%" height="240" frameborder="0" style="border:solid 2px #ABADB3 !important;" allowfullscreen></iframe>
</div>
<div class="col-md-6">
<div id="res">
<FORM name="ajax" method="POST" action="">
<input name="name" type="text" id="name" maxlength="30" class="formin1" placeholder="Your Name">
<input type="hidden" name="dyn" size="32" value="">
<input name="mail" type="text" maxlength="255" class="formin1" id="mail" placeholder="Email Address">
<input name="phone" type="text" maxlength="255" class="formin1" id="phone" placeholder="Mobile Number">
<input name="occupation" type="text" maxlength="255" class="formin1" id="occupation" placeholder="Occupation">
<textarea rows="2" name="com" cols="55" class="formin1" id="com" placeholder="Comments"></textarea>
<br>
<img src="captcha.php" alt=""><br>
<input type="text" name="sco" id="sco" maxlength="30" class="formin1" placeholder="Security Code">
<INPUT type="BUTTON" value="Submit" ONCLICK="submitForm()" alt="" class="expert-btn">
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Non Teaching Staff-->
</div>
</div>
<!--LeftSide-->
<?php include "aside.php"; ?>
</div>
</div>
</section>
<!-- Services section end -->
<?php include "all-modal.php"; ?>
<?php include "footer.php"; ?>
<!--ScrollNews-->
<script>
jQuery.fn.liScroll = function(settings) {
settings = jQuery.extend({
travelocity: 0.03
}, settings);
return this.each(function(){
var $strip = jQuery(this);
$strip.addClass("newsticker")
var stripHeight = 1;
$strip.find("li").each(function(i){
stripHeight += jQuery(this, i).outerHeight(true); // thanks to Michael Haszprunar and Fabien Volpi
});
var $mask = $strip.wrap("<div class='mask'></div>");
var $tickercontainer = $strip.parent().wrap("<div class='tickercontainer'></div>");
var containerHeight = $strip.parent().parent().height(); //a.k.a. 'mask' width
$strip.height(stripHeight);
var totalTravel = stripHeight;
var defTiming = totalTravel/settings.travelocity; // thanks to Scott Waye
function scrollnews(spazio, tempo){
$strip.animate({top: '-='+ spazio}, tempo, "linear", function(){$strip.css("top", containerHeight); scrollnews(totalTravel, defTiming);});
}
scrollnews(totalTravel, defTiming);
$strip.hover(function(){
jQuery(this).stop();
},
function(){
var offset = jQuery(this).offset();
var residualSpace = offset.top + stripHeight;
var residualTime = residualSpace/settings.travelocity;
scrollnews(residualSpace, residualTime);
});
});
};
$(function(){
$("ul#ticker01").liScroll();
});
</script>
<!--ScrollNews-->
<script src="js/lightbox-plus-jquery.min.js"> </script>
<!--====== Javascripts & Jquery ======-->
<script src="js/owl.carousel.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>