<!DOCTYPE html>
<html lang="en">
    <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-W84RFMNQ');</script>
<!-- End Google Tag Manager -->

     <?php
        $baseurl= "https://d1zdkpwby52v4t.cloudfront.net/lodhapremiers";
        $u_agent = $_SERVER['HTTP_USER_AGENT'];
        $deviceType='Desktop';
        
        if (preg_match('/iPad/', $_SERVER['HTTP_USER_AGENT']) || preg_match('/Tablet/', $_SERVER['HTTP_USER_AGENT'])) {
            $deviceType='Tablet';
        }else if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i',$u_agent)||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i',substr($u_agent,0,4))){
            $deviceType='Mobile';
        }

        
        $response='{"message":"success","data":[{"id":288,"domain":"premiertownship.com/lodha","title":"Lodha Premier - Dombivali | Price, Floor Plans, Amenities | Download Brochure","description":"Lodha Premier - Dombivali - Residential Project Offering Beautiful 1, 2, & 2.5 BHK Homes in Dombivali. Get A Free Quote Today.","keywords":"Lodha Premier, Lodha Premier Dombivali, Lodha Premier Floor Plans, Lodha Premier Images, Lodha Premier Amenities, Lodha Premier Address, Lodha Premier Brochure, Lodha Premier Price","h1":"Lodha Premier","h2":null,"project_name":"Lodha Premier","location":"Dombivali","builder_name":"Lodha Group",
        "offer1":"Offer Bonanza","offer2":"- Spot Booking Offer","offer3":"- Early Buy Discount","offer4":"- Guaranteed Best Rate","land_parcel":"50 Acres","floors":"24 Storeys","possession":"Dec 2024","latitude":null,"longitude":null,"gacode":null,"did_number":"+912248932827","link_number":"+912248932827","status":0,"whatsappno":"8976995773","created_at":"2021-10-13 17:25:06","updated_at":null}]}';
        
        $myArray = json_decode($response,true);
        
        // redirect to thank you page code from banner and footer form
        
        $home_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
        
        if($page_name == 'thankyou'){
            $home_url = str_replace("thank-you.php","",$home_url);
        }
        
        if($page_name == ''){
            $home_url = str_replace("index.php","",$home_url);
        }
        if($page_name == 'cookies_policy'){
            $home_url = str_replace("cookies-policy.php","",$home_url);
        }
       
        if($page_name == 'privacy_policy'){
            $home_url = str_replace("privacy-policy.php","",$home_url);
        }
        
        // Remove Parameters from URL query string i.e gclid
        $home_url = strtok($home_url, "?");
       // Redirection URL for cookies and notice
	    $web_uri = explode('/',$_SERVER['REQUEST_URI']);
	    
	  
	    $web_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]/$web_uri[1]/$web_uri[2]";
	   
	     $logo_uri = "/".$web_uri[1]."/".$web_uri[2];
        
        ?>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
       <link rel="icon" type="image/x-icon" href="favicon.jpg"  />
        <title><?php echo $myArray['data'][0]['title']; ?></title>
        <meta name="description" content="<?php echo $myArray['data'][0]['description']; ?>"/>
        <meta name="keywords" content="<?php echo $myArray['data'][0]['keywords']; ?>"/>
        <link rel="canonical" href="<?php echo $myArray['data'][0]['domain']; ?>" />
        <meta property="og:title" content="<?php echo $myArray['data'][0]['title']; ?>" />
        <meta property="og:type" content="<?php echo $myArray['data'][0]['domain']; ?>" />
        <meta property="og:url" content="<?php echo $myArray['data'][0]['domain']; ?>" />
        <meta property="og:image" content="<?php echo $baseurl;?>/assets/img/bannernew.webp" />
        <meta property="og:description" content="<?php echo $myArray['data'][0]['description']; ?>" />
        <meta property="twitter:title" content="<?php echo $myArray['data'][0]['title']; ?>" />
        <meta property="twitter:description" content="<?php echo $myArray['data'][0]['description']; ?>" />
        <meta property="twitter:card" content="summary_large_image" />
        <link rel="stylesheet" href="./assets/css/purestyle.css" />
        <link rel="dns-prefetch" href="//google-analytics.com" crossorigin />
        <link rel="dns-prefetch" href="//googletagmanager.com" crossorigin />
        <link rel="dns-prefetch" href="//www.googleadservices.com" crossorigin />
        <link rel="preload" href="./assets/fonts/micon.woff2" as="font" type="font/woff2" crossorigin />
        <link rel="dns-prefetch" href="//googleads.g.doubleclick.net" crossorigin />
        <style>
            :root {
                 --colorPrimary: #6C3F88;
                --colorSecondary: #492a5c;
                --colorBtn: #ffffff;
            }
            #loader {
                width: 100vw;
                height: 100vh;
                background-color: rgba(255, 255, 255, 1);
                position: fixed;
                top: 0;
                left: 0;
                z-index: 1040;
            }
            .loader-text {
                display: block;
                text-align: center;
                color: #d7d7d7;
                font-family: Arial, sans-serif;
                position: absolute;
                top: 50%;
                left: 50%;
                -webkit-transform: translate(-50%, -50%);
                -moz-transform: translate(-50%, -50%);
                -ms-transform: translate(-50%, -50%);
                -o-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
            }
            /*.loading {*/
            /*    height: 0;*/
            /*    width: 0;*/
            /*    padding: 4vw;*/
            /*    border: 0.8vw solid #ccc;*/
            /*    border-right-color: #888;*/
            /*    border-radius: 6vw;*/
            /*    -webkit-animation: rotate 1s infinite linear;*/
            /*}*/
            @keyframes loader {
                0% {
                    filter: grayscale(0);
                }
                50% {
                    filter: grayscale(100%);
                }
                100% {
                    filter: grayscale(0);
                }
            }
            .loader-logo {
                width: 300px;
                -webkit-animation: loader 1.3s infinite linear;
                -moz-animation: loader 1.3s infinite linear;
                -ms-animation: loader 1.3s infinite linear;
                -o-animation: loader 1.3s infinite linear;
                animation: loader 1.3s infinite linear;
            }
            .pload {
                display: none;
            }
            .iti__flag-container {
                display: none;
            }
            section#mymap {
                height: 540px;
            }
            button.btn.btn-sm.btn-outline-info.sectio-bro-btn.overflow-hidden.enqModal {
                margin-bottom: 15px;
            }
            input#submitBtn {
                margin: 15px 0;
            }
            .textcolor{
                color:#fff;
            }
            button.btn.btn-info.micro-form-btn.effetMoveGradient.submitBtn.enqModal {
                margin-bottom: 15px;
            }
            a.drift-open-chat {
                color: #fff;
            }
            p{
                    text-align: justify;
            }
            select.my_country_name.form-control.rounded-0.micro-form-field {
                float: left;
                display: inline-block;
                width: 40%;
                    padding-left: 8px;
            }
            input#modal_my_mobile {
                width: 60%;
            }
            /*--for thank you page --*/
            .thankyou-text p {text-align: center !important;}
        </style>
        <!-- Drift Start -->
        <!-- Drift Start -->
        <!-- Start of Async Drift Code -->
      
        <!-- End of Async Drift Code -->
        <link rel="stylesheet" href="./assets/css/chat.css" />

        <!-- chatbot -->
        <div id="chat-square" class="btn"></div>
        <div id="chat-close" class="btn chat-box-toggle"><div class="close-img"></div></div>
        <div class="chat-wrapper">
        <div class="chat-header">
        <div class="chat-header-photo"><span class="active-circle"></span></div>
        <div class="chat-header-name">Pooja Agarwal</div>
        <!--<span class="chat-box-toggle"><span class="fa fa-times">-->
        <!--</span>-->
        <!--</span>-->
        </div>
        <div class="chat-box-body">
        <div class="chat-box-overlay"> </div>
        <div class="chat-logs">
        <div id="hb-chat-bot">
        <div class="chat-container">
        <div class="chat-messages-time"></div>
        <div class="chat-messages-container"></div>
        <div class="chat-actions-container"></div>
        <div class="chat-footer"></div>
        </div>
        </div>
        </div>
        </div>
        </div>
    </head>
    
    <body data-spy="scroll" data-target="#navbarNav">

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W84RFMNQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

         <div id="loader">
            <span class="loader-text"><img src="<?php echo $baseurl;?>/assets/img/lodhapremier.svg" class="loader-logo" /></span>
        </div>
        <header class="micro-nav fixed-top pload">
            <nav class="navbar navbar-expand-lg navbar-light bg-white micro-navbar">
                <a class="navbar-brand" href="https://www.premiertownship.com/lodha/" ><img src="<?php echo $baseurl;?>/assets/img/lodhapremier.svg" class="logo" /></a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
                <div class="collapse navbar-collapse" id="navbarNav">
                    <ul class="navbar-nav nav-fill">
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#home' : '#home'; ?>"><i class="mi mi-home nav-icon"></i><span class="d-sm-inline d-md-none"> Home</span></a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#pricing' : '#pricing'; ?>"><i class="mi mi-price nav-icon"></i> Price</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#sitefloorplan' : '#sitefloorplan'; ?>"><i class="mi mi-siteplan nav-icon"></i> Site &amp; Floor Plan</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#amenities' : '#amenities'; ?>"><i class="mi mi-ami nav-icon"></i> Amenities</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#gallery' : '#gallery'; ?>"><i class="mi mi-gallery nav-icon"></i> Gallery</a>
                        </li>

                         <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#address_section' : '#address_section'; ?>"><i class="mi mi-location nav-icon"></i> Location</a>
                        </li>
                        
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo ($page_name == 'thankyou' || $page_name == 'privacy_policy' || $page_name == 'cookies_policy') ? 'index.php#sitevisit' : '#sitevisit'; ?>"><i class="mi mi-sitevisit nav-icon"></i> Virtual Site Visit
</a>
                        </li>

                        <li class="nav-item overflow-hidden">
                            <a
                                class="nav-link enqModal"
                                href="#"
                                data-form="md"
                                data-title="Download brochure"
                                data-btn="Download now"
                                data-enquiry="Download Brochure Toolbar"
                                data-redirect="brochure"
                                data-redirect-file="brochure.pdf"
                                data-toggle="modal"
                                data-target="#enqModal"
                            >
                                <i class="mi mi-download nav-icon d-inline-block animated slideInDown infinite"></i> Download Brochure

                            </a>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
