<?php
if(!is_page('walkthrough') && !is_page('walkthrough-exp')){
    ?>
    <footer class="main-footer border-top">
        <ul class="sitemap">
            <li>
                <p class="title">MVP Resources</p>
                <ul class="resources">
                    <li><a href="<?= get_site_url(); ?>/">Apply now!</a>
                    <li><a href="<?= get_site_url(); ?>/services">Services</a>
                    <li><a href="<?= get_site_url(); ?>/used-cars-for-sale">Inventory</a>
                    <li><a href="<?= get_site_url(); ?>/about-us">About</a>
                    <li><a href="<?= get_site_url(); ?>/trade-in-calculator">Trade-in calculator</a>
                    <li><a href="<?= get_site_url(); ?>/blog">News</a>
                    <li><a href="<?= get_site_url(); ?>/car-loan-calculator/">Car Loan Calculator</a>
                </ul>
            <li>
                <p class="title">Operating hours</p>
                <ul class="hours">

                    <li>
                        <strong>Auto Sales</strong>
                        <dl class="timetable">
                            <dt>Mon-Fri:
                            <dd>9am - 6pm
                            <dt>Sat:
                            <dd>9am - 1pm
                            <dt>Sun:
                            <dd>Closed
                        </dl>
                    <li>
                        <strong>Service Center</strong>
                        <dl class="timetable">
                            <dt>Mon-Fri:
                            <dd>8am - 5pm
                            <dt>Sat:
                            <dd>9am - 1pm
                            <dt>Sun:
                            <dd>Closed
                        </dl>
                </ul>
            <li>
                <p class="title">Need help?</p>
                <p class="phone"><a href="tel:9024680377" onclick="ga('send', 'event', 'Phone Call', 'Click to Call', '9024680377');">(902) 468-0377</a></p>
                <address>208 Joseph Zatzman Dr.<br>Dartmouth, Nova Scotia, B3B 1P4</address>
        </ul>
        <div class="bottom-links">
            <a href="<?= get_site_url(); ?>/disclaimer">Terms Of Use / Disclaimer</a>
            <a href="<?= get_site_url(); ?>/privacy">Privacy Policy</a>
            <ul class="social-links">
                <li><a href=""><img src="<?= get_template_directory_uri(); ?>/img/icon-share.svg" alt="Share"></a>
                <li><a href="https://www.facebook.com/maritimevehicleproviders/" target="_blank"><img src="<?= get_template_directory_uri(); ?>/img/icon-facebook.svg" alt="Facebook"></a>
                <li><a href="https://www.linkedin.com/company/35548333" target="_blank"><img src="<?= get_template_directory_uri(); ?>/img/icon-linkedin.svg" alt="Linkedin"></a>
                <li><a href="https://twitter.com/maritimevehicle" target="_blank"><img src="<?= get_template_directory_uri(); ?>/img/icon-twitter.svg" alt="Twitter"></a>
                <li><a href="https://www.youtube.com/channel/UCmHUl--kV2UoryI7NC7LJeA" target="_blank"><img src="<?= get_template_directory_uri(); ?>/img/icon-youtube.svg" alt="YouTube"></a>
                <li><a href="https://www.instagram.com/maritimevehicleproviders/" target="_blank"><img src="<?= get_template_directory_uri(); ?>/img/icon-instagram.svg" alt="YouTube"></a>
            </ul>
            <a target="_blank" title="Click for the Business Review of Maritime Vehicle Providers, an Auto Dealers - Used Cars in Dartmouth NS" href="https://www.bbb.org/ca/ns/dartmouth/profile/used-car-dealers/maritime-vehicle-providers-0087-47871#sealclick"><img alt="Click for the BBB Business Review of this Auto Dealers - Used Cars in Dartmouth NS" style="border: 0;" src="<?=get_site_url();?>/wp-content/uploads/2019/09/blue-seal-293-61-maritimevehicleproviders-47871.png" /></a>
            <span class="copyright">© 2020 Maritime Vehicle Providers. </span>

        </div>
    </footer>
<?php } ?>
<?php wp_footer(); ?>

<script>
    jQuery(document).ready(function($) {
        $('.wordpress-ajax-form').on('submit', function(e) {
            e.preventDefault();
            var $form = $(this);
            $.post($form.attr('action'), $form.serialize(), function(data) {
                alert('This is data returned from the server ' + data);
            }, 'json');
        });
    });
</script>

<!-- Google Analtyics UA3 VERIFIED -->
<script>
//setTimeout(function(){ 
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-102187546-1', 'auto');
    ga('send', 'pageview');
 //}, 9000);
</script>

