<?php $footer = $this->mainMenu()->getCompanyData();?>

<section id="partner">
    <div class="container marginbot10">
        <div class="center wow fadeInDown animated animated_name">
            <h2><?php echo isset($footer['site_title']) ? $footer['site_title'] : ''; ?></h2>
            <p class="lead"><?php echo isset($footer['site_title']) ? $footer['site_title'] : ''; ?> is a one-stop-shop for Mobility booking services enabling the traveler to book safe and comfortable ride.<br>
                It gives you a wide range of choices between chauffeur driven car rentals and self Drive across World to suit your specific need whether it be an airport transfer, late night travel, Outstation, Business meeting, An Outstation road trip or a special car on a special occasion. <br>

            </p>
        </div>

    </div>
</section>


<section id="contact-info" class="conatcat-info">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="media contact-info wow fadeInDown animated animat_style" data-wow-duration="1000ms" data-wow-delay="600ms">
                    <div class="pull-left">
                        <i class="fa fa-phone"></i>
                    </div>
                    <div class="media-body">
                        <h2>Have a question or need a custom quote?</h2>
                        <p>Our team is here to help 24X7 365 days a year. +91-11 <?php echo $footer['phone']; ?>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>



<section id="bottom">
    <div class="container wow fadeInDown animated animat_style" data-wow-duration="1000ms" data-wow-delay="600ms">
        <div class="row">
          <?php echo $this->partial('application/index/newsletter'); ?>            
        </div>
        <div class="row">

            <div class="col-md-3 col-sm-6">
                <div class="widget footer_color">
                    <h3>Reach Us</h3>
                    <ul>
                        <li>
                            <b> <?php echo isset($footer['com_name'])?$footer['com_name']:''; ?></b><br>
                            <?php echo isset($footer['domain_address'])?$footer['domain_address']:''; ?>
                        </li>
                        <li>
                            <b>Tel : </b><br>
                            +91 11 <?php echo isset($footer['phone']) ? $footer['phone'] : ''; ?></li>
                        <li>
                            <b> E-mail</b><br>
<?php echo isset($footer['global_email']) ? $footer['global_email'] : ''; ?>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="col-md-3 col-sm-6 mobile-fotter">
                <div class="widget">
<?php
$footerCompMenu = $this->mainMenu()->getMenu('Footer Widget Company Menu');
$footerSuppMenu = $this->mainMenu()->getMenu('Footer Widget Support Menu');
$testimonials = $this->mainMenu()->fetchTestimonials();
?>
                    <h3>Company</h3>
                    <ul>
                    <?php foreach ($footerCompMenu['responsedata'] as $footer1) { ?>
                            <li><a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms','page' => $footer1['page_url']]); ?>"><?php echo $footer1['menu_name'] ?></a></li>
                        <?php } ?>
                        <li><a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms','page' => 'we-are-hiring']); ?>">We are hiring</a></li>
                        <li><a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms','page' => 'contact-us']); ?>">Contact us</a></li>
                    </ul>
                </div>
            </div>

            <div class="col-md-2 col-sm-6 mobile-fotter">
                <div class="widget">
                    <h3>Support</h3>
                    <ul>
<?php foreach ($footerSuppMenu['responsedata'] as $footer2) { ?>
                            <li><a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms','page' => $footer2['page_url']]); ?>"><?php echo $footer2['menu_name'] ?></a></li>
                        <?php } ?>
                    </ul>
                </div>
            </div>

            <div class="col-md-4 col-sm-6 col-sm-61">
                <div class="widget">
                    <h3>Testimonials</h3>
                    <div class="col-md-1 col-lg-12 img-responsive margintop0 no-padding" id="slider1">
                        <div id="myCarousel1" class="carousel slide curousel_style" data-ride="carousel">
                            <!-- Indicators -->
                            <ol class="carousel-indicators marginbot-20">
                                <li data-target="#myCarousel1" data-slide-to="0" class="active"></li>
                                <li data-target="#myCarousel1" data-slide-to="1" class=""></li>
                                <li data-target="#myCarousel1" data-slide-to="2" class=""></li>
                                <li data-target="#myCarousel1" data-slide-to="3" class=""></li>
                            </ol>
                            <div class="carousel-inner">

<?php if ($testimonials['status'] == "success") { ?>
    <?php $i = 1;
    foreach ($testimonials['data'] as $testimonial) {
        ?>
                                        <div class="item <?php if ($i == 1) {
            echo "active";
        } ?> bg-black">
                                            <ul>

                                                <li><div class="col-xs-12 col-sm-12 wow fadeInDown animated animated_name">
                                                        <div class="testimonial">

                                                            <div class="media testimonial-inner">
                                                                <div class="pull-left">
                                                                    <div class="testimonial-iocn-bg">
                                                                        <i class="fa fa-user" aria-hidden="true"></i>
                                                                    </div>
                                                                </div>
                                                                <div class="media-body">
                                                                    <p style="text-align: justify;"><?php echo $testimonial['description']; ?></p>
                                                                    <span><strong><?php echo $testimonial['username']; ?></strong></span>

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

                                            </ul>

                                        </div>
                                        <?php $i++;
                                    } ?>
<?php } ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

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

