OverLord Shell
<?php
session_start();
include_once("db/conn.php");
include_once("header.inc.php");
?>
<div class="page-content">
<section class="page_head">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<h3>Contact Us</h3>
<br />
</div>
</div>
</div>
</section>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8">
<div class="maps">
<div class="google-maps">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3774.093742898213!2d72.83087901442245!3d18.92724436155097!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7d1daffffffff%3A0x6ed0399d09f56646!2sMaharashtra+Chamber+of+Commerce%2C+Industry+%26+Agriculture!5e0!3m2!1sen!2sin!4v1542858411660" width="700" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class=" col-sm-3 well" style="background-color:white; line-height: 192%; ">
<form style="font-size:14px;">
<div class="col-sm-12" style="font-family: 'Helvetica'; font-size: 23px; padding:5%;"><center><strong>CONTACT</strong></center></div>
<!--<div class="col-sm-12"><strong>Swapnil Jain</strong> (+91 8380037808)</div>-->
<div class="col-sm-12"><strong>Sagar Nagare</strong> (+ 91 9870417866)<br/>
(Secretary General)
</div>
<div class="col-sm-12" style="padding:5%;"><strong>Email:</strong> sagar@maccia.org.in
</div>
<div class="col-sm-12"><strong>Mumbai Address:</strong></div>
<div class="col-sm-12">Maharashtra Chamber of Commerce, Industry & Agriculture (MACCIA)<br />
Oricon House, 6th Flr., 12, K.Dubhash Marg, Near Kala Ghoda, Fort,<br />
Mumbai, Maharashtra – 400 001
</div>
<div class="col-sm-12"style="padding:5%;"><strong>Phone No.</strong> 022 - 2285 5859 / 5860 / 67395800 ( 30 Lines)<br/><strong>Fax:</strong> 022 - 2285 5861</div>
<div class="col-sm-12">
</form>
<div>
</div>
</div>
</div>
<div class="col-md-12">
<!--<h3 class="page-header">Contact Us</h3>--><br/><br/>
<form role="form" id="addform">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label>Name <span class="require">*</span></label>
<input type="text" class="form-control" name="name" id="name" maxlength="100" data-validation="required" data-validation-error-msg="Invalid Name">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label>Email <span class="require">*</span></label>
<div class="input-icon">
<i class="fa fa-envelope"></i>
<input type="text" class="form-control" name="email" id="email" maxlength="100" data-validation="email" data-validation-error-msg="Invalid Email">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label>Message <span class="require">*</span></label>
<textarea rows="5" class="form-control" name="message" id="message" data-validation="required" data-validation-error-msg="Invalid Message" style="resize:none"></textarea>
</div>
</div>
</div>
<button type="submit" style="float:right" class="btn btn-danger" data-loading-text="Submitting...">Send Email</button>
</form>
</div>
</div>
</div>
</div>
<script>
function valAdd() {
$.validate({
modules: 'file,security',
form: '#addform',
scrollToTopOnError: false,
onSuccess: function() {
$('#addform button[type=submit]').button('loading');
$('#addform button[type=reset]').attr('disabled', 'disabled');
$('.note-danger').html('').hide();
// alert( $('#addform').serialize());
//return false;
$.ajax({
type: 'POST',
url: 'send_mail.php',
data: $('#addform').serialize(),
// contentType: false,
// processData: false,
success: function(data) {
alert(data);
if (data== 'success') {
$('.alert-success').show();
setTimeout(function() {
location ='contactus.php?msg=add_success';
}, 2000);
} else if (data.substr(data.length - 4) == '.php') location = data;
else {
$('.alert-success').html(data).show();
$('#addform button[type=submit]').button('reset');
$('#addform button[type=reset]').removeAttr('disabled');
}
}
});
return false;
}
});
}
valAdd();
<?php /*?>$.validate({
modules: 'file,security',
form: '#addform',
scrollToTopOnError: false,
onSuccess: function() {
$('#addform button[type=submit]').button('loading');
$('#addform button[type=reset]').attr('disabled', 'disabled');
$('.alert-danger').html('').hide();
alert(111111111111);
$.ajax({
type: 'POST',
url: 'send_mail.php',
data: new FormData($('#addform')[0]),
contentType: false,
processData: false,
success: function(data) {
if (data == 'success') {
alert(data);
location = 'addform.php?msg=success';
} else if (data.substr(data.length - 4) == '.php') location = data;
else {
$('.alert-danger').html(data).show();
$('#addform button[type=submit]').button('reset');
$('#addform button[type=reset]').removeAttr('disabled');
}
}
});
return false;
}
});<?php */?>
</script>
<style>
.col-sm-3 {
width: 29%;
}
</style>
<?php include_once("footer.inc.php");connClose();?>
xRyukZ - Copyright 2k19