thank-you.php 16.5 KB
<?php

// ini_set('display_errors', 1);
// ini_set('display_startup_errors', 1);
// error_reporting(E_ALL);


$source =  $_REQUEST['source'];

$request = $_SERVER['REQUEST_METHOD'];
$name = $_REQUEST['fname'];
$mobile = $_REQUEST['mobile'];
$fullmobile = "+91" . $mobile;


    if ($request !== 'POST') {
        http_response_code(405);
        echo 'Method Not Allowed';
        echo '</br>';
        echo "<a href='/'>Go Back</a>";
        die;
    }

    if ($_REQUEST['mobile'] == '') {
        echo 'Please enter valid mobile number';
        echo '</br>';
        echo "<a href='/'>Go Back</a>";
        die;
    }
    if (ctype_alpha(str_replace(' ', '', $name)) === false) {
        echo 'Please enter valid Name';
        echo '</br>';
        echo "<a href='/'>Go Back</a>";
        die;
    }

    $regex = '/^[A-Za-z][a-z\s]*( [A-Z][a-z]*)?$/';

    if(!preg_match($regex, $name)) {
       echo 'Please enter valid Name';
       echo '</br>';
       echo 'please enter name without uppercase character in between';
        echo '</br>';
        echo "<a href='/'>Go Back</a>";
        die;
    }

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




session_start();
require_once 'send_leads.php';
$post = new PostData();
if ((!isset($_COOKIE['formfilled'])) && isset($_REQUEST['mobile'])) {
    $post->callback();
    setcookie('formfilled', 'yes');
    setcookie('checkduplicate', $_REQUEST['mobile'], time() + (86400 * 7));
}
?>
<!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 -->

    <!-- 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" />

    <title>CODENAME THE ALTITUDE</title>
    <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" />

    <script>
    dataLayer.push({
        'event': 'ec_form_submit',
        'user_data': {
            "email": '<?php echo $email ?>',
            "phone": '<?php echo $fullmobile ?>',
        }
    })
    </script>

</head>

