<?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/dashboard/lib/color_picker.css')
                ->prependStylesheet($this->basePath() . '/css/custom/user.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/app/bootstrap-select.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 -->
        <style>
            .form-control {
                border: 1px solid #ccc;
            }
            .calendly-badge-widget .calendly-badge-content span {
                display:none !important;
            }
            ul.social-share li a {

    display: inline-block;
    color: #fff !important;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 11px;
    padding: 0 10px !important;

}
    ul.social-share li ul li a:hover {background: none;}
        </style>
    </head>
    <body class="homepage">

        <header id="header">
            <div class="top-bar top-barGray">
                <div class="container">
                    <div class="row">

                        <div class="col-sm-8 topmobileR pull-right b2b-header-top">


                            <div class="social">

                                <ul class="social-share">

                            <!--<li><a id="modal_trigger" href="#modal"  style="padding:0 10px;"><i class="fa fa-home fa-fw fa-1x"></i>  Home</a></li>-->
                                    <li><a id="model_triger1" href="#modal" style="padding:0 10px;"><i class="fa fa-book fa-fw fa-1x"></i>  About Us</a></li>

                                    <li><a href="#"><i class="fa fa-phone fa-fw fa-1x"></i>  Career</a></li>
                                    <li><a href="<?php echo $this->url('refer-earn'); ?>"><i class="fa fa-book fa-fw fa-1x"></i>  Refer & Earn</a></li>
                                    <li><a href="#"><i class="fa fa-phone fa-fw fa-1x"></i>  Contact Us</a></li>
                                    <?php if (empty($user_id)) { ?>
                                    <li><a href="<?php echo $this->url('affilate-registration', ['controller' => 'index', 'action' => 'affilate-registration']); ?>" class="regestration-b2b"><i class="fa fa-user fa-fw fa-1x"></i> Register with us</a></li>
                                    <?php }?>
                                </ul>

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


            <div class="container">
                <div class="navbar-header col-sm-6 padding0 padding12top left_logo b2b-logo">

                    <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 b2b-logo pull-right">
                    <div class="col-sm-12 col-new-login no-padding pull-right">
                        <?php if (empty($user_id)) { ?>
                        <a href="<?php echo $this->url('dashboard-login', ['controller' => 'index', 'action' => 'dashboard-login']); ?>" class="bgnone  pull-right center regestration-b2b-red">
                            Affiliate/Suppliers Login
                        </a>
                         <?php } else { ?>
                        <ul class="social-share pull-right" style="z-index: 999999">

                                    <li class="dropdown">

                                   <a href="<?php //echo $this->url('dashboard'); ?>" data-toggle="dropdown" class="bgnone  pull-right center regestration-b2b-red">
                                <div class="control-label">
                                     <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>


                        <?php } ?>
                                          </ul>
                                    </li>
                                     </ul>
                    </div>

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

        <!--/header-->



        <?php
        if ($this->currentRoute()->getRoute() == 'home') {
            require_once 'home-header-banner.phtml';
        } else {
            ?>
            <section id="main-slider" class="web no-padding">
                <div class="formbg1"></div>
            </section>
        <?php } ?>