<?php echo $this->doctype(); ?>
<html lang="en">
    <head>
        <!-- Global site tag (gtag.js) - Google Analytics -->
        <script async src="https://www.googletagmanager.com/gtag/js?id=UA-160374370-1" type="text/javascript"></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag() {
                dataLayer.push(arguments);
            }
            gtag('js', new Date());

            gtag('config', 'UA-160374370-1');
        </script>
        <meta charset="utf-8">
        <?php
        $cityModule = new \Zend\Session\Container('cityModule');
        $cityId = isset($cityModule->city_id) ? $cityModule->city_id : '';
        $cityName = isset($cityModule->city_name) ? $cityModule->city_name : '';
        $config = new \Zend\Config\Config(include BASE_PATH . '/config/autoload/global.php');
        $masterPackageNameArr = $config->masterPackage;
        $masterPackageName = $masterPackageNameArr['activity'];
        $seoData = $this->mainMenu()->getSeoData(isset($cityId) ? $cityId : '', $masterPackageName);
        $seoData = isset($seoData[0]) ? $seoData[0] : '';
        $title = isset($seoData['meta_title']) ? $seoData['meta_title'] : 'Activities | Local Tours | Sightseeing| Monuments | Attractions |Theme Parks ';
        $keywords = isset($seoData['meta_keywords']) ? $seoData['meta_keywords'] : 'Activities | Local Tours | Sightseeing| Monuments | Attractions |Theme Parks ';
        $description = isset($seoData['meta_desc']) ? $seoData['meta_desc'] : 'Activities | Local Tours | Sightseeing| Monuments | Attractions |Theme Parks ';
        ?>

        <?php
        echo $this->headTitle('Bookingcabs - ' . $title, $this->placeholder('titleType', 'APPEND'))->setSeparator(' - ')->setAutoEscape(false);
        $this->headMeta()->appendName('keywords', $keywords);
        $this->headMeta()->appendName('Description', $description);
        ?>

        <?php
        echo $this->headMeta()
                ->appendName('viewport', 'width=device-width, initial-scale=1.0')
                ->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
        ?>

        <!-- styles -->

        <?php
        echo $this->headLink(array(
                    'rel' => 'shortcut icon',
                    'type' => 'image/vnd.microsoft.icon',
                    'href' => $this->basePath() . '/images/favicon.ico'
                ))
                ->prependStylesheet($this->basePath() . '/css/libs/fullcalendar.print.css')
                ->prependStylesheet($this->basePath() . '/css/libs/fullcalendar.css')
                ->prependStylesheet($this->basePath() . '/css/libs/slyder_detail.css')
                ->prependStylesheet($this->basePath() . '/css/libs/jquery.timepicker.css')
                ->prependStylesheet($this->basePath() . '/css/custom/jquery.mCustomScrollbar.css')
                ->prependStylesheet($this->basePath() . '/css/custom/bookings.css')
                ->prependStylesheet($this->basePath() . '/css/custom/user.css')
                ->prependStylesheet($this->basePath() . '/css/libs/mloading.css')
                ->prependStylesheet($this->basePath() . '/css/custom/responsive.css')
                ->prependStylesheet($this->basePath() . '/css/custom/base.css')
                ->prependStylesheet($this->basePath() . '/css/libs/jquery.ihavecookies.css')
                ->prependStylesheet($this->basePath() . '/css/libs/selectize.css')
                ->prependStylesheet($this->basePath() . '/css/libs/input-select.min.css')
                ->prependStylesheet($this->basePath() . '/css/libs/image-crop.css')
                ->prependStylesheet($this->basePath() . '/css/libs/flexslider.css')
                ->prependStylesheet($this->basePath() . '/css/libs/animate.min.css')
                ->prependStylesheet($this->basePath() . '/css/libs/bootstrap-datetimepicker.css')
                ->prependStylesheet($this->basePath() . '/css/libs/bootstrap-clockpicker.min.css')
                ->prependStylesheet($this->basePath() . '/css/libs/bootstrap.min.css')
                ->prependStylesheet($this->basePath() . '/css/libs/bootstrap-slider.css')
                ->prependStylesheet($this->basePath() . '/css/libs/jquery.tooltip.css')
                ->prependStylesheet($this->basePath() . '/css/libs/font-awesome.min.css')
                ->prependStylesheet($this->basePath() . '/css/libs/jquery-ui.css')
        ?>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
        <!-- Scripts -->
    </head>
    <body class="home">
        <header id="header">

            <div class="top-bar for-mobile header-top">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 header_top1">
                            <div class="row">
                                <div class="social">
                                    <ul class="social-share">
                                         <?php //if($user_id >0){ ?>
                                        <li class="dropdown dropdown-menu1">
                                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                                <i class="fa fa-bell-o"></i>
                                                <span class="visible-xs-inline-block position-right">Messages</span>
                                                <span class="badge bg-warning-400">2</span>
                                            </a>

                                            <div class="dropdown-menu dropdown-content width-350">
                                                <div class="dropdown-content-heading">
                                                    Messages
                                                    <ul class="icons-list">
                                                        <li><a href="#"><i class="icon-compose"></i></a></li>
                                                    </ul>
                                                </div>                                             
                                                <?php $notificationData = []; //$this->mainMenu()->getNotificationList($user_id); ?> 
                                                <ul class="media-list dropdown-content-body">
                                                    <?php if (count($notificationData) > 0) {
                                                        foreach ($notificationData as $value) {
                                                            ?>

                                                            <li class="media">
                                                                <div class="media-left">
                                                                    <img src="images/placeholder.jpg" class="img-circle img-sm" alt="">
                                                                    <span class="badge bg-danger-400 media-badge"></span>
                                                                </div>

                                                                <div class="media-body">
                                                                    <a href="#" class="media-heading">
                                                                        <span class="text-semibold"><?php echo $value['clientname']; ?></span>
                                                                        <span class="media-annotation pull-right"><?php echo $value['time']; ?></span>
                                                                    </a>

                                                                    <span class="text-muted"><?php echo $value['reference_number']; ?> - <?php echo $value['booking_address']; ?></span>
                                                                    <span class="text-muted"><?php echo $value['status']; ?></span>
                                                                </div>
                                                            </li>
                                                        <?php }
                                                    } else { ?>
                                                        <li class="media">No record Found</li>
<?php } ?>


                                                </ul>

                                                <div class="dropdown-content-footer">
                                                    <a href="#" data-popup="tooltip" title="All messages"><i class="icon-menu display-block"></i></a>
                                                </div>
                                            </div>
                                        </li>                                        
                                        <?php //} ?>
                                        <?php
                                        if (!empty($user_id)) {
                                            $wallet_amount = $this->mainMenu()->getWalletAmt($user_id);
                                            ?>
                                            <li class="white margin-left10px"><a>Credit Balance <i class="fa fa-inr"></i> 5000</a></li>
                                            <li class="white margin-left10px"><a>Wallet <i class="fa fa-inr"></i> <?php echo $wallet_amount; ?></a></li>


                                        <?php } ?>
