310 lines
15 KiB
PHP
310 lines
15 KiB
PHP
<!-- Title -->
|
|
<title>Get in touch with us@IIMTT</title>
|
|
<meta name="description" content="Still have a question about Montessori education? Trying to choose the right course to study?contact with us for more details.">
|
|
<link rel="canonical" href="https://iimtt.org/contact">
|
|
</head>
|
|
<body>
|
|
<!-- Google Tag Manager (noscript) -->
|
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5QHMZ5P"
|
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
<!-- End Google Tag Manager (noscript) -->
|
|
<?php
|
|
include("_navbar.php");
|
|
?>
|
|
|
|
<!-- WELCOME -->
|
|
<section data-jarallax data-speed=".8"
|
|
class="py-12 py-md-15 bg-cover jarallax shadow-light-lg overlay overlay-dark overlay-40"
|
|
style="background-image: url(/assets/img/contact-banner.jpeg);height: 50px;">
|
|
<div class="container">
|
|
<h1 style="text-align: center;color:white;" class="display-3">CONTACT US</h1>
|
|
</div>
|
|
</section>
|
|
<div class="position-relative">
|
|
<div class="shape shape-bottom shape-fluid-x svg-shim text-white">
|
|
<svg viewBox="0 0 2880 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M0 48h2880V0h-720C1442.5 52 720 0 720 0H0v48z" fill="currentColor" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<!------------------------------------------------------------------------>
|
|
<!-- CONTENT -->
|
|
<br><br>
|
|
<section>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12 col-md-6 col-lg-5">
|
|
<h2 class="font-weight-bold" style="color: #00b1c1;text-align: center;">Head Office</h2>
|
|
<div style="background-image: url(/assets/img/uk.jpg); border-radius: 10px;border-left:3px solid #0189c8" class="add1 bg-cover overlay overlay-dark overlay-40 shadow-dark">
|
|
<div class="container">
|
|
<p style=" color:white;font-size: 14px;">
|
|
<span style="color: #0189c8; font-size: 16PX;font-weight: bold;">UK:</span><br> Kemp House 160 City Road, London, Ec1v2nx<br>
|
|
<img style="height: 20px;" src="/assets/img/phone.png" alt="Phone"> +442038077020<br>
|
|
<img style="height: 15px;" src="/assets/img/message.jpeg" alt="message"> enquiry@iimtt.org<br>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<h2 class="font-weight-bold" style="color: #00b1c1;text-align: center;">Regional Offices</h2>
|
|
|
|
<div style="background-image:url(/assets/img/india.jpg);background-repeat:no-repeat;border-radius: 10px;border-left:3px solid #f7a325;" class="add1 shadow-dark bg-cover overlay overlay-dark overlay-40 shadow-dark">
|
|
<div class="container">
|
|
<p style="font-size: 14px;color:white;">
|
|
<span style="color: #f7a325; font-size: 16PX;font-weight: bold;">India:</span><br> DE 2B VIP Road, Kolkata 59, West Bengal<br>
|
|
<img style="height: 20px;" src="/assets/img/phone.png" alt="phone">+91-334058-5535<br>
|
|
<!--
|
|
<img style="height: 15px;" src="/assets/img/message.jpeg" alt="message"> enquiry@atheneumglobal.education<br>
|
|
-->
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="background-image:url(/assets/img/vietnam.jpg);border-radius: 10px;border-left:3px solid #00c1b1;" class="shadow-light-lg bg-cover overlay overlay-dark overlay-60 add1 bg-cover overlay overlay-dark overlay-40 shadow-dark shadow-dark">
|
|
<div class="container"><p style="color:white;font-size: 14px;">
|
|
<span style="color: #00c1b1; font-size: 16PX;font-weight: bold;">Vietnam:</span><br> Cổ Nhuế 1, Từ Liêm, Hanoi, Vietnam<br>
|
|
<img style="height: 20px;" src="/assets/img/phone.png" alt="phone"> +0359057904<br>
|
|
<!--
|
|
<img style="height: 15px;" src="/assets/img/message.jpeg" alt="message"> enquiry@atheneumglobal.co.uk<br>
|
|
-->
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div style="background-image:url(/assets/img/kenya-min.jpg);border-radius: 10px;border-left:3px solid #0189c8;" class="add1 bg-cover overlay overlay-dark overlay-40 shadow-dark shadow-dark">
|
|
<div class="container">
|
|
<p style="color: white; font-size: 14px;">
|
|
<span style="color: #0189c8; font-size: 16PX;font-weight: bold;">Kenya:</span><br> Eldama Ravine Cl, Nairobi, Kenya<br>
|
|
<img style="height: 20px;" src="/assets/img/phone.png" alt="phone"> +0737999928<br>
|
|
<!--
|
|
<img style="height: 15px;" src="/assets/img/message.jpeg" alt="message"> enquiry@atheneumglobal.co.uk<br>
|
|
-->
|
|
</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="col-12 col-md-6 col-lg-7">
|
|
<h2 style="color: #00b1c1;" class="font-weight-bold text-center">
|
|
Let's get in touch
|
|
</h2>
|
|
<div class="alert alert-danger" id="warning" style="display: none;">Fill all the fields!</div>
|
|
<div class="alert alert-success" id="success" style="display: none;">Thank You! We will contact you soon!</div>
|
|
<!-- Form -->
|
|
<form class="" role="form" method="post">
|
|
<div class="form-group mb-5">
|
|
<!-- Input -->
|
|
<input type="text" aria-required="true" name="widget-contact-form-name" required
|
|
class="form-control required name" id="name1" placeholder="Enter your Name">
|
|
</div>
|
|
<div class="form-group mb-5">
|
|
<!-- Input -->
|
|
<input class="form-control" id="phn" type="number" name="telephone"
|
|
placeholder="Enter your Contact number" required>
|
|
<p id="phnError" style="color: red; display: none;">Enter a valid phone number</p>
|
|
</div>
|
|
<div class="form-group mb-5">
|
|
<!-- Input -->
|
|
<input type="email" id="email" aria-required="true" name="widget-contact-form-email"
|
|
required class="form-control required email" placeholder="Enter your Email">
|
|
<p id="emailError" style="color: red; display: none;">Enter a valid email address</p>
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="addr" name="address"
|
|
placeholder="Enter your Full Address" required>
|
|
</div>
|
|
<div class="row">
|
|
<div class="form-group col-md-12">
|
|
<select id="req" class="form-control" name="gender" required>
|
|
<option value="">In which field you are interested in?</option>
|
|
<option value="Montessori Training">Montessori Training</option>
|
|
<option value="Partnership with IIMTT">Partnership with IIMTT</option>
|
|
<option value="Preschool setup for High School">Preschool setup for High School</option>
|
|
<option value="Others">Others</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group mb-7 mb-md-9">
|
|
|
|
<!-- Input -->
|
|
<textarea type="text" name="widget-contact-form-message" required rows="3"
|
|
class="form-control required" id="message" placeholder="Enter your Message"></textarea>
|
|
|
|
</div> <!-- / .row -->
|
|
<!--
|
|
<div class="form-group mb-5 d-none">
|
|
|
|
<!-- Label --
|
|
<label for="contactMessage">
|
|
What can we help you with?
|
|
</label>
|
|
|
|
<!-- Input --
|
|
<textarea class="form-control" id="message" rows="5"
|
|
placeholder="Tell us what we can help you with!"></textarea>
|
|
|
|
</div>
|
|
-->
|
|
<div class="form-group mb-0">
|
|
|
|
<!-- Submit --
|
|
<a href="#" style="background-color: #f7a325;margin:10px;" class="btn btn-sm btn-block lift">
|
|
Send message
|
|
</a>-->
|
|
|
|
<button style="background-color: #f7a325;margin:10px;" class="btn btn-sm btn-block lift" type="button" onclick="submitForm()"> Send message</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<script type="text/javascript">
|
|
var option = null;
|
|
var name = null;
|
|
var addr = null;
|
|
var phn = null;
|
|
var subject = null;
|
|
var email = null;
|
|
var message = null;
|
|
var warning = document.getElementById('warning');
|
|
var success = document.getElementById('success');
|
|
var emailError = document.getElementById('emailError');
|
|
var req = document.getElementById("req");
|
|
function setOptions(s) {
|
|
// console.log(s[s.selectedIndex].value); // get value
|
|
option = s[s.selectedIndex].value;
|
|
// console.log(s[s.selectedIndex].id); // get id
|
|
}
|
|
function submitForm() {
|
|
name = document.getElementById("name1").value;
|
|
phn = document.getElementById("phn").value;
|
|
addr = document.getElementById("addr").value;
|
|
email = document.getElementById("email").value;
|
|
message = document.getElementById("message").value;
|
|
success.style.display = "none";
|
|
subject = req.options[req.selectedIndex].value;
|
|
console.log(name+phn+addr+email+message+subject);
|
|
if (name == '' || addr == '' || phn == '' || email == '' || message == '' || subject == '') {
|
|
warning.style.display = "block";
|
|
} else {
|
|
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
|
|
var mobile = /^\d{10}$/;
|
|
|
|
if (reg.test(email) == false) {
|
|
emailError.style.display = "block";
|
|
}else if (mobile.test(phn) == false) {
|
|
phnError.style.display = "block";
|
|
} else {
|
|
emailError.style.display = "none";
|
|
warning.style.display = "none";
|
|
let formData = new FormData();
|
|
formData.append('formName', 'IIMTT-Contact-Form');
|
|
formData.append('business_type', 'iimtt');
|
|
formData.append('Name', name);
|
|
formData.append('Email', email);
|
|
formData.append('Phone', phn);
|
|
formData.append('Field', subject);
|
|
formData.append('Address', addr);
|
|
formData.append('MessageDetails', message + " Field:" + subject);
|
|
fetch('https://api.teenybeans.in/API/contactFormProcessor/v1/', {
|
|
method: 'POST',
|
|
body: formData
|
|
})
|
|
.then(res => res.json())
|
|
.then(json => {
|
|
// console.log(json);
|
|
// sendMail("enquiry@atheneumglobal.education");
|
|
sendMail("teenybeans.info@gmail.com");
|
|
sendMail("enquiry@beanstalkedu.com");
|
|
// sendMail("chatterjeegouravking@gmail.com");
|
|
sendWelcomeMail(email);
|
|
success.style.display = "block";
|
|
document.getElementById("name1").value = "";
|
|
document.getElementById("phn").value = "";
|
|
document.getElementById("addr").value = "";
|
|
document.getElementById("email").value = "";
|
|
document.getElementById("message").value = "";
|
|
|
|
// window.location.href = "contact-back";
|
|
}
|
|
);
|
|
}
|
|
|
|
}
|
|
// if(name)
|
|
}
|
|
|
|
function sendMail(sendEmail) {
|
|
// ---------Mail sent-----------------
|
|
|
|
let formData = new FormData();
|
|
formData.append("sendMail", "true");
|
|
formData.append("reciever", sendEmail);
|
|
formData.append("sender", "IIMTT");
|
|
formData.append("senderMail", "enquiry@iimtt.org");
|
|
formData.append("subject", "New Contact Form Fillup");
|
|
formData.append(
|
|
"message",
|
|
"<html><body><p>New IIMTT Contact Page form is filled up.</p><br><p>User Details:-</p><table><tr><th>Name:- </th><td>:- " +
|
|
name +
|
|
"</td></tr><tr><th>Email:- </th><td>:- " +
|
|
email +
|
|
"</td></tr><tr><th>Phone:- </th><td>:- " +
|
|
phn +
|
|
"</td></tr><tr><th>Address:- </th><td>:- " +
|
|
addr +
|
|
"</td></tr><tr><th>Service:- </th><td>:- " +
|
|
subject +
|
|
"</td></tr><tr><th>Message:- </th><td>:- " +
|
|
message +
|
|
"</td></tr></table></body></html>"
|
|
);
|
|
fetch("https://mailapi.teenybeans.in/009/", {
|
|
method: "POST",
|
|
body: formData
|
|
})
|
|
.then(function (response) {
|
|
response.json().then(function (data) {
|
|
// console.log(data);
|
|
});
|
|
})
|
|
.catch(function (err) {
|
|
console.log("Fetch Error :-S", err);
|
|
});
|
|
}
|
|
function sendWelcomeMail(sendEmail) {
|
|
// ---------Mail sent-----------------
|
|
console.log(sendEmail);
|
|
let formData = new FormData();
|
|
formData.append("sendMail", "true");
|
|
formData.append("reciever", sendEmail);
|
|
formData.append("sender", "IIMTT");
|
|
formData.append("senderMail", "enquiry@iimtt.org");
|
|
formData.append("subject", "Thank you for contacting IIMTT.");
|
|
formData.append(
|
|
"message",
|
|
// "<html><body><p>Welcome " +
|
|
// name +
|
|
// " to IIMTT.<br>Thank you for contacting us. <br> We will get back to you shortly. In the meanwhile please do check out our website for more information. <a href='https://iimtt.org'>click here</a><br>Thank you<br>-Team IIMTT. </p></body></html>"
|
|
|
|
'<html><body style="background-color:#f5f8f5;padding:16px;"><div style="text-align:center"><a href="#"><img style="width:150px;" src="http://iimtt.org/assets/img/iimtt-footer-logo.png"></a></div>'+
|
|
'<div><p>Hi '+name+'</p><p>Thank you for reaching International Institute of Montessori Teacher Training.</p>'+
|
|
'<p>IIMTT was established to help meet the growing demand for Montessori teachers in India and abroad.Our course equips participants to educate children in the Montessori Method, at the pre-primary level anywhere in the world.</p>'+
|
|
'<p>Our representative will get in touch with you soon regarding your enquiry!</p></div>'+
|
|
'<div style="text-align:center"><a href="https://drive.google.com/file/d/11JW1i7annvdjF6rG5vwSFBjIBaMDfAqZ/view?usp=sharing"><Button style="background-color:#f7a325;color:black;border:none;">Download Brochure</Button></a></div><p>Thanks<br>Team IIMTT</p>'+
|
|
'<div style="text-align:center"><p><b>Follow us</b><br><a href="https://www.facebook.com/IIMTT/" target="_blank"><img style="width:26px;margin-right:10px" src="https://iimtt.org/assets/img/fb.png" alt="Logo"></a><a href="https://www.instagram.com/iimtt.corporate/" target="_blank"><img style="width:26px;margin-right:10px" src="https://iimtt.org/assets/img/insta.png" alt="Logo"></a><a href="https://twitter.com/iimtt_corporate" target="_blank"><img style="width:26px;margin-right:10px" src="https://iimtt.org/assets/img/tw.png" alt="Logo"></a>'+
|
|
'<a href="https://www.linkedin.com/showcase/international-institute-of-montessori-teacher-training/" target="_blank"><img style="width:30px;" src="https://iimtt.org/assets/img/linkedin.png" alt="Logo"></a><br><hr><b>International Institute of Montessori Teacher Training</b><br>Kemp House 160 City Road, London, Ec1v2nx<br>© 2021 IIMTT All rights reserved.</p></div></body></html>'
|
|
);
|
|
fetch("https://mailapi.teenybeans.in/009/", {
|
|
method: "POST",
|
|
body: formData
|
|
})
|
|
.then(function (response) {
|
|
response.json().then(function (data) {
|
|
console.log(data);
|
|
});
|
|
})
|
|
.catch(function (err) {
|
|
console.log("Fetch Error :-S", err);
|
|
});
|
|
}
|
|
|
|
</script>
|