thank-you.php 8.76 KB
<?php
session_start();
$name = $_REQUEST['fname'];
$mobile = $_REQUEST['mobile'];
$email = $_REQUEST['email'];
$message = $_REQUEST['message'];

if (ctype_alpha(str_replace(' ', '', $name)) === false) {
    die;
}

if (!preg_match('/^[0-9]+$/', $_POST['mobile'])) {
    die;
}

if (empty($name)) {
    die;
}

if (empty($mobile)) {
    die;
}


require_once 'send_leads.php';

$postData = new PostData();

if ((!isset($_COOKIE['formfilled'])) && isset($_REQUEST['mobile'])) {

    $postData->callback();
    setcookie('formfilled', 'yes');
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">


<meta http-equiv="content-type" content="text/html;charset=utf-8" />


<head>

    <!-- Google Tag Manager -->
    <script>
    (function(w, d, s, l, i) {
        w[l] = w[l] || [];
        w[l].push({
            'gtm.start': new Date().getTime(),
            event: 'gtm.js'
        });
        var f = d.getElementsByTagName(s)[0],
            j = d.createElement(s),
            dl = l != 'dataLayer' ? '&l=' + l : '';
        j.async = true;
        j.src =
            'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
        f.parentNode.insertBefore(j, f);
    })(window, document, 'script', 'dataLayer', 'GTM-KHTTLK7K');
    </script>
    <!-- End Google Tag Manager -->

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="generator" content="" />
    <title>velociti Mars | Thank you</title>
    <img src="https://click.onatrack.in/p?m=3376&t=i&gb=1" width="0px" height="0px">
    <link rel="icon" href="images/favicon.png" type="image/png" sizes="16x16">
    <!-- Bootstrap CSS -->
    <link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,800,900" rel="stylesheet">
    <!-- Latest compiled and minified bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
        integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <link rel="stylesheet" href="css/style.css">
    <!-- <link rel="stylesheet" href="css/responsive.css"> -->
    <link rel="stylesheet" href="css/flaticon.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
    <link rel="stylesheet" href="owlcarousel/owl.carousel.min.css">
    <link rel="stylesheet" href="owlcarousel/owl.theme.default.min.css">

    <link rel="stylesheet" href="https://d1ttyeymi5m8wq.cloudfront.net/assets-48/aos/aos.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" />
</head>

<body class="site com-sppagebuilder view-page no-layout no-task itemid-550 en-gb ltr  sticky-header layout-fluid">
    <div class="body-innerwrapper">
        <!-- Google Tag Manager (noscript) -->
        <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KHTTLK7K" height="0" width="0"
                style="display:none;visibility:hidden"></iframe></noscript>
        <!-- End Google Tag Manager (noscript) -->
        
    <header id="home">
        <nav class="navbar navbar-default" id="hide-menu">
            <div class="container pd0-m">
                <!-- Brand and toggle get grouped for better mobile display -->

                <div class="col-md-2 hidden-xs">
                    <div class="navbar-header">
                        <a class="navbar-brand" href="#home">
                            <img src="images/logo2.png">
                        </a>
                    </div>
                </div>
                <div class="col-md-8 col-xs-12 pd0-m">
                    <div class="navbar-header visible-xs">
                        <button type="button" class="navbar-toggle collapsed open-menu">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="index.php">
                            <img src="images/logo.png">
                            <img class="visible-xs nav-logo" src="images/logo2.png">
                        </a>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav navbar-right">
                            <li><a href="#home" class="m-link"><i class="fa fa-home" aria-hidden="true"></i></a></li>

                            <li><a href="#overview" class="m-link">Overview</a></li>
                            <li><a href="#configuration" class="m-link">Configuration</a></li>

                            <li><a href="#ame" class="m-link">Amenities</a></li>
                            <li><a href="#gallery" class="m-link">Gallery</a></li>
                            <li><a href="#location" class="m-link">Location</a></li>
                            <!-- <li><a href="#about" class="m-link">About Us</a></li> -->
                            <li><a href="#contactus" class="m-link">Contact Us</a></li>
                            <!-- <li><a href="<?php echo $cta_t ?>" class="call-me"><i class="fa fa-phone f-icon"
                                        aria-hidden="true"></i> <?php echo $cta ?></a></li> -->

                        </ul>
                    </div><!-- /.navbar-collapse -->
                </div>
                <div class="col-md-2 hidden-xs">
                    <div class="navbar-header">
                        <a class="navbar-brand" href="index.php">
                            <img class="nav-logo" src="images/logo.png">
                        </a>
                    </div>
                </div>

            </div><!-- /.container-fluid -->
        </nav>
    </header>

        <!--Mobile Menu-->
        <div id="myNav" class="menu-overlay">
            <a href="javascript:void(0)" class="closebtn close-menu">&times;</a>
            <div class="menu-overlay-content">
                <a class="close-menu m-link" href="#overview"></a>

                <a class="close-menu m-link" href="#configuration"></a>
                <a class="close-menu m-link" href="#ame"></a>

                <a class="close-menu m-link" href="#gallery"></a>

                <a class="close-menu m-link" href="#location"></a>


                <!-- <a class="close-menu m-link" href="#about">About Us</a> -->
                <a class="close-menu m-link" href="#contactus"></a>
                <!-- <a href="<?php echo $cta_t ?>" class="call-me"><i class="fa fa-phone f-icon" aria-hidden="true"></i>
                <?php echo $cta ?></a> -->

            </div>
        </div>
        <!--Mobile Menu-->
        <section id="sp-main-body">
            <div class="row">
                <div id="sp-component" class="col-sm-12 col-md-12">
                    <div class="sppb-row-container">
                        <section style="min-height: 328px;">
                            <div>
                                <div class="wrap" style="margin:10% auto;padding:15px;height:auto !important;">
                                    <span class="msgicon" aria-hidden="true"><i class="fa fa-check"
                                            aria-hidden="true"></i></span>
                                    <h2 class="oops">Thank You!</h2>

                                    <h3 class="oops-subtitle" style="text-align:center;">
                                        Thank you for expressing interest in velociti Mars<br />
                                        Our expert will get in touch with you shortly.
                                    </h3>
                                    <a href="index.php" target="_blank" style="text-decoration: none;">
                                        <h2 class="go-home">
                                            Visit Our Website<span style="margin: 0 5px;" class="" aria-hidden="true"><i
                                                    class="fa fa-arrow-right" aria-hidden="true"></i></span></h2>
                                    </a>
                                </div>
                            </div>
                        </section>


                    </div>
                </div>
            </div>
        </section>


       

    </div>

    <script src="js/jquery.min.js"></script>

    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js">
    </script>
    <script src="js/jquery.validate.js"></script>

</body>


</html>