<?php echo $this->doctype(); ?>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <?php echo $this->headTitle('Bookingcabs', $this->placeholder('titleType', 'APPEND'))->setSeparator(' - ')->setAutoEscape(false) ?>

        <?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/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/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')
        ?>

        <!-- Scripts -->
    </head>
    <body class="home">
        <header id="header">


          <div class="top-bar for-mobile">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-4 header_top1 header-mobile">
                            <div class="top-number">
                                <a href="#" class="dropdown-toggle white" data-toggle="dropdown">
                                    <bdi id="">Delhi and NCR</bdi>
                                    <span class="caret"></span></a>

                            </div>
                        </div>

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


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

                                    <!--/.<nav class="navbar navbar-inverse" role="banner">
                                        <div class="container">
                                            <div class="navbar-header">
                                                <button type="button" class="navbar-toggle navbar-toggletop" data-toggle="collapse" id="nav-top" data-target=".navbar-collapse1">
                                                    <span class="sr-only">Toggle navigation</span>
                                                    <span class="icon-bar"></span>
                                                    <span class="icon-bar"></span>
                                                    <span class="icon-bar"></span>
                                                </button>

                                            </div>

                                            <div class="collapse navbar-collapse1 navbar-left padding0">
                                                <ul class="nav navbar-nav nav-top">
                                                    <li><a  href="<?php echo $this->url('home'); ?>"  style="padding:0 10px;"><i class="fa fa-home fa-fw fa-1x"></i>  Home</a></li>
                                                    <li><a href="<?php echo $this->url('cms-pages', ['page' => 'services']); ?>" style="padding:0 10px;"><i class="fa fa-paper-plane fa-fw fa-1x"></i>  Services</a></li>
                                                    <li><a href="<?php echo $this->url('cms-pages', ['page' => 'contact-us']); ?>"><i class="fa fa-phone fa-fw fa-1x"></i>  Contact Us</a></li>
                                                    <li><a href="<?php echo $this->url('affilate-registration', ['controller' => 'index', 'action' => 'affilate-registration']); ?>"><i class="fa fa-user fa-fw fa-1x"></i>Affiliate/Suppliers Registration</a></li>
                                                </ul>
                                            </div>
                                        </div>container
                                    </nav>-->


                                    <ul class="social-share">
                                        <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><a  href="<?php echo $this->url('cms-pages', ['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 $this->url('cms-pages', ['page' => 'contact-us']); ?>"><i class="fa fa-phone fa-fw fa-1x"></i><span>Contact Us</span></a></li>
                                        <li><a href="<?php echo $this->url('supplier'); ?>"><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-->

            <div class="container">
                <div class="navbar-header col-sm-6 padding0 padding12top left_logo header_top">
                    <a class="navbar-brand" href="<?php echo $this->url('home'); ?>"><img src="/images/logo.png" alt="logo"></a>
                </div>
                <div class="col-sm-6 padding0 right_icon header_top">
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-new-login margin-top-5 pull-right no-padding">

                        <?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"><i class="fa fa-sign-in fa-fw fa-1_5x sicon"></i></div>
                                <div class="control-label textlogin">
                                    <span id="">Login</span>
                                </div>
                            </a>

                            <a href="<?php echo $this->url('user', ['controller' => 'index', 'action' => 'index']); ?>" class="bgnone  pull-right center">
                                <div class="circle-tile-heading login_signbg red marginbtom0"><i class="fa fa-user fa-fw fa-1_5x sicon pointer"></i></div>
                                <div class="control-label textlogin">
                                    <span id="">SignUp</span>
                                </div>
                            </a>
                        <?php } else { ?>
                            <a href="<?php echo $this->url('logout'); ?>" class="bgnone  pull-right center">
                                <div class="circle-tile-heading login_signbg red marginbtom0"><i class="fa fa-user fa-fw fa-1_5x sicon pointer"></i></div>
                                <div class="control-label textlogin">
                                    <span id="">Logout</span>
                                </div>
                            </a>
                            <a href="<?php echo $this->url('dashboard'); ?>" class="bgnone  pull-right center">
                                <div class="circle-tile-heading login_signbg red marginbtom0"><i class="fa fa-user fa-fw fa-1_5x sicon pointer"></i></div>
                                <div class="control-label textlogin">
                                    <span id="">Dashboard</span>
                                </div>
                            </a>
                            <a href="<?php echo $this->url('dashboard'); ?>" class="bgnone  pull-right left linhight60 margin-right50">
                                <div class="control-label textlogin">
                                    <span id="">Welcome, <?php echo $user_name; ?></span>
                                </div>
                            </a>
                        <?php } ?>
                    </div>
                </div>
            </div><!--/.container-->

        </header>
        <div>
        </div>
        <section id="screen1">


           <nav class="navbar navbar-inverse topbar"  role="banner" style="background:#3e3c3c;">
                <div class="container">



                    <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>Airport Transfer</a></div>
                            <div class="col-sm-2 text-center active"><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="collapse navbar-collapse navbar-left padding0" id="#navbar-left">
                        <?php echo $this->navigation('navigation')->menu()->setMinDepth(0)->setMaxDepth(0)->setUlClass('nav navbar-nav');
                        ?>
                    </div>
                </div><!--/.container-->
            </nav>


        </section>

        <?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">
                <img src="/images/inerpage_bg.jpg" width="100%" alt="">
            </section>
<?php //} ?>

        <div class="container-fluid navbar-inverse mannavi navbar-navnew nav-bg2">
            <div class="container paddinL-R10px">
                <div class="navbar navbar-inverse marginbtom0 mannavi nav-bg2 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 sicon fa-style"></i><br>Track Car</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 sicon fa-style"></i><br>Print/SMS Ticket</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 sicon fa-style"></i><br>Cancel Ticket</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 sicon fa-style"></i><br>Refund Status</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 sicon fa-style"></i><br>Give Feedback</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 sicon fa-style"></i><br>Give Feedback</a>
                                <?php }?>
                            </div>
                        </div>
                        <!--/.nav-collapse -->
                    </div>
                </div>
            </div>
        </div>