<!DOCTYPE html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Contact Us - LabU</title>
    <link href="images/favicon.ico" rel="icon">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/all.min.css">
    <link rel="stylesheet" href="css/animate.min.css">
    <link rel="stylesheet" href="css/owl.carousel.min.css">
    <link rel="stylesheet" href="css/jquery.fancybox.min.css">
    <link rel="stylesheet" href="css/tooltipster.min.css">
    <link rel="stylesheet" href="css/cubeportfolio.min.css">
    <link rel="stylesheet" href="css/revolution/navigation.css">
    <link rel="stylesheet" href="css/revolution/settings.css">
    <link rel="stylesheet" href="css/jquery-ui.css">
    <link rel="stylesheet" href="css/validationEngine.jquery.min.css" />
    <link rel="stylesheet" href="css/style.css">
</head>
<body data-spy="scroll" data-target=".navbar-nav" data-offset="0" class="offset-nav">
<!--PreLoader-->
<div class="loader">
    <div class="loader-inner">
        <div class="cssload-loader"></div>
    </div>
</div>
<!--PreLoader Ends-->
<!-- header -->
<?php include('include/header.php');?>
<!-- header -->
<section id="main-banner-page" class="gradient-bg2 pt-2 pb-2">
    <div class="container">        
        <div class=" title-wrap">
            <div class="row">
                <div class="col-lg-12 col-md-12 whitecolor">
                    <h3 class="float-left">Contact Us</h3>
                    <ul class="breadcrumb top10 bottom10 float-right">
                        <li class="breadcrumb-item hover-light"><a href="index.php">Home</a></li>
                        <li class="breadcrumb-item hover-light">Contact Us</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>

<section id="stayconnect1" class="bglight position-relative padding noshadow">
    <div class="container whitebox">
    	<div class="row">
           <div class="col-lg-12 col-md-12 col-sm-12">
              <div class="heading-title mb-5 wow fadeInUp" data-wow-delay="300ms" style="visibility: visible; animation-delay: 300ms; animation-name: fadeInUp;">
                 <h2 class="darkcolor font-normal bottom30">Contact <span class="defaultcolor">Informations</span> </h2>
              </div>
           </div>
        </div>
          
          
    	<div class="row mb-4">
            <div class="col-lg-4 col-md-3">
                <div class="widget text-center w-100 mb-3 contact-page">
                    <div class="contact-box">
                        <span class="icon-contact defaultcolor"><i class="fas fa-mobile-alt"></i></span>
                        <p class="bottom0"><a href="tel:+91 11 49050111">+91 11 49050111</a></p>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-3">
                <div class="widget text-center w-100 mb-3 contact-page">
                    <div class="contact-box">
                        <span class="icon-contact defaultcolor"><i class="fas fa-map-marker-alt"></i></span>
                        <p class="bottom0">Plot No-42, Vikas Plaza, Third Floor, Kalkaji, New Delhi-110019 </p>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-3">
                <div class="widget text-center w-100 mb-3 contact-page">
                    <div class="contact-box">
                        <span class="icon-contact defaultcolor"><i class="far fa-envelope"></i></span>
                        <p class="bottom0"><a href="mailto:admin@website.com">contact@indevconsultancy.com</a></p>
                    </div>
                </div>
            </div>
            
        </div>
        <div class="widget py-5">
        
        	
            <div class="row">
                <div class="col-md-12 wow fadeIn mt-n3" data-wow-delay="300ms">
                    <div class="heading-title mb-5 wow fadeInUp" data-wow-delay="300ms" style="visibility: visible; animation-delay: 300ms; animation-name: fadeInUp;">
                       <h2 class="darkcolor font-normal bottom30">Get in <span class="defaultcolor">Touch</span> </h2>
                    </div>
                </div>
                <div class="col-md-6 col-sm-6 order-sm-2">
                    <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3504.9979213807674!2d77.25949441455741!3d28.539782195024692!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390ce3de132b4909%3A0xb23d21cd15c91719!2sIndev%20Consultancy%20Pvt%20Ltd!5e0!3m2!1sen!2sin!4v1612597065540!5m2!1sen!2sin" width="100%" height="380" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
                </div>
                <div class="col-md-6 col-sm-6">
                    <div class="heading-title  wow fadeInUp" data-wow-delay="300ms">
                        <form class="getin_form wow fadeInUp" data-wow-delay="400ms" action="" method="post" id="contact-form">
                            <div class="row px-2">
                                <div class="col-md-12 col-sm-12" id="result1"></div>
                                <div class="col-md-12 col-sm-12">
                                    <div class="form-group">
                                        <label for="name" class="d-none"></label>
                                        <input class="form-control validate[required]" id="name" type="text" placeholder="Name:"  name="name">
                                    </div>
                                </div>
                                <div class="col-md-12 col-sm-12">
                                    <div class="form-group">
                                        <label for="phone" class="d-none"></label>
                                        <input class="form-control validate[required,custom[onlyNumberSp],minSize[10],maxSize[10]]" type="text" id="phone" placeholder="Phone:" name="phone">
                                    </div>
                                </div>
                                <div class="col-md-12 col-sm-12">
                                    <div class="form-group">
                                        <label for="email" class="d-none"></label>
                                        <input class="form-control validate[custom[email]]" type="email" id="email" placeholder="Email:" name="email">
                                    </div>
                                </div>
                                
                                <div class="col-md-12 col-sm-12">
                                    <div class="form-group">
                                        <label for="message" class="d-none"></label>
                                        <textarea class="form-control" id="message" placeholder="Message:"  name="message"></textarea>
                                    </div>
                                </div>
                                <div class="col-md-12 col-sm-12">
                                    <input type="submit" id="submit_btn" name="submit_now" class="button gradient-btn w-100" value="Submit Now">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        
    </div>
