-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
344 lines (264 loc) · 10.4 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
<?php
session_start();
require_once('includes/dbh.inc.php');
if(isset($_GET['qs']) && ($_GET['qs'] == 1))
{
echo '
<div id="success-modal">
<div class="modalconent">
<h3 style="color:teal;">Thank You! <span class="fa fa-smile-o"></span> </h3>
<hr>
<p class="para">Your query was received and We will get back to you at the earliest.</p>
<button id="button" class="btn btn-danger btn-sm pull-right">Close</button>
</div>
</div>
';
}
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Contacts | IAS</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/contact.css">
<link rel="stylesheet" type="text/css" href="css/header.css">
<link rel="stylesheet" type="text/css" href="css/footer.css">
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" type="text/css" href="css/aos.css">
<!--<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">-->
<link rel="icon" type="image/jpg"href="images/logo.jpg" />
</head>
<body>
<?php
include('header.php');
?>
<div class="container-fluid contact-banner">
<h2>CONTACT US</h2>
<p>Just focus on your goal, we will help you to achieve it.</p>
</div>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
<li class="breadcrumb-item active">Contacts</li>
</ol>
<div class="container">
<div class="row">
<div class="col-sm-6">
<div class="col-sm-12 offices">
<div class="col-sm-5 map">
<div class="map-link">
<a href="https://www.google.co.in/maps/place/67,+Maharaja+Tagore+Rd,+Dhakuria,+Babu+Bagan,+Selimpur,+Kolkata,+West+Bengal+700031" target="_blank">GET DIRECTIONS</a>
<div class="arrow"></div>
</div>
</div>
<div class="col-sm-7 addrs" id="co">
<p class="bname cor-ofc">CORPORATE OFFICE</p>
<p class="addrs-data">67 B, M.T. ROAD<br>
DHAKURIA, KOLKATA-700031<br><br>
Phone:<br>
+91 700-329-8045<br><br>
Email:<br>
</p>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
<div class="col-sm-6 " >
<div class="col-sm-12 offices">
<div class="col-sm-5 map">
<div class="map-link">
<a href="https://www.google.co.in/maps/place/67,+Maharaja+Tagore+Rd,+Dhakuria,+Babu+Bagan,+Selimpur,+Kolkata,+West+Bengal+700031" target="_blank">GET DIRECTIONS</a>
<div class="arrow"></div>
</div>
</div>
<div class="col-sm-7 addrs">
<p class="bname">KOLKATA</p>
<p class="addrs-data">67 B, MAHARAJA THAKUR ROAD<br>
DHAKURIA, KOLKATA-700031<br><br>
Phone:<br>
+91 985-153-1638<br><br>
Email:<br>
</p>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
<div class="col-sm-6 " id="hwh">
<div class="col-sm-12 offices" data-aos="fade-up" data-aos-once="true" data-aos-delay="300" style="min-height:311px;">
<div class="col-sm-5 map">
<div class="map-link">
<a href="https://www.google.co.in/maps/place/Tarapada+Chatterjee+Ln,+Shibpur,+Howrah,+West+Bengal+711103/@22.5657975,88.3122473,21z/data=!4m5!3m4!1s0x3a027833023bebe7:0xddc445139b1e0e95!8m2!3d22.5658747!4d88.3117751?hl=en" target="_blank">GET DIRECTIONS</a>
<div class="arrow"></div>
</div>
</div>
<div class="col-sm-7 addrs">
<p class="bname">HOWRAH</p>
<p class="addrs-data">
2/2/2 TARAPADA CHATTERJEE LANE<br>
HOWRAH - 711103<br><br>
Phone:<br>
+91 900-771-8592<br><br>
Email:<br>
</p>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
<div class="col-sm-6 " >
<div class="col-sm-12 offices" data-aos="fade-up" data-aos-once="true" data-aos-delay="300">
<div class="col-sm-5 map">
<div class="map-link">
<a href="https://www.google.co.in/maps/place/Ranibagan+More/@24.0983325,88.2542521,17z/data=!4m8!1m2!2m1!1s+RANIBAGAN+MORE+berhampore" target="_blank">GET DIRECTIONS</a>
<div class="arrow"></div>
</div>
</div>
<div class="col-sm-7 addrs">
<p class="bname">BERHAMPORE</p>
<p class="addrs-data">3rd FLOOR <br>MUNICIPAL MARKET COMPLEX<br>
RANIBAGAN MORE CROSSING <br>
BERHAMPORE<br><br>
Phone:<br>
+91 704-449-2842<br><br>
Email:<br>
</p>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
<div class="col-sm-6 " id="skm">
<div class="col-sm-12 offices" data-aos="fade-up" data-aos-once="true" data-aos-delay="300">
<div class="col-sm-12 text-center">
<p class="bname">SIKKIM</p>
<div class="opening">
<p>OPENING SOON!</p>
</div>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
<div class="col-sm-6 " >
<div class="col-sm-12 offices" data-aos="fade-up" data-aos-once="true" data-aos-delay="300">
<div class="col-sm-12 text-center">
<p class="bname">DURGAPUR</p>
<div class="opening">
<p>OPENING SOON!</p>
</div>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
<div class="col-sm-6 " data-aos="fade-up" data-aos-once="true" data-aos-delay="300" id="sili">
<div class="col-sm-12 offices">
<div class="col-sm-12 text-center">
<p class="bname">SILIGURI</p>
<div class="opening">
<p>OPENING SOON!</p>
</div>
<button class="cntct-btn" data-target="#Modal" data-toggle="modal" >Questions in Mind?</button>
</div>
</div>
</div>
</div>
</div>
<!-- Contact modal begins -->
<div class="modal fade" id="Modal" >
<div class="modal-dialog">
<div class="modal-content" >
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<p class="send-query">Send Your Queries</p>
<p class="bottomliner">We would be happy to hear from you</p>
<?php
if(isset($_GET['qs']) && $_GET['qs'] == 1){
echo '
<p class="success">Thank You for reaching us. We will get in touch at the earliest.</p>
';
}
?>
</div>
<div class="modal-body">
<div class=" contactus" >
<form action="includes/contact.inc.php" method="POST">
<div class="form-group ">
<input type="email" required class="form-control" id="email" name="email" placeholder="Email" id="email">
<p id="error_email"></p>
</div>
<div class="form-group">
<input type="text" required class="form-control" id="phone" name="phone" maxlength="10" placeholder="Contact Number">
<p id="error_contact"></p>
</div>
<div class="form-group">
<input type="text" class="form-control" id="name" name="name" placeholder="Name" required>
</div>
<div class="form-group ">
<textarea class="form-control" id="msg" rows="2" placeholder="Message" name="message" required></textarea>
</div>
<button type="submit" id="submit" name="cont-submit" class="btn btn-default">Send Query</button>
</form>
</div>
</div> <!-- MODAL BODY ENDS HERE -->
</div>
</div>
</div>
<?php
include('footer.php');
?>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/aos.js"></script>
<script>
AOS.init();
</script>
<script>
$('ul.nav li.dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).delay(100).fadeIn(500);
$('.bg').removeClass('bg');
$(this).addClass('bg');
}, function() {
$(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut(100);
$('.bg').removeClass('bg');
});
</script>
<script>
$('#email').on('blur', function(){
if(!this.value.match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/))
{
$('#error_email').html('Please provide a valid email address.').css('color', '#D32F2F').css('padding-top','10px').css('font-size','16px');
$(this).focus();
$('#email').css('border', '2px solid #D32F2F');
return false;
}
$('#error_email').html('');
$('#email').css('border', 'none');
});
$('#phone').on('blur', function(){
if(!this.value.match(/^[0-9]{10}$/))
{
$('#error_contact').html('Please provide a valid Contact Number.').css('color', '#D32F2F').css('padding-top','10px').css('font-size','16px');
$(this).focus();
$('#phone').css('border', '2px solid #D32F2F');
return false;
}
$('#error_contact').html('');
$('#contact').css('border', 'none');
});
</script>
<script>
window.onload = function () {
document.getElementById('button').onclick = function () {
document.getElementById('success-modal').style.display = "none"
window.location = "contact.php";
};
};
</script>
<script>
$('#contact').addClass('actv');
</script>
</body>
</html>