<?php
  include 'includes/style.php';
?>

<footer>
    <div class="footer-main">
        <div class="footer">
            <div class="container">
                <div class="row mb-5">
                    <div class="col-lg-5 pr-lg-5">
                        <div class="logo">
                            <a href="index.php">
                                <figure>
                                    <img class="img-fluid mb-lg-3" src="assets/images/logo-white.png" alt="" />
                                </figure>
                            </a>
                        </div>
                        <!--<p class="mb-3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eleifend felis sit amet eros. </p>-->
                        <ul>
                            <li class="mb-2"><a href="tel:<?php  echo $tel ?>"><i class="icon-phone"></i>
                                    <?php  echo $phone    ?> </a></li>
                            <li class="mb-2"><a href="mailto:<?php  echo $email  ?>"><i class="icon-envelope2"></i>
                                    <?php  echo $email  ?></a>
                            </li>
                            <!--<li><i class="icon-map-marker3"></i> 1 CORNHILL LONDON ENGLAND EC3V 3ND</li>-->
                            <li><i class="icon-map-marker3 pr-2"></i><?php echo $address ?></li>
                        </ul>
                    </div>
                    <div class="col-lg-7">
                        <div class="row">
                            <div class="col-lg-4 col-3 pr-1">
                                <div class="links">
                                    <h3>Agency</h3>
                                    <ul>
                                        <li><a href="index.php">Home</a></li>
                                        <li><a href="about-us.php">About</a></li>
                                        <li><a href="portfolio.php">Portfolio</a></li>
                                        <!-- <li><a href="https://<?php  echo $domain;?>/projects">Projects</a></li> -->
                                        <li><a href="contact-us.php">Contact</a></li>
                                    </ul>
                                </div>
                            </div>
                            <div class="col-lg-4 px-1 col-4">
                                <div class="links">
                                    <h3>Customers</h3>
                                    <ul>
                                        <li><a href="term-and-conditions.php">Term & Conditions</a></li>
                                        <li><a href="privacy-policy.php">Privacy Policy</a></li>
                                        <!-- <li><a href="https://<?php  echo $domain;?>/privacy-policy/">Privacy & policy</a></li> -->
                                    </ul>
                                </div>
                            </div>
                            <div class="col-lg-4 pr-1 col-5">
                                <div class="links">
                                    <h3>Services</h3>
                                    <ul>
                                        <li><a href="game-development.php">Game Development</a></li>
                                        <li><a href="app-maintenance.php">App Maintenance</a></li>
                                        <li><a href="amazon-webservices.php">Amazon Web Services</a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                    </div>

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

</footer>
<!-- <div class="cookie-disclaimer">
    <div class="container d-md-flex justify-content-md-between align-items-md-center">
        <p class="mt-0 mb-md-0">We use cookies and similar technologies that are necessary to operate the website</p>
        <button type="button" class="btn btn-primary accept-cookie">Accept</button>
    </div>
</div> -->
</main>

<script src="assets/js/mlib.js"></script>
<script src="assets/js/functions.js"></script>


<script>
let elements = document.querySelectorAll('#btnchat');
let i;
for (i = 0; i < elements.length; i++) {
    if (elements[i] instanceof HTMLElement) {
        elements[i].addEventListener("click", function() {
            LiveChatWidget.call("maximize");
        });
    }
}

function onNewEvent(event) {
    switch (event.type) {
        case "message":
            // handle new message event
            LiveChatWidget.call("maximize");
            break;

        case "rich_message":
            // handle new rich_message event
            break;

        case "file":
            // handle new file event
            break;

        default:
            break;
    }

    if (event.greeting) {
        // new event is a greeting
        // greeting properties are available
        var id = greeting.id;
        var uniqueId = greeting.uniqueId;
    }
}
LiveChatWidget.on('new_event', onNewEvent);
</script>

<script>
$('.form-get-quote').on('submit', function(e) {
    //$('.btn-quote').on('click' , function(e){        
    var obj = $(this);
    e.preventDefault();
    var data = $(obj).serialize();
    // alert()
    jQuery.ajax({
        url: window.location.href.substring(0, window.location.href.lastIndexOf("/") + 1) +
            "/sendmail.php",
        // For Demo
        //url: window.location.origin + '/lvm-track-html/v6/sendmail.php',
        // For Live
        //url: window.location.origin + '/sendmail.php',
        type: "POST",
        data: data,
        async: false, // Has to be false to be able to return response
        dataType: "json", // Has to be false to be able to return response
        success: function(response) {
            if (response.status == 1) {
                //$('#myModal').modal('hide');
                //$('#myModal').modal('show');
                //   alert('Submit Successfully.');
                window.location =
                    "/thankyou.php";
                obj.trigger("reset");
            } else {
                return false;
            }

        },
        beforeSend: function() {
            // Loader.show();
        }
    });

    return false;
});
</script>


</body>


</html>