-
Notifications
You must be signed in to change notification settings - Fork 7
/
contact.php
605 lines (511 loc) · 29.7 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
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
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Meta -->
<meta name="description" content="SmartOn is a complete responsive, retina-ready and multipurpose theme." />
<meta name="keywords" content="boostrap, responsive, html5, css3, jquery, theme, multicolor, parallax, retina, business" />
<meta name="author" content="FourGrafx">
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="3 days" />
<title>Avendor - Premium Multipurpose HTML5/CSS3 Theme - FourGrafx</title>
<!-- Styles -->
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Bootstrap RTL
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-rtl/3.2.0-rc2/css/bootstrap-rtl.css"> -->
<!-- Font Awesome 4.1.0 -->
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Avendor Icons Font -->
<link href="css/avendor-font-styles.css" rel="stylesheet">
<!-- SLIDER REVOLUTION 4.x CSS SETTINGS -->
<link rel="stylesheet" type="text/css" href="css/revolutionslider/settings.css" media="screen" />
<!-- Animate CSS -->
<link href="css/themecss/animate.css" rel="stylesheet">
<!-- Lightbox CSS -->
<link href="css/themecss/lightbox.css" rel="stylesheet">
<!-- OWL Carousel -->
<link href="css/owl-carousel/owl.carousel.css" rel="stylesheet">
<link href="css/owl-carousel/owl.transitions.css" rel="stylesheet">
<!-- Theme CSS -->
<link href="css/avendor.css" rel="stylesheet">
<!-- Color CSS -->
<link href="css/colors/color-default.css" rel="stylesheet" title="style1">
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Raleway:400,200,300,100,500,600,700,800,900' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Playball' rel='stylesheet' type='text/css'>
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="ico/favicon.png">
</head>
<body class="bg-pattern1" data-spy="scroll" data-target=".navbar">
<div id="preloader"></div>
<!-- Page Main Wrapper -->
<div class="page-wrapper" id="page-top">
<!-- Header Container -->
<div class="header-wrapper">
<!-- Header Top Container -->
<div class="header-top">
<!-- Container -->
<div class="container">
<div class="row">
<!-- Left -->
<div class="col-md-6 col-sm-6 columns">
<div class="header-top-left">
<ul class="social-top">
<li><a href="" class="ToolTip" title="Facebook"><span class="fa fa-facebook"></span></a></li>
<li><a href="" class="ToolTip" title="Twitter"><span class="fa fa-twitter"></span></a></li>
<li><a href="" class="ToolTip" title="Google+"><span class="fa fa-google-plus"></span></a></li>
<li><a href="" class="ToolTip" title="Linkedin"><span class="fa fa-linkedin"></span></a></li>
<li><a href="" class="ToolTip" title="Pinterest"><span class="fa fa-pinterest"></span></a></li>
</ul>
</div>
</div>
<!-- /Left -->
<!-- Right -->
<div class="col-md-6 col-sm-6 columns">
<div class="header-top-right">
<!-- Right Menu -->
<ul class="top-menu">
<li><a href="#"><i class="fa fa-shopping-cart"></i>0 item(s) - $0.00</a></li>
<li>
<div class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle"><i class="fa fa-globe"></i>English <b class="caret"></b></a>
<ul class="dropdown-menu dropdown-menu-right">
<li class="active"><a href="#">English</a></li>
<li><a href="#">French</a></li>
<li><a href="#">German</a></li>
</ul>
</div>
</li>
</ul>
<!-- /Right Menu -->
</div>
</div>
<!-- /right -->
</div>
</div>
<!-- /Container -->
</div>
<!-- /Header Top Container -->
<!-- Header Main Container -->
<div class="header-main">
<!-- Container -->
<div class="container">
<!-- Main Navigation & Logo -->
<div class="main-navigation">
<div class="row">
<!-- Main Navigation -->
<div class="col-md-12 columns">
<nav class="navbar navbar-default gfx-mega nav-left" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-toggle" data-toggle="collapse" data-target="#gfx-collapse"></a>
<div class="logo">
<a href="index.html"><img src="img/theme/logo.png" alt="Logo"></a>
</div>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="gfx-collapse">
<ul class="nav navbar-nav gfx-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Home <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="index.html">Home Default</a></li>
<li><a href="shop-front.html">Home Shop</a></li>
<li><a href="index-style1.html">Home Style 1</a></li>
<li><a href="index-style2.html">Home Style 2</a></li>
<li><a href="index-style3.html">Home Style 3</a></li>
</ul>
</li>
<li class="dropdown gfx-mega-fw"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Pages <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<div class="gfx-mega-content">
<div class="row">
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li><a href="about-us.html">About Us Default</a></li>
<li><a href="about-us-alt.html">About Us Alt</a></li>
<li><a href="about-us-alt2.html">About Us Alt 2</a></li>
<li><a href="services.html">Services Default</a></li>
<li><a href="services-alt.html">Services Alt</a></li>
<li><a href="services-alt2.html">Services Alt 2</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li><a href="our-team.html">Our Team</a></li>
<li><a href="our-team-alt.html">Our Team Alt</a></li>
<li><a href="process.html">Our Process</a></li>
<li><a href="process-alt.html">Our Process Alt</a></li>
<li><a href="contact-alt.html">Contact Alt</a></li>
<li><a href="contact-alt2.html">Contact Alt 2</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li><a href="landing.html">Landing Page</a></li>
<li><a href="parallax-presentation.html">Parallax Presentation</a></li>
<li><a href="404.html">Page 404</a></li>
<li><a href="testimonials.html">Testimonials</a></li>
<li><a href="pricing.html">Pricing</a></li>
<li><a href="custom-footer.html#custom-footer">Custom Footer</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li><a href="under.html">Under Construction</a></li>
<li><a href="faq.html">F.A.Q.</a></li>
<li><a href="search.html">Search Results</a></li>
<li><a href="full-width.html">Full Width</a></li>
<li><a href="sidebar-left.html">Sidebar Left</a></li>
<li><a href="sidebar-right.html">Sidebar Right</a></li>
</ul>
</div>
</div>
</div>
</li>
</ul>
</li>
<li class="dropdown gfx-mega-fw"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Features <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<div class="gfx-mega-content">
<div class="row">
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li class="title-header">Infographics & Icons</li>
<li><a href="font-avendor-icons.html">Avendor Custom Icons</a></li>
<li><a href="font-awesome.html">Font Awesome Icons</a></li>
<li><a href="animated-icons.html">Animated Icons / LivIcons</a></li>
<li><a href="icon-boxes.html">Icon Boxes</a></li>
<li><a href="icon-lists.html">Icon Lists</a></li>
<li><a href="counters.html">Counters</a></li>
<li><a href="progress-bars.html">Progress Bars</a></li>
<li><a href="pie-charts.html">Pie Charts</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li class="title-header">Interactive Elements</li>
<li><a href="members.html">Team Member Blocks</a></li>
<li><a href="parallax.html">Parallax</a></li>
<li><a href="carousel-sliders.html">Carousel & Sliders</a></li>
<li><a href="lightbox.html">Lightbox & Images</a></li>
<li><a href="image-effects.html">Hover Image Effects</a></li>
<li><a href="tooltips.html">Tooltips</a></li>
<li><a href="creative-links.html">Creative Links</a></li>
<li><a href="animation.html">Animation On View</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-3">
<ul class="mega-menu-list">
<li class="title-header">Default Elements</li>
<li><a href="typography.html">Typography</a></li>
<li><a href="buttons.html">Buttons</a></li>
<li><a href="lists.html">Lists</a></li>
<li><a href="alerts.html">Alerts</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="pricing-tables.html">Pricing Tables</a></li>
<li><a href="accordions.html">Accordions & Toggles</a></li>
<li><a href="dividers.html">Dividers</a></li>
</ul>
</div>
<div class="col-lg-3 col-sm-3">
<h4>AVENDOR Features</h4>
<img src="img/demo/content/features.jpg" class="img-responsive" alt="AVENDOR Features">
<p>You can view all the shortcodes and features just by clicking the button bellow!</p>
<a href="font-avendor-icons.html" class="btn btn-default btn-xs btn-alt">View All Features</a>
</div>
</div>
</div>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Shop <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="shop-front.html">Front Shop Page</a></li>
<li><a href="shop-page.html">Shop Page - Sidebar</a></li>
<li><a href="shop-page-full.html">Shop Page - Full Width</a></li>
<li><a href="shop-product.html">Single Product Page</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Projects <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="projects-grid-full.html">Grid Ful Width</a></li>
<li><a href="projects-grid-boxed.html">Grid Boxed</a></li>
<li><a href="projects-grid-expand.html">Grid Expand</a></li>
<li><a href="projects-grid-mix.html">Grid Mixed</a></li>
<li><a href="projects-classic-2.html">Classic 2 Columns</a></li>
<li><a href="projects-classic-3.html">Classic 3 Columns</a></li>
<li><a href="projects-classic-4.html">Classic 4 Columns</a></li>
<li><a href="projects-classic-expand.html">Classic Expand</a></li>
<li><a href="projects-item-style.html">Classic Item Alt Style</a></li>
<li><a href="projects-single.html">Single Project Page</a></li>
</ul>
</li>
<li class="dropdown">
<a href="blog-default.html" class="dropdown-toggle" data-toggle="dropdown">Blog <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="blog-default.html">Blog Classic</a></li>
<li><a href="blog-full.html">Blog Full Width</a></li>
<li><a href="blog-masonry.html">Blog Masonry</a></li>
<li><a href="blog-single-post.html">Blog Single Post</a></li>
<li><a href="blog-single-post-full.html">Blog Single Full Width</a></li>
</ul>
</li>
<li class="active"><a href="contact.html">Contact</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
</div>
<!-- /Main Navigation -->
</div>
</div>
<!-- /Main Navigation & Logo -->
</div>
<!-- /Container -->
</div>
<!-- /Header Main Container -->
</div>
<!-- /Header Container -->
<!-- Main Wrapper Header -->
<div class="main-wrapper-header fancy-header dark-header parallax parallax-breadcrumbs" data-stellar-background-ratio="0.4">
<div class="bg-overlay bg-overlay-gdark"></div>
<div class="container">
<div class="row">
<div class="col-sm-12 columns">
<div class="page-title">
<h2>Contact Us</h2>
</div>
<div class="breadcrumbs-wrapper">
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li class="active">Contact Us</li>
</ol>
</div>
</div>
</div>
</div>
</div>
<!-- /Main Wrapper Header -->
<!-- Main Container -->
<div class="main-wrapper">
<!-- Container -->
<div class="container">
<div class="white-space space-big"></div>
<div class="row">
<div class="col-md-6">
<h3 class="fancy-title"><span>Contact Information</span></h3>
<p>Aliquam quis fermentum justo, sit amet tincidunt turpis. Fusce varius neque eros, in accumsan felis pellentesque at. Nulla ut bibendum dui. Nunc lobortis felis a quam sagittis, nec dignissim elit laoreet. Nam tincidunt justo at turpis sollicitudin commodo. </p>
<div class="row">
<div class="col-sm-6">
<ul class="list-default fa-ul">
<li><span class="fa-li fa fa-phone color-default"></span>(123) 456-7890</li>
<li><span class="fa-li fa fa-envelope color-default"></span>[email protected]</li>
<li><span class="fa-li fa fa-clock-o color-default"></span><strong>Monday - Friday:</strong> 09:00 - 18:00</li>
</ul>
</div>
<div class="col-sm-6">
<ul class="list-default fa-ul">
<li><span class="fa-li fa fa-map-marker color-default"></span>141 Fifth Avenue, 44th Floor New York, United States </li>
<li><span class="fa-li fa fa-envelope color-default"></span>[email protected]</li>
</ul>
</div>
</div>
<div class="white-space space-small"></div>
</div>
<div class="col-md-6">
<h3 class="fancy-title"><span>Contact Form</span></h3>
<!-- Form -->
<form class="form-horizontal" id="contactForm" role="form" method="POST">
<div id="status"></div>
<div class="form-group">
<div class="col-sm-6">
<input type="text" class="form-control input-lg" id="inputName" name="inputName" placeholder="Enter Your Name" />
<?php if(isset($nameError) && $nameError != ''): ?><span class="errorarr"><?php echo $nameError;?></span><?php endif;?>
</div>
<div class="col-sm-6">
<input type="Email" class="form-control input-lg" id="inputEmail" name="inputEmail" placeholder="Enter Your Email" />
<?php if(isset($emailError) && $emailError != ''): ?><span class="errorarr"><?php echo $emailError;?></span><?php endif;?>
</div>
<div class="col-sm-12">
<input type="subject" class="form-control" id="inputSubject" placeholder="Subject" name="inputSubject">
<?php if(isset($subjectError) && $subjectError != ''): ?><span class="errorarr"><?php echo $subjectError;?></span><?php endif;?>
</div>
<div class="col-sm-12">
<textarea class="form-control" rows="6" placeholder="Enter Your Message" id="inputMessage" name="inputMessage" ></textarea>
<?php if(isset($messageError) && $messageError != ''): ?><span class="errorarr"><?php echo $messageError;?></span><?php endif;?>
</div>
<div class="col-sm-12">
<button type="submit" class="btn btn-primary center-block" id="send" name="send">Send Message</button>
</div>
</div>
</form>
<!-- /Form -->
<div class="white-space space-small"></div>
</div>
</div>
<div class="white-space space-medium"></div>
</div>
<!-- /Container -->
<!-- Map -->
<div class="gmap-wrapper"><div id="google-map"></div></div>
<!-- /Map -->
</div>
<!-- /Main Container -->
<!-- Footer Container -->
<div class="footer-wrapper">
<!-- Footer Bottom Container -->
<div class="footer-bottom">
<!-- Container -->
<div class="container">
<div class="row">
<!-- Footer Menu -->
<div class="col-md-12 col-sm-12 columns">
<div class="menu-footer">
<ul class="list-inline">
<li><a href="">Home</a></li>
<li><a href="">About Us</a></li>
<li><a href="">Shop</a></li>
<li><a href="">Blog</a></li>
<li><a href="">Portfolio</a></li>
<li><a href="">Contact</a></li>
</ul>
</div>
</div>
<!-- /Footer Menu -->
<!-- Copyright -->
<div class="col-md-12 col-sm-12 columns">
<div class="copyright">
<p>Copyright © 2014 - Avendor | All Rights Reserved</p>
</div>
</div>
<!-- /Copyright -->
<!-- Footer Social -->
<div class="col-md-12 col-sm-12 columns">
<div class="social-footer">
<ul class="list-inline social-list">
<li><a href="" class="ToolTip" title="Facebook"><span class="fa fa-facebook"></span></a></li>
<li><a href="" class="ToolTip" title="Twitter"><span class="fa fa-twitter"></span></a></li>
<li><a href="" class="ToolTip" title="Google+"><span class="fa fa-google-plus"></span></a></li>
<li><a href="" class="ToolTip" title="Pinterest"><span class="fa fa-pinterest"></span></a></li>
<li><a href="" class="ToolTip" title="Linkedin"><span class="fa fa-linkedin"></span></a></li>
</ul>
</div>
</div>
<!-- /Footer Social -->
</div>
</div>
<!-- /Container -->
</div>
<!-- /Footer Bottom Container -->
</div>
<!-- /Footer Container -->
</div>
<!-- Back To Top -->
<a href="#page-top" class="scrollup smooth-scroll" ><span class="fa fa-angle-up"></span></a>
<!-- /Back To Top -->
<!-- Javascripts
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/themejs/jquery.countdown.js"></script>
<!-- Preloader -->
<script src="js/themejs/jquery.queryloader2.min.js" type="text/javascript"></script>
<!-- Smooth Scroll -->
<script src="js/themejs/SmoothScroll.js" type="text/javascript"></script>
<!-- Stick On Scroll -->
<script src="js/themejs/jquery.stickOnScroll.js" type="text/javascript"></script>
<!-- Scrolling Smooth to section - requires jQuery Easing plugin -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<!-- SLIDER REVOLUTION 4.x SCRIPTS -->
<script src="js/revolutionslider/jquery.themepunch.plugins.min.js"></script>
<script src="js/revolutionslider/jquery.themepunch.revolution.min.js"></script>
<!-- LivIcons -->
<script src="js/livicons/livicons-1.3.min.js" type="text/javascript"></script>
<script src="js/livicons/raphael-min.js" type="text/javascript"></script>
<!-- Portfolio -->
<script src="js/themejs/jquery.isotope.min.js" type="text/javascript"></script>
<script src="js/themejs/jquery.colio.min.js" type="text/javascript"></script>
<!-- Parallax -->
<script src="js/themejs/jquery.stellar.min.js" type="text/javascript"></script>
<!-- Carousel -->
<script src="js/owl-carousel/owl.carousel.js" type="text/javascript"></script>
<!-- Counters -->
<script src="js/themejs/jquery.countTo.js" type="text/javascript"></script>
<!-- Lightbox -->
<script src="js/themejs/jquery.magnific-popup.min.js" type="text/javascript"></script>
<!-- Tooltips -->
<script src="js/themejs/jQuery.Opie.Tooltip.min.js" type="text/javascript"></script>
<!-- Animation Viewport -->
<script src="js/themejs/jquery.waypoints.min.js" type="text/javascript"></script>
<!-- Pie Chart -->
<script src="js/themejs/jquery.easypiechart.min.js" type="text/javascript"></script>
<!-- Twitter -->
<script src="twitter/jquery.tweet.js" type="text/javascript"></script>
<!-- Google Maps -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyASm3CwaK9qtcZEWYa-iQwHaGi3gcosAJc&sensor=false"></script>
<!-- Load Scripts -->
<script src="js/themejs/application.js"></script>
<!-- Contact Form -->
<script src="js/themejs/jquery.validate.min.js"></script>
<script type="text/javascript">
<!-- Contact form validation
jQuery(document).ready(function(){
jQuery("#contactForm").validate({
submitHandler: function() {
var postvalues = jQuery("#contactForm").serialize();
jQuery.ajax
({
type: "POST",
url: "contact/process-form.php",
data: postvalues,
success: function(response)
{
jQuery("#status").html(response).show('normal');
jQuery('#inputMessage, #inputEmail, #inputSubject, #inputName').val("");
}
});
return false;
},
focusInvalid: true,
focusCleanup: false,
//errorLabelContainer: jQuery("#registerErrors"),
rules:
{
inputName: {required: true},
inputEmail: {required: true, minlength: 6,maxlength: 50, email:true},
inputSubject: {required: true},
inputMessage: {required: true, minlength: 6}
},
messages:
{
inputName: {required: "This field is required"},
inputEmail: {required: "This field is required", email: "Please provide a valid e-mail"},
inputSubject: {required: "This field is required"},
inputMessage: {required: "This field is required"}
},
errorPlacement: function(error, element)
{
error.insertBefore(element);
jQuery('<span class="errorarr"></span>').insertBefore(element);
},
invalidHandler: function()
{
//jQuery("body").animate({ scrollTop: 0 }, "slow");
}
});
});
-->
</script>
</body>
</html>