<body class="site com-sppagebuilder view-page no-layout no-task itemid-550 en-gb ltr  sticky-header layout-fluid">

    <!-- Google Tag Manager (noscript) -->

    <!-- End Google Tag Manager (noscript) -->

    <div class="body-innerwrapper">
        <!-- End Google Tag Manager (noscript) -->
        <header id="home">
            <nav class="navbar navbar-default" id="hide-menu">
                <div class="container-fluid 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="index.php">
                                <img src="images/logos/logo.png">
                            </a>
                        </div>
                    </div>
                    <div class="col-md-9 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/logos/logo.png">
                                <!-- <img class="visible-xs nav-logo" src="images/logos/1.webp"> -->
                            </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="index.php" class="m-link">Overview</a></li>
                                <li><a href="index.php" class="m-link">Configurations</a></li>

                                <!-- <li><a href="index.php" class="m-link">Club cloud</a></li> -->
                                <li><a href="index.php" class="m-link">Gallery</a></li>
                                <li><a href="index.php" class="m-link">Location</a></li>

                                <li><a href="index.php" class="m-link">Contact Us</a></li>
                                <li><a href="#download1" class="m-link download1">E-Brochure</a></li>
                                <!-- <li><a href="index.php" class="m-link">Projects Highlight</a></li> -->

                            </ul>
                        </div><!-- /.navbar-collapse -->
                    </div>

                    <!-- <div class="col-md-1 hidden-xs">
                        <div class="navbar-header">
                            <a class="navbar-brand" href="index.php">
                                <img class="nav-logo" src="images/logos/1.webp">
                            </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 href="index.php" class="close-menu m-link"><span>Overview</span></a>
                <a href="index.php" class="close-menu m-link"><span>Configurations</span></a>
                <a href="index.php" class="close-menu m-link"><span>Amenities</span></a>
                <!-- <a href="index.php" class="close-menu m-link"><span>Club Cloud</span></a> -->
                <a href="index.php" class="close-menu m-link"><span>Gallery</span></a>
                <a href="index.php" class="close-menu m-link"><span>Location</span></a>
                <a href="index.php" class="close-menu m-link"><span>About Us</span></a>
                <a href="index.php" class="close-menu m-link"><span>Contact Us</span></a>
                <a href="#download1" class="close-menu m-link download1"><span>E-brochure</span></a>
                <!-- <a href="#Highlight" class="close-menu m-link"><span>Projects Highlight</span></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;">
                                    <?php
                                    if (!$mailsent) {
                                    ?>

                                    <span class="msgicon" aria-hidden="true"><i class="fa fa-check"
                                            aria-hidden="true"></i></span>
                                    <h2 class="oops">You're all set!</h2>
                                    <h3 class="oops-greet" style="text-align:center;">Greetings From CODENAME THE
                                        ALTITUDE
                                    </h3>
                                    <h3 class="oops-subtitle" style="text-align:center;">
                                        Thank you for expressing interest on our website.<br />
                                        Our expert will get in touch with you shortly.
                                    </h3>
                                    <a href="index.php" style="text-decoration: none;">
                                        <h2 class="go-home"><span class="" aria-hidden="true"><i
                                                    class="fa fa-arrow-left" aria-hidden="true"></i></span> GO
                                            BACK TO HOME</h2>
                                    </a>
                                    <?php
                                    } else {
                                    ?>
                                    <span class="msgicon" aria-hidden="true"><i class="fa fa-check"
                                            aria-hidden="true"></i></span>
                                    <h2 class="oops">You're all set!</h2>
                                    <h3 class="oops-greet" style="text-align:center;">Greetings From CODENAME THE
                                        ALTITUDE
                                    </h3>
                                    <h3 class="oops-subtitle" style="text-align:center;">
                                        Thank you for expressing interest on our website.<br />
                                        Our expert will get in touch with you shortly.
                                    </h3>
                                    <a href="index.php" style="text-decoration: none;">
                                        <h2 class="go-home"><span class="" aria-hidden="true"><i
                                                    class="fa fa-arrow-left" aria-hidden="true"></i></span> GO
                                            BACK TO HOME</h2>
                                    </a>



                                    <?php
                                    }
                                    ?>

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


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

        <section class="rera-sec">
            <!-- <div class="container">
            <div class="row">
                <div class="col-md-12 col-sm-12 col-lg-12">
                    <div class="">
                        <div class="qr-box">
                            <img src="images/qr/1.PNG" alt="qrcode">
                        </div>
                    </div>
                </div>
            </div>
        </div> -->
            <!-- <div class="container">
            <div class="col-md-2 footer-icon">
                <img class="img-fluid hidden-xs" src="images/maha-rera.png" alt="">
            </div>
            <div class="address-wrap1">
                <h3>Corporate Office Address</h3>
                <p>401, Hallmark Business Plaza, Off Western Express Highway, Kalanagar,
                    Bandra (E), Mumbai - 400 051.
                </p>
                <a href="tel:99999999999" class="call-me1"><i class="fa fa-phone f-icon" aria-hidden="true"
                        style="transform: rotate(98deg);"></i> 022 6115 2424</a>
            </div>
            <div class="col-md-12">
                <p class="footer-text">

                    Maha RERA Registration No.: Phase II Tower C - P51800000731 ❘
                    are available at website http://maharera.mahaonline.gov.in.
                </p>

            </div>
        </div> -->


            <div class="footer-sec grey-bg" id="footer">

                <div class="foote-wrap">
                    <!-- <div class="content">
                        <p>RERA no: PRM/KA/RERA/1251/446/PR/300124/006601</p>
                    </div> -->
                    <p class="text-center"><a href="javascript:void(0)" style="color: #fff;"
                            class="disc-click">Disclaimer</a>
                        <!-- | <a href="privacy-policy.php" style="
    color: #fff;">Privacy Policy</a> -->
                    </p>
                    <!-- <img src="images/buliders.png"> -->

                    <!-- <p>Mail : myhome@tcgcliffgarden.com</p> -->
                    <p style="font-size: 8px;line-height: 14px;padding: 0px 35px;">The Company does not guarantee or
                        represent the information contained in this document, which is to be used for general
                        information
                        only. The Company does not guarantee or represent that the information contained within this
                        document is correct. Any interested party should verify all the information including designs,
                        plans, specifications, facilities, features, payment schedules, terms of sales, etc.
                        independently
                        with the Company prior to concluding any
                        decision for buying in any of the projects. The user of the brochure confirms that he/she has
                        not
                        relied on this information alone when making any booking/purchase in any project of the Company.
                        The
                        information, visuals, renders and
                        creative depictions contained herein are artistic impressions, indicative in nature and are for
                        general information purposes only. The actual design/colour/finish/construction/landscape could
                        undergo�changes based on changes in
                        design, layouts, materials, site conditions, etc. Any furniture, paintings, or any items of
                        personalized nature not specifically mentioned in the contract and shown in the images are only
                        for
                        the purpose of illustration and does not form
                        part of the offering. Further, the renders/visuals of the area beyond the project site are
                        artistic
                        in nature and may not depict the actual visuals. While every reasonable care has been taken
                        in providing the information, under no
                        circumstances the Company or its employees, managers or representatives shall be held liable for
                        any
                        loss or damage, special or consequential or otherwise, arising from the use of or reliance on
                        information provided in the brochure
                        without verifying the same independentlywith the Company. The contents provided herein are with
                        all
                        faults and on an “as is” and “as available” basis. No information given in this brochure creates
                        a warranty or expand the scope of

                        any warranty that cannot be disclaimed under the applicable laws.
                    </p>

                    <!-- <div class="col-md-12">
                <a href="javascript:void (0);" class="disc-click dsk">Disclaimer</a>
            </div> -->
                    <!-- <div class="col-md-12">
                <div class="qr__img" style="text-align:center;">
                    <img src="images/qr.PNG" alt="">
                </div>
            </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="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
    <script src="owlcarousel/owl.carousel.min.js"></script>
    <script src="js/jquery.validate.js"></script>
    <script src="js/mobilevalidate.js"></script>
    <script src="js/cookie.js"></script>
    <script src="js/popout.js"></script>

</body>


</html>