ok

Mini Shell

Direktori : /home/importfo/www/vsdesigno.com/
Upload File :
Current File : /home/importfo/www/vsdesigno.com/inquiry.php



 <?php
            include("admin/config.php");           
            if(isset($_POST['submit']))
            {
                error_reporting(0);
                $name=$_POST['name'];
                $email=$_POST['email'];
                $contact=$_POST['contact'];
                $services=$_POST['sub'];
                $msg=$_POST['msg'];

                date_default_timezone_set('Asia/Kolkata');
                $currentTime = date( 'd-m-Y h:i:s A', time () );
                
                $sql="INSERT INTO `contact` (`name`, `email`, `contact`,`services`,`message`,`date`) VALUES ('$name','$email ','$contact','$services','$msg','$currentTime')";
                $result=mysqli_query($db,$sql);

                if($result==1)
                {
             
                    $to = "book@vsdesigno.com";
                    $subject = "VS Designo Website Enquiry Detail";
             
                    $message .= "<h4>Name : $name</h4>";
                    $message .= "<h4>Email : $email </h4>";
                    $message .= "<h4>Contact : $contact </h4>";
                    $message .= "<h4> Subject : $services </h4>";
                    $message .= "<h4>Message : $msg </h4>";

                    $header = "From:$email \r\n";
                    /*$header .= "Cc:inddigmedia@gmail.com\r\n";*/
                    $header .= "MIME-Version: 1.0\r\n";
                    $header .= "Content-type: text/html\r\n";
                 
                    $retval = mail ($to,$subject,$message,$header);
                    if( $retval == true )
                    { 
                      echo ("<script LANGUAGE='JavaScript'>window.location.href='thanks.php';</script>");
                      /*echo "email send sucessfully";*/ 
                    }
                     }
                else
                {
                    echo "Email Could Not Send.!";
                }
            }
        ?>




<html lang="en">

<!-- contact27:42-->
<head>
<?php include('top.php');?>
</head>

<body>

<div class="page-wrapper">
    <!-- Preloader -->
    <div class="preloader"></div>
    
        <!-- Main Header-->
    <?php include('header.php'); ?>
    <!--End Main Header -->
    
    <!--Page Title-->
    <section class="page-title" style="background-image:url(images/main-slider/g.jpg);">
        <div class="auto-container">
            <div class="inner-container clearfix">
                <div class="title-box">
                    <h1 style="text-align: center; margin-left: 50px; margin-bottom: 10px; margin-top: 40px;" >Thank You.</h1>
                    <p style="text-align: center; margin-left: 50px; margin-bottom: 250px;">Your Contact Inquiry Send Sucessdully.!</p>
                </div>
               <!--  <ul class="bread-crumb clearfix">
                    <li><a href="index-2.html">Home</a></li>
                    <li>Contact Us</li>
                </ul> -->
            </div>
        </div>
    </section> 
    <!--End Page Title-->

    <!-- Contact Page Section -->


    <!-- Main Footer -->
  <footer class="main-footer" style="background-image: url(images/background/5.jpg);">       
        <!--Footer Bottom-->
        <div class="footer-bottom">
            <div class="auto-container">
                <div class="inner-container clearfix">
                    
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <ul class="wrapper">
  <li class="icon facebook">
    <a href="https://www.facebook.com/vsdesigno"><span class="tooltip">Facebook</span>
    <span><i class="fab fa-facebook-f"></i></span></a>
  </li>
  <li class="icon twitter"><a href="#">
    <span class="tooltip">Twitter</span>
    <span><i class="fab fa-twitter"></i></span></a>
  </li>
  <li class="icon instagram"><a href="https://www.instagram.com/vandanashah07/">
    <span class="tooltip">Instagram</span>
    <span><i class="fab fa-instagram"></i></span></a>
  </li>
  <li class="icon github"><a href="#">
    <span class="tooltip">Github</span>
    <span><i class="fab fa-github"></i></span></a>
  </li>
  <li class="icon youtube"><a href="https://www.youtube.com/watch?v=AkvL-XTEYh0&feature=youtu.be">
    <span class="tooltip">Youtube</span>
    <span><i class="fab fa-youtube"></i></span></a>
  </li>
</ul>
                    <div class="copyright-text">
                       <a href="inddigmedia.com" target="_blank">Copyright © 2022| VS Designo Interior Designer | Developed by inddigmedia</a>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <!-- End Main Footer -->

</div>



<!--Scroll to top-->

<script src="js/jquery.js"></script> 
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.fancybox.js"></script>
<script src="js/owl.js"></script>
<script src="js/wow.js"></script>
<script src="js/appear.js"></script>
<script src="js/validate.js"></script>
<script src="js/mixitup.js"></script>
<!--Google Map APi Key-->
<script src="http://maps.google.com/maps/api/js?key=AIzaSyBKS14AnP3HCIVlUpPKtGp7CbYuMtcXE2o"></script>
<script src="js/map-script.js"></script>
<!--End Google Map APi-->
<script src="js/script.js"></script>
<!-- Color Setting -->
<script src="js/color-settings.js"></script>
</body>

<!-- contact27:43-->
</html>

       


   
      
   

Zerion Mini Shell 1.0