<!--<li><a  href="<?php echo $this->url('home'); ?>" class="paddinL-R10px"><i class="fa fa-home fa-fw fa-1x"></i><span>Home</span></a></li>--->
                                        <li class="dropdown">
                                            <a class="pointer" data-toggle="dropdown"><i class="fa fa-wrench  fa-fw fa-1x"></i><span>Support</span></a>
                                            <span class="caret"></span></a>
                                            <ul class="dropdown-menu">
                                                <li><a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms', 'page' => 'contact-us']); ?>">Contact Us</a></li>
                                                <?php if (!empty($user_id)) { ?>
                                                    <li class="submenu-option"><a >Relationship Manager</a>
                                                        <div class=" container submenu">

                                                            <?php
                                                            $data = $this->mainMenu()->getRelationalData($user_id);
                                                            $data = $data['responsedata'];
                                                            echo $this->partial('user-relationship-manager.phtml', ['data' => $data]);
                                                            ?>
                                                        </div> </li>
                                                <?php } ?>


                                                <li><a href="<?php echo $this->url('make-payment', ['controller' => 'index']) ?>">Make Payment</a></li>
                                                <li><a href="javascript:void(Tawk_API.toggle())">Talk to Us</a></li>
                                            </ul>
                                        </li>

                                        <li><a  href="<?php echo $this->url('cms-pages', ['page-type' => 'cms', 'page' => 'services']); ?>" class="paddinL-R10px"><i class="fa fa-cogs fa-fw fa-1x"></i><span>Services</span></a></li>
                                        <li><a href="<?php echo B2B_LINK; ?>" target="_blank"><i class="fa fa-user fa-fw fa-1x"></i><span>Affiliate/Suppliers Login</span></a></li>
                                    </ul>

                                </div>
                            </div>

                        </div>
                    </div>
                </div><!--/.container-->
            </div>

            <div class="top-bar for-mobile disable_none">
                <div class="container">
                    <div class="row">

                        <div class="col-sm-12 header_top1">

                            <div class="row">
                                <div class="social">

                                    <ul class="social-share">
                                        <?php if (!empty($user_id)) { ?>
                                            <li class="white margin-left10px"><a>Credit Balance <i class="fa fa-inr"></i> 5000</a></li>
                                            <li class="white margin-left10px"><a>Wallet <i class="fa fa-inr"></i> <?php echo $wallet_amount; ?></a></li>

                                        <?php } ?>
