<?php
include('admin/master/config.php');
if(isset($_POST['submit'])){

  $Name = $_POST['Name'];
  $Email = $_POST['Email'];
  $Phone = $_POST['Phone'];
  $Category = $_POST['Category'];
  $Message = $_POST['Message'];


  $sql = "INSERT INTO `contact`(`Name`, `Email`, `Phone`, `Message`) VALUES ('$Name','$Email','$Phone', '$Message')";

  if(mysqli_query($conn, $sql)){
    echo "<script>alert('Records added successfully.');</script>";
} else{
    //echo "ERROR: Could not able to execute. ";
    echo "<script>alert('ERROR: Could not able to execute.');</script>";
}

}



?>


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


<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="HTML5 Template" />
<meta name="description" content="Teliqon- Call Center & Telemarketing Html Template" />
<meta name="author" content="https://www.themetechmount.com/" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>IGS BPO</title>
<?php include 'inc/hscript.php';?>

</head>


<body>

    <!--page start-->
    <div class="page">
       
 <?php include 'inc/header.php';?>
        <!-- page-title -->
        <div class="ttm-page-title-row">
            <div class="ttm-page-title-row-inner">
                <div class="container">
                    <div class="row align-items-center">
                        <div class="col-lg-12">
                            <div class="page-title-heading ttm-textcolor-white">
                                <h2 class="title">Contact Us</h2>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="breadcrumb-wrapper ttm-bgcolor-grey">
                    <span>
                        <a title="Homepage" href="index.php">Home</a>
                    </span>
                    <span class="current">Contact Us </span>
                </div>
            </div>                    
        </div><!-- page-title end-->


    <!--site-main start-->
    <div class="site-main">

        <section class="ttm-row clearfix">
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-6">
                        <div id="google_map" class="google_map">
                            <div class="map_container">
                                <div id="map" class="map_2">
                                    <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3559.899568678242!2d75.73830401497383!3d26.84314646954377!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x396db499629171c3%3A0xda22b92b58afbdb2!2siGlobe%20Solutions!5e0!3m2!1sen!2sin!4v1627543352426!5m2!1sen!2sin" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <div class="pl-20 res-991-pl-0 res-991-pt-40">
                            <!-- section title -->
                            <div class="section-title">
                                <div class="title-header">
                                    <h5>Who we are</h5>
                                    <h2 class="title">Contact With Us.</h2>   
                                </div>
                            </div><!-- section title end -->
                            <div class="pt-15">
                            <form class="contact_form_2 wrap-form clearfix" method="post" action="action.php" enctype="multipart/form-data">
                               
                                    <div class="row">
                                        <div class="col-md-6">
                                            <label>
                                                <span class="text-input"><input name="Name" type="text" value="" placeholder="Your Name" required></span>
                                            </label>
                                        </div>
                                        <div class="col-md-6">
                                            <label>
                                                <span class="text-input"><input name="Email" type="text" value="" placeholder="Your Email" required></span>
                                            </label>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-12">
                                            <label>
                                                <span class="text-input"><input name="Phone" type="text" value="" placeholder="Phone Number" required></span>
                                            </label>
                                            <label>
                                                <span class="text-input"><textarea name="Message" rows="3" placeholder="Message" required></textarea></span>
                                            </label>
                                            <button name="submit" class="submit ttm-btn ttm-btn-size-md ttm-btn-shape-round ttm-btn-style-fill ttm-btn-color-skincolor" type="submit">Send Message</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div><!-- row end -->
            </div>
        </section>


        <section class="clearfix">
            <div class="container-fluid p-0">
                <!-- row -->
                <div class="row row-equal-height no-gutters">
                    <div class="col-lg-6 col-md-6 col-sm-12">
                        <!-- featured-icon-box -->
                        <div class="featured-icon-box icon-align-top-content ttm-bgcolor-skincolor style8">
                            <div class="featured-icon">
                                <div class="ttm-icon ttm-icon_element-color-white ttm-icon_element-fill ttm-icon_element-size-lg ttm-icon_element-style-round">
                                    <i class="flaticon flaticon-location"></i>
                                </div>
                            </div>
                            <div class="featured-content">
                                <div class="featured-title">
                                    <h5>IGS BPO</h5>
                                </div>
                                <div class="featured-desc">
                                    <p>Plot No: 3-4 Krishna Enclave, Patrakar Colony Rd, Near The Narayan School, Mansarovar, Jaipur, Rajasthan 302020, India </p>
                                </div>
                            </div>
                        </div><!-- featured-icon-box end-->
                    </div>
                    
                    <div class="col-lg-6 col-md-6 col-sm-12">
                        <!-- featured-icon-box -->
                        <div class="featured-icon-box icon-align-top-content ttm-bgcolor-grey style8">
                            <div class="featured-icon">
                                <div class="ttm-icon ttm-icon_element-color-white ttm-icon_element-fill ttm-icon_element-size-lg ttm-icon_element-style-round">
                                    <i class="flaticon flaticon-conversation"></i>
                                </div>
                            </div>
                            <div class="featured-content">
                                <div class="featured-title">
                                    <h5>Get n Touch</h5>
                                </div>
                                <div class="featured-desc">
                                    <p>Mail: info@igsbpo.com<br> Mail: support@igsbpo.com<br> Call Us On: 0141-2942007</p>
                                </div>
                            </div>
                        </div><!-- featured-icon-box end-->
                    </div>
                </div>
            </div>
        </section>


    </div><!--site-main end-->


   <?php include 'inc/footer.php';?>

   

</div><!-- page end -->

<?php include 'inc/fscript.php';?>

</body>

</html>