-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_contact_no_captcha.php
546 lines (488 loc) · 24.7 KB
/
page_contact_no_captcha.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
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>iPrayas | A Social Entrepreneurship Initiative</title>
<meta name="author" content="abusinesstheme">
<meta name="description" content="iPrayas | A Social Entrepreneurship Initiative">
<script src="https:///cdn-cgi/apps/head/ZY9A0AAlwdpt2cO4aZb21XgSNxg.js"></script>
<link rel="shortcut icon" href="images/favicon.ico">
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="196x196" href="images/chrome-touch-icon-196x196.png">
<meta name="msapplication-TileImage" content="images/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#202429">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="ABT HTML5 Template">
<link rel="apple-touch-icon" href="touch-icon-iphone.php">
<link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.php">
<link rel="apple-touch-icon" sizes="120x120" href="touch-icon-iphone-retina.php">
<link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.php">
<link rel="apple-touch-icon" sizes="180x180" href="touch-icon-iphone-6plus.php">
<script>
if (top !== self) {
top.location.replace(self.location.href)
};
</script>
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700%7CMontserrat:400,700%7CRaleway:300,400,600" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="libs/rs-plugin/css/settings.css" media="screen">
<link rel="stylesheet" href="css/main.css">
<style>
.contact-small-wrapper {
padding: 140px 0 0;
}
@media (max-width:991px) {
.contact-small-wrapper {
padding: 100px 0 0;
}
}
.contact-small-details {
margin-top: 60px;
padding: 40px 10px 20px;
background-color: rgba(41, 44, 49, 0.7);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
color: #caccce;
font-family: "Montserrat", sans-serif;
text-align: center;
font-size: 12px;
letter-spacing: 0.5px;
}
.contact-small-details .icon {
display: block;
font-size: 34px;
margin-bottom: 22px;
}
</style>
<div id="wrapper" class="animsition">
<div class="top-bar-wrapper">
<a href="#" id="top-bar-trigger" class="top-bar-trigger"><i class="icon icon_plus"></i></a>
<div class="container">
<div class="row">
<div class="col-sm-4 xs-box">
<h3 class="title-a color-inherit mb20">About us</h3>
<p>PRAYAS aims to generate programs for youth to give back to the community using local resources. Our main objective is to improve the economic conditions of an area through generating employment and setting up businesses that give back their profits to the community.</p>
<a href="page_about_modern.php" class="read-more">read more</a>
</div>
<div class="col-sm-4 xs-box">
<address class="contact-widget">
<p><i class="icon icon_pin_alt"></i> Near Petrol Pump, Salua (PS) Paschim Medinipur (Dist.) West Bengal - 721145</p>
<p><i class="icon icon_mail_alt"></i> <a href="https:///cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d1beb7b7b8b2b491b0b3a4a2b8bfb4a2a2a5b9b4bcb4ffb2bebc"> [email protected]</a></p>
<p><i class="icon icon_phone"></i> +91 9002863514</p>
</address>
</div>
<div class="col-sm-4">
<div class="sidebar-tweet footer-tweet clearfix">
<a href="#" class="tweet-user">@iPrayas</a>
<small>22 hours ago</small>
<p class="tweet-content">A service for the poor is a supreme virtue, and the great channel through which the mercy of God is passed on to mankind.</p>
<i class="icon social_twitter"></i>
</div>
</div>
</div>
</div>
</div>
<div class="header-floating header-floating-light menu-fixed-light menu-light-mobiles menu-light menu-border">
<div class="topbar topbar-transparent mt20 mb10">
<div class="container">
<div class="row">
<div class="col-sm-7 hidden-xs">
<p class="text-2 mb10 color-inherit">
<span class="mr30"><i class="icon icon_pin_alt"></i> Salua (PS) Paschim Medinipur (Dist.) West Bengal - 721145</span>
</p>
</div>
<div class="col-sm-5">
<div class="clearfix">
<div class="pull-right xs-pull-left">
<p class="text-2 mb10 color-inherit">
<span><i class="icon icon_phone"></i> +91 9002863514</span>
</p>
<!-- <span class="mr20"></span> -->
<!-- <a href="#" class="btn-bg rounded btn-small">sign up</a> -->
</div>
</div>
</div>
</div>
</div>
</div>
<header class="header-wrapper">
<div class="main-header">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="menu-wrapper">
<div class="logo-wrapper">
<a href="index-2.php" class="logo">
<img src="images/logo.png" class="logo-img logo-dark" alt="Logo">
<img src="images/logo-light.png" class="logo-img logo-light" alt="Logo">
</a>
</div>
<nav class="navbar-right">
<ul class="menu">
<li class="toggle-menu"> <i class="icon icon_menu"></i></li>
<li>
<a href="index.php">Home</a>
</li>
<li>
<a href="page_about_modern.php">About Us</a>
</li>
<li>
<a href="page_services_classic.php">Projects</a>
</li>
<li>
<a href="portfolio_boxed.php">Gallery</a>
</li>
<li>
<a href="page_team_filterable.php">Team</a>
</li>
<li>
<a href="page_contact_no_captcha.php">Contact Us</a>
</li>
<li class="li-icon">
<a href="#" id="search-trigger">
<i class="icon icon_search"></i>
<span class="li-visible-mobile">Search</span>
</a>
<div class="megamenu">
<div class="row">
<div class="col-12">
<form action="#" class="menu-search">
<input type="text" placeholder="type and hit enter">
<button type="submit"><i class="icon icon_search"></i></button>
</form>
</div>
</div>
</div>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
</header>
</div>
</div>
</head>
<section class="contact-small-wrapper bg-img bg04 stellar" data-stellar-background-ratio="0.4">
<div class="intro-with-floating-menu-topbar"></div>
<div class="bg-overlay gradient-1"></div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h1 class="intro-title mb50">Contact us</h1>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-8 col-md-offset-2">
<div class="contact-small-details">
<div class="row">
<div class="col-sm-4 xs-box">
<i class="icon icon_pin_alt"></i>
<p>Near Petrol Pump, Salua (PS) <br>Paschim Medinipur (Dist.) <br>West Bengal - 721145</p>
</div>
<div class="col-sm-4 xs-box">
<i class="icon icon_mail_alt"></i>
<p><a href="https:///cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b3c0c6c3c3dcc1c7f3c3d2dfd2c09dd0dcde">[email protected]</a> <br></p>
</div>
<div class="col-sm-4">
<i class="icon icon_mobile"></i>
<p>+91 9002863514</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section mt40 page-contact">
<div class="container">
<div class="row col-p30">
<div class="col-sm-12 col-md-8 sm-box3">
<form class="form ajax-contact-form" method="post" action="https:///demo/abt/php/contact_no_captcha.php">
<div class="alert alert-success hidden" id="contact-success">
<span class="glyphicon glyphicon-ok "></span>
<strong>Success!</strong> Thank you for your message.
</div>
<div class="alert alert-danger hidden" id="contact-error">
<span class="glyphicon glyphicon-remove "></span>
<strong>Error!</strong> Oops, something went wrong.
</div>
<div class="row col-p10">
<div class="col-sm-6">
<label class="mb10">
<input type="text" name="name_" id="name_" class="form-control" placeholder=" Full Name">
</label>
</div>
<div class="col-sm-6">
<label class="mb10">
<input type="text" name="subject_" id="subject_" required class="form-control" placeholder=" Subject *">
</label>
</div>
</div>
<div class="row col-p10">
<div class="col-sm-6">
<label class="mb10">
<input type="text" name="phone_" id="phone_" class="form-control" placeholder=" Phone">
</label>
</div>
<div class="col-sm-6">
<label class="mb10">
<input type="email" name="email_" id="email_" required class="form-control" placeholder=" Email Address *">
</label>
</div>
</div>
<label>
<textarea name="message_" id="message_" cols="30" rows="10" required class="form-control" placeholder=" Message *"></textarea>
</label>
<div class="mb40"></div>
<button type="submit" class="btn btn-icon btn-e"><i class="icon icon_mail_alt"></i> Send Message</button>
</form>
</div>
<div class="col-sm-12 col-md-4">
<div class="box-services-6">
<div class="mb20"></div>
<h3 class="title-a mb30">Get Social</h3>
<ul class="sidebar-socials">
<li><a href="#"><i class="icon social_twitter"></i> Follow us</a> <span>450 Followers</span></li>
<li><a href="#"><i class="icon social_facebook"></i> Like us</a> <span>725 Likes</span></li>
<li><a href="#"><i class="icon social_googleplus"></i> Circle us</a> <span>300 Circles</span></li>
<li><a href="#"><i class="icon icon_mail_alt"></i> Subscribe</a> <span>380 Subscribers</span></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<section class="section mb20">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div id="google-map" class="map-large"></div>
<div class="shadow3"></div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="row col-p30">
<div class="col-sm-6 col-md-4 sm-box3">
<div class="box-services-6">
<div class="mb10 pt5"></div>
<div class="box-services-2 box-services-2a">
<i class="icon icon-2 icon_lifesaver"></i>
<h3 class="title-small">Support Forum</h3>
<div class="br-bottom-center mb20"></div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Enim temporibus quae!</p>
<a href="#" class="read-more">read more</a>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4 sm-box3">
<div class="box-services-6">
<div class="mb10 pt5"></div>
<div class="box-services-2 box-services-2a">
<i class="icon icon-2 icon_book_alt"></i>
<h3 class="title-small">Knowledgebase</h3>
<div class="br-bottom-center mb20"></div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Enim temporibus quae!</p>
<a href="#" class="read-more">read more</a>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="box-services-6">
<div class="mb10 pt5"></div>
<div class="box-services-2 box-services-2a">
<i class="icon icon-2 icon_chat_alt"></i>
<h3 class="title-small">Quick connect</h3>
<div class="br-bottom-center mb20"></div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Enim temporibus quae!</p>
<a href="#" class="read-more">read more</a>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="mb50"></div>
<?php require("footer.php") ?>
</div>
<div id="template-options-wrapper">
<div id="template-options">
<a href="#" id="template-options-close"><i class="icon icon_close"></i></a>
<div class="row">
<div class="col-sm-12">
<h3 class="title-small color-inherit">Colors
<small> (unlimited) - details in documentation </small>
</h3>
<div class="settings-colors">
<button id="picker" class="btn-template-options">color picker</button>
</div>
<div class="mb30"></div>
<h3 class="title-small color-inherit">Patterns
<small> (boxed layout) - <a href="http://subtlepatterns.com/" class="color-inherit" target="_blank">more patterns here</a> </small>
</h3>
<div class="settings-patterns">
<a href="#" class="animsition-off btn-template-options" data-pattern="light">Light</a>
<a href="#" class="animsition-off btn-template-options" data-pattern="dark">Dark</a>
<a href="#" class="animsition-off btn-template-options" data-pattern="image">Image</a>
</div>
<div class="mb30"></div>
<h3 class="title-small color-inherit">Layout</h3>
<div class="settings-layout">
<a href="#" class="animsition-off btn-template-options wide">Wide</a>
<a href="css/boxed.css" class="animsition-off btn-template-options boxed">Boxed</a>
</div>
</div>
</div>
</div>
</div>
<script data-cfasync="false" src="https:///cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="libs/jquery.validate.min.js"></script>
<script src="js/main.js"></script>
<script src="https://maps.google.com/maps/api/js?sensor=true"></script>
<script src="libs/gmaps.js"></script>
<script>
(function($) {
"use strict";
// Initialize Google map
var map = new GMaps({
div: '#google-map',
lat: -12.040933,
lng: -77.028333
});
map.drawOverlay({
lat: -12.043333,
lng: -77.028333,
verticalAlign: "top",
horizontalAlign: "center",
content: '<div class="map-overlay">' + '<h3 class="title title-small">abtheme</h3>' + '<div class="br-bottom mb20"></div>' + '<p class="mb10">California, Los Angeles 2200 Avenue</p>' + '</div>'
});
// Initializa Contact Form
var form = {
init: false,
initialize: function() {
// if form is already initialized, skip
if (this.init) {
return;
}
this.init = true;
var $form = $(".ajax-contact-form");
$form.validate({
submitHandler: function(form) {
// Loading Button
var btn = $(this.submitButton);
btn.button("loading");
var checkboxes = [];
$('.checkbox_:checked').each(function(i, e) {
checkboxes.push($(this).val());
});
// Ajax Submit
$.ajax({
type: "POST",
url: $form.attr("action"),
data: {
// Main
"email_": $form.find("#email_").val(),
"subject_": $form.find("#subject_").val(),
"message_": $form.find("#message_").val(),
"name_": $form.find("#name_").val(),
// Optional
"phone_": $form.find("#phone_").val(),
"select_": $form.find("#select_").val(),
// Radios - Optional
"radio_": $form.find(".radio_:checked").val(),
// Checkbox - Optional
"checkbox_": checkboxes.join(" , "),
// Google ReCAPTCHA
"g-recaptcha-response": $form.find('#g-recaptcha-response').val(),
// Demo purposes
"send_copy_": $form.find("#send_copy_").val()
},
dataType: "json",
success: function(data) {
var $success = $form.find("#contact-success"),
$error = $form.find("#contact-error");
if (data.response == "success") {
$success.removeClass("hidden");
$error.addClass("hidden");
// Reset Form
$form.find(".form-control")
.val("")
.blur()
.parent()
.removeClass("has-success")
.removeClass("has-error")
.find("label.error")
.remove();
} else {
$error.removeClass("hidden");
$success.addClass("hidden");
console.log(data.error_message);
}
},
complete: function() {
btn.button("reset");
}
});
},
rules: {
email_: {
required: true,
email: true
},
subject_: {
required: true
},
message_: {
required: true
},
name_: {
required: false
},
phone_: {
required: false
},
},
messages: {
email_: {
required: "<span class='form-message-error'>Please enter your email address!</span>",
email: "<span class='form-message-error'>Please enter a valid email address!</span>"
},
subject_: {
required: "<span class='form-message-error'>This field is required!</span>"
},
message_: {
required: "<span class='form-message-error'>This field is required!</span>"
}
},
highlight: function(element) {
$(element)
.parent()
.removeClass("has-success")
.addClass("has-error");
},
success: function(element) {
$(element)
.parent()
.removeClass("has-error")
.addClass("has-success")
.find("label.error")
.remove();
}
});
}
};
form.initialize();
})(jQuery);
</script>
</html>