<!--<li><a  href="<?php echo $this->url('home'); ?>" class="paddinL-R10px"><i class="fa fa-home fa-fw fa-1x"></i><span>Home</span></a></li>--->
                                        <li class="dropdown">
                                            <a class="pointer" data-toggle="dropdown"><i class="fa fa-wrench  fa-fw fa-1x"></i><span>Support</span></a>
                                            <span class="caret"></span></a>
                                            <ul class="dropdown-menu">
                                                <li><a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms', 'page' => 'contact-us']); ?>">Contact Us</a></li>
                                                <li><a href="#">Relationship Manager</a>    </li>
                                                <li><a href="<?php echo $this->url('make-payment', ['controller' => 'index']) ?>">Make Payment</a></li>
                                                <li><a href="javascript:void(Tawk_API.toggle())">Talk to Us</a></li>
                                            </ul>
                                        </li>

                                        <li><a  href="<?php echo $this->url('cms-pages', ['page-type' => 'cms', 'page' => 'services']); ?>" class="paddinL-R10px"><i class="fa fa-cogs fa-fw fa-1x"></i><span>Services</span></a></li>
                                        <li><a href="<?php echo B2B_LINK; ?>" target="_blank"><i class="fa fa-user fa-fw fa-1x"></i><span>Affiliate/Suppliers Login</span></a></li>
                                    </ul>

                                </div>
                            </div>

                        </div>
                    </div>
                </div><!--/.container-->
            </div>
            <!--/.top-bar-->
            <section class="heder-logo topbar">
                <div class="container">
                    <div class="padding0">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-new-login margin-top-5 pull-right no-padding">
                            <nav class="navbar"  role="banner">
                                <div class="navbar-header col-sm-2 padding0 left_logo">
                                    <a href="<?php echo $this->url('home'); ?>"><img src="/images/logo.png" alt="logo"></a>
                                </div>

                                <div class="navbar-collapse2 no-padding mobile-menu">
                                    <div class="row">
                                        <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="<?php echo $this->url('local-hire'); ?>" ><i class="fa fa-car fa-fw fa-1_5x sicon fa-style"></i><br>Local hire</a></div>
                                        <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="<?php echo $this->url('point-to-point'); ?>" ><i class="fa fa-map-marker fa-fw fa-1_5x sicon fa-style"></i><br>Point to Point</a></div>
                                        <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="<?php echo $this->url('airport-transfer'); ?>"><i class="fa fa-plane fa-fw fa-1_5x sicon fa-style"></i><br>Transfer</a></div>
                                        <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="<?php echo $this->url('outstation'); ?>"><i class="fa fa-cab fa-fw fa-1_5x sicon fa-style"></i><br>Outstation</a></div>
                                        <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="<?php echo $this->url('guide-booking'); ?>"><i class="fa fa-camera fa-fw fa-1_5x sicon fa-style"></i><br>Guide</a></div>
                                    </div>

                                    <!--/.nav-collapse -->
                                </div>


                                <div class="navbar-header pull-left web-menu">
                                    <button type="button" class="navbar-toggle nav-left" data-toggle="collapse" id="nav-left" data-target=".navbar-collapse">
                                        <span class="sr-only">Toggle navigation</span>
                                        <span class="icon-bar"></span>
                                        <span class="icon-bar"></span>
                                        <span class="icon-bar"></span>
                                    </button>

                                </div>

                                <!--/.container-->
                                <div class="-col-sm-1 pull-right user-login">

                                    <span class="franchisee_link">
                                        <a href="<?php echo $this->url('cms-pages', ['page-type' => 'cms', 'page' => 'franchisee']); ?>">Apply Franchisee</a>
                                    </span>

                                    <?php if (empty($user_id)) { ?>

                                        <a href="<?php echo $this->url('login'); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="bgnone pull-right center">
                                            <div class="circle-tile-heading login_signbg red marginbtom0 pointer margin-right0 pull-left"><i class="fa fa-sign-in fa-fw fa-1_5x sicon" style="line-height: 9px !important;"></i></div>
                                            <div class="control-label textlogin" style="float: left; padding-left: 5px;">
                                                <span id="" class="lineheight19">Login</span>
                                            </div>
                                        </a>


                                        <?php
                                    } else {
                                        $wishListData = $this->mainMenu()->getWishListData($user_id);
                                        if (isset($wishListData) && !empty($wishListData)) {
                                            ?>
                                            <a style="float:left;margin-top: 2px;" href="<?php echo $this->url('profile', ['action' => 'wish-list']); ?>"><i class="fa fa-heart-o" style="font-size:24px;color:#000; margin-top: 0px;"></i>                                                    <div class="compare-count"><?php echo count($wishListData); ?></div>
                                            </a>
                                        <?php } ?>

                                        <ul class="social-share" style="z-index: 999999">



                                            <li><?php
                                                if (!empty($_SESSION['compare_ids'])) {
                                                    $sessionIds = $_SESSION['compare_ids'];
                                                    ?>
                                                    <a style="float:left;margin-top: 2px; background:none !important;" href="<?php echo $this->url('sight-seeing', ['action' => 'sightseeing-compare']); ?>"><i class="fa fa-balance-scale" style="font-size:24px;color:#000; margin-top: 0px;"></i>

                                                        <div class="compare-count"><?php echo count($sessionIds); ?></div>

                                                    </a>
                                                <?php } ?></li>
                                            <li class="dropdown">

                                                <a href="<?php //echo $this->url('dashboard');        ?>" data-toggle="dropdown" class="bgnone  pull-right left linhight60">
                                                    <div class="control-label textlogin">
                                                        <span id="" style="line-height: 27px;"><?php echo $user_name; ?></span> <span class="caret"></span>
                                                    </div>
                                                </a>

                                                <ul class="dropdown-menu">

                                                    <li>
                                                        <a href="<?php echo $this->url('dashboard'); ?>" class="bgnone  pull-right center">
                                                            <div class="control-label textlogin" style="float: left; padding-left: 5px;">
                                                                <span id="">My Account</span>
                                                            </div>
                                                        </a>
                                                    </li>

                                                    <li><a href="<?php echo $this->url('logout'); ?>" class="bgnone  pull-right center">
                                                            <div class="control-label textlogin" style="float: left; padding-left: 5px;">
                                                                <span id="">Logout</span>
                                                            </div>
                                                        </a></li>



                                                </ul>
                                            </li>
                                            <li>
                                                <a style="float:left;margin-top: 2px; background:none !important;" href="#">
                                                    <i class="fa fa-shopping-cart" style="font-size:24px;color:#000; margin-top: 0px;"></i>
                                                    <div class="compare-count">0</div>
                                                </a>
                                            </li>
                                        </ul>
                                    <?php } ?>
                                </div>
                                <div class="col-sm-9 collapse navbar-collapse navbar-inverse navbar-left padding0 pull-right" id="#navbar-left">
                                    <?php echo $this->navigation('navigation')->menu()->setMinDepth(0)->setMaxDepth(0)->setUlClass('nav navbar-nav');
                                    ?>

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

                </div>
            </section><!--/.container-->
        </header>
        <?php
        /* if ($this->getHelperPluginManager()->getServiceLocator()->get('Application')->getMvcEvent()->getRouteMatch()->getMatchedRouteName() == 'home') {
          require_once 'home-header-banner.phtml';
          } else { */
        ?>
        <section id="main-slider" class="no-padding main-slider1">
            <img src="/images/inerpage_bg.jpg" width="100%" alt="">
        </section>
        <?php //}    ?>

        <div class="container-fluid navbar-inverse mannavi navbar-navnew nav-bg2 nav-bg2-ohter">
            <div class="container paddinL-R10px">
                <div class="navbar navbar-inverse marginbtom0 mannavi navbar-border" role="navigation">

                    <div class="navbar-collapse2 no-padding">
                        <div class="row">
                            <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="javascript: void(0);" onclick="generateTicket('track-car')"><i class="fa fa-car fa-fw fa-1_5x fa-style"></i><span class="print-menu">Track Car</span></a></div>
                            <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="javascript: void(0);" onclick="generateTicket('print-sms')"><i class="fa fa-print fa-fw fa-1_5x fa-style"></i><span class="print-menu">Print/SMS Ticket</span></a></div>
                            <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="javascript: void(0);" onclick="generateTicket('cancel-ticket')"><i class="fa fa-times fa-fw fa-1_5x fa-style"></i><span class="print-menu">Cancel Ticket</span></a></div>
                            <div class="col-sm-2 text-center"><a class="navbar-navlink navbar2-link" href="javascript: void(0);" onclick="generateTicket('refund')"><i class="fa fa-exchange fa-fw fa-1_5x fa-style"></i><span class="print-menu">Refund Status</span></a></div>
                            <div class="col-sm-2 text-center">
                                <?php if (!empty($user_id)) { ?>
                                    <a class="navbar-navlink navbar2-link" href="javascript: void(0);" onclick="giveFeedback()"><i class="fa fa-envelope fa-fw fa-1_5x fa-style"></i><span class="print-menu">Give Feedback</span></a>
                                <?php } else { ?>
                                    <a class="navbar-navlink navbar2-link" href="<?php echo $this->url('login'); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static"><i class="fa fa-envelope fa-fw fa-1_5x fa-style"></i><span class="print-menu">Give Feedback</span></a>
                                <?php } ?>
                            </div>
                        </div>
                        <!--/.nav-collapse -->
                    </div>
                </div>
            </div>
        </div>

        <div class="search_bar1 home-search otherpage">
            <div class="container">
                <div class="row">

                    <div class="col-sm-6 search-form margin-auto tab-content">
                        <form>
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="form-group form-group-lg form-group-icon-left no-margin"><!--<i class="fa fa-map-marker input-icon"></i>-->
                                        <div class="col-sm-10 padding0 col-sm-10new">
                                            <input dir="auto" id="module_city" style="position: relative; vertical-align: top;" spellcheck="false" autocomplete="off" class="typeahead form-control home-input-text" placeholder="Search City" type="text" value="<?php echo $cityName; ?>">
                                            <input type="hidden" id="module-city-value" value="">
                                        </div>
                                        <div class="col-sm-2 padding-left1px"><button class="btn btn-primary btn-lg search_module_but" type="submit"><i class="fa fa-search"></i> Search</button></div>

                                        <div class="col-sm-12 padding0 margin-top-5">
                                            <span class="error-msg1" style="color: red;"></span>
                                            <div id="service-module1"></div>
                                            <?php echo $this->partial('application/index/city-service'); ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>

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