<div class="icon-bar">
<a alt="Facebook" target="_blank" href="<?php echo $footer['facebook']; ?>" title="Facebook" class="facebook"><i class="fa fa-facebook"></i></a>
<a alt="Twitter" target="_blank" href="<?php echo $footer['twitter'];?>" title="Twitter" class="twitter"><i class="fa fa-twitter"></i></a>
<a alt="Instagram" target="_blank" href="<?php echo $footer['instagram'];?>" title="Instagram" class="instagram"><i class="fa fa-instagram"></i></a>
<a alt="Linked" target="_blank" href="<?php echo $footer['linkedin']; ?>" title="Linkedin" class="linkedin"><i class="fa fa-linkedin"></i></a>
<a alt="YouTube" target="_blank" href="<?php echo $footer['youtube']; ?>" title="Youtube" class="youtube"><i class="fa fa-youtube-play"></i></a>
</div>

<footer id="footer" class="midnight-blue">
    <div class="container">
        <div class="row">
            <div class="col-sm-6">
                Copyright &copy; <?php echo date("Y"); ?> Powered By <a target="_blank" href="<?php echo $footer['frontend_footer_url']; ?>" title="<?php echo $footer['frontend_footer']; ?>"><?php echo $footer['frontend_footer']; ?></a>. All Rights Reserved.
            </div>
            <div class="col-sm-6">
                <p class="text-right">
                    Designed & Developed by <a href="<?php echo $footer['developed_by']; ?>" target="_blank">tracoweb.com</a>
                </p>

            </div>
        </div>

    </div>
</footer>
<!-- Modal HTML -->
<div id="ajax-modal" class="modal fade" aria-hidden="true" role="dialog" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <!-- Content will be loaded here from "remote" file -->
        </div>
    </div>
</div>

<div class="modal fade" id="myModalprintsmscancle" role="dialog">
    <div class="modal-dialog modal-dialogprint">
        <div class="modal-content">

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

<div class="modal fade" id="myModalfeedbackss" role="dialog">
    <div class="modal-dialog  modal-dialogfeedback">
        <!-- Modal content-->
        <div class="modal-content">
        </div>
    </div>
</div>
<input type="hidden" id="progress_width" value="0">

<?php
echo $this->headScript()
        ->prependFile($this->basePath() . '/js/jquery.ihavecookies.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jQuery.print.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/custom/base.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/custom/user.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/mloading.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/common.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/load-modal-content.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.timepicker.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        //->prependFile($this->basePath() . '/js/libs/clockface.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/color_picker.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        
        //->prependFile($this->basePath() . '/js/custom/progress.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/analytics.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/selectize.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/selecttag.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/wow.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/calendar.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/bootstrap-clockpicker.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/bootstrap-slider.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/bootstrap.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.flexisel.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.image-crop.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.tooltip.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery-ui.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.mCustomScrollbar.concat.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer']);
?>
<?php echo $this->inlineScript() ?>
<?php echo $this->inlineScript()->prependFile('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js', $type = 'text/javascript') ?>
<script type="text/javascript">
    document.onreadystatechange = function() { 
        if (document.readyState !== "complete") { 
            document.querySelector("body").style.visibility = "hidden"; 
            document.querySelector("#loader").style.visibility = "visible"; 
        } else { 
            document.querySelector("#loader").style.display = "none"; 
            document.querySelector("body").style.visibility = "visible"; 
        } 
    };
    var link = "<?php echo $this->url('cms-pages', ['page-type' => 'cms', 'page' => 'privacy-policy']); ?>";
    var options = {
        title: 'Accept Cookies & Privacy Policy?',
        message: 'There are no cookies used on this site, but if there were this message could be customised to provide more details. Click the <strong>accept</strong> button below to see the optional callback in action...',
        delay: 0,
        expires: 1,
        link: link,
        onAccept: function () {
            var myPreferences = $.fn.ihavecookies.cookie();
            console.log('Yay! The following preferences were saved...');
            console.log(myPreferences);
        },
        uncheckBoxes: true,
        acceptBtnLabel: 'Accept Cookies',
        moreInfoLabel: 'More information',
        cookieTypesTitle: 'Select which cookies you want to accept',
        fixedCookieTypeLabel: 'Essential',
        fixedCookieTypeDesc: 'These are essential for the website to work correctly.'
    }

    $(document).ready(function () {
        $('body').ihavecookies(options);
        if ($.fn.ihavecookies.preference('marketing') === true) {
            console.log('This should run because marketing is accepted.');
        }
        $('#ihavecookiesBtn').on('click', function () {
            $('body').ihavecookies(options, 'reinit');
        });
        $(document).on('click', '#close-cooki', function () {
            $('#gdpr-cookie-message').css('display', 'none');
        });
    });

</script>

<!--Start of Tawk.to Script-->
<script type="text/javascript">
    var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
    (function () {
        var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
        s1.async = true;
        s1.src = 'https://embed.tawk.to/5d94b35bdb28311764d6ee58/default';
        s1.charset = 'UTF-8';
        s1.setAttribute('crossorigin', '*');
        s0.parentNode.insertBefore(s1, s0);
    })();
</script>
<!--End of Tawk.to Script-->
<!--<script src="https://account.snatchbot.me/script.js"></script><script>window.sntchChat.Init(74201)</script>-->
</body>
</html>