</section>




<?php include('include/footer.php');?>

<!--Footer ends-->
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/propper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.appear.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/parallaxie.js"></script>
<script src="js/jquery.cubeportfolio.min.js"></script>
<script src="js/jquery.fancybox.min.js"></script>
<script src="js/tooltipster.min.js"></script>
<script src="js/wow.js"></script>
<script src="js/revolution/jquery.themepunch.tools.min.js"></script>
<script src="js/revolution/jquery.themepunch.revolution.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/jquery.validationEngine.min.js"></script>
<script src="js/jquery.validationEngine-en.min.js"></script>
<script src="js/functions.js"></script>

<script>
  $( function() {
    
	var $regForm = $( '#contact-form' );
     $regForm.validationEngine();
  } );
  
		
	
  </script>
  <?php
		if(isset($_REQUEST['submit_now']))
		{
			//print_r($_POST);
			//exit();
			$name = $_REQUEST['name'];
			$message = $_REQUEST['message'];
			$email = $_REQUEST['email'];
			$mobile_no = $_REQUEST['phone'];
			$message = $_REQUEST['message'];
			
			
			//SEND MAIL
			
			require_once "PHPMailer/PHPMailerAutoload.php";
			$mail = new PHPMailer;
			//Enable SMTP debugging. 
			$mail->SMTPDebug = 0;       
			$mail->Host = "smtp.sendgrid.net";
			//Set this to true if SMTP host requires authentication to send email
			$mail->SMTPAuth = true;                          
			//Provide username and password     
			$mail->Username = "lavsingh90";                 
			$mail->Password = "123@abc@123123@abc@123";                           
			//If SMTP requires TLS encryption then set it
			$mail->SMTPSecure = "ssl";                           
			//Set TCP port to connect to 
			$mail->Port = 465;                                   
			
			$mail->From = "website-enquiry@labu.com";
			$mail->FromName = $name;
			
			$mail->addAddress("lav.singh90@gmail.com", "LabU");
			//$mail->addCC("vdmaurya12@gmail.com", "Vikas");
			
			$mail->isHTML(true);
			
			$mail->Subject = "LabU Contact Form";
			$mail->Body = "Name: ".$name."<br>Email: ".$email."<br>Mobile No.: ".$mobile_no."<br>Message: ".$message;
			$mail->IsHTML(true);
			
			
			if(!$mail->send()) 
			{
				//echo "Mailer Error: " . $mail->ErrorInfo;
				echo "<script>alert('Something went wrong, please try again.');</script>";
			} 
			else 
			{
				//echo "Message has been sent successfully";
				
				echo "<script>alert('Thank you! Your mail has benn sent successfull');</script>";
				echo "<script>window.location.href = 'http://lav.indevconsultancy.com/labu';</script>";
			}
			
		}
	?>
  
</body>

</html>