<?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 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/libs/jquery.ihavecookies.css')
                ->prependStylesheet($this->basePath() . 'css/dashboard/app/drag_menu.css')
                //->prependStylesheet($this->basePath() . '/css/dashboard/lib/editor.css')
                ->prependStylesheet($this->basePath() . '/css/libs/imgareaselect.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/jquery-ui-timepicker-addon.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/app/selectize.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/color_picker.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/all-skins.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/dashboard.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/app/bootstrap-select.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/app/updatecss.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/app/mystyle.css')
                ->prependStylesheet($this->basePath() . '/css/libs/mloading.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/ionicons.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/font-awesome.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/bootstrap.css')
                ->prependStylesheet($this->basePath() . '/css/libs/bootstrap-clockpicker.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/bootstrap.min.css')
                // ->prependStylesheet($this->basePath() . '/css/dashboard/lib/dataTables.bootstrap.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/jquery.dataTables.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/dashboard.min.css')
                ->prependStylesheet($this->basePath() . '/css/dashboard/lib/bootstrap-combined.min.css')
		->prependStylesheet($this->basePath() . '/css/libs/jquery-ui.css')


        ?>

  <?php
        $helper = new Zend\View\Helper\ServerUrl();
        $url = $helper->__invoke(true);
    ?>
        <!-- Scripts -->
<div id="ajax-modal" class="modal fade" aria-hidden="true" role="dialog" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-body"></div>
        </div>
    </div>
</div>
<script type="text/javascript">
    // base url
    var basepath = '<?php echo $this->serverUrl($this->basePath()) ?>';
    var loaderHtml = '<div class="row"><div class="icon-spinner10 spinner loadersmall"></div></div>';
    // current controller name
    var controller = '<?php echo $this->controller; ?>';
    var action = '<?php echo $this->action; ?>';
    // current url
    var currentUrl = '<?php echo $url; ?>';
    var loadingText = '<?php echo $this->translate('Loading...'); ?>';

</script>
    </head>
    <body class="hold-transition skin-blue sidebar-mini fixed sidebar-collapse">
        <div class="wrapper">

            <header class="main-header">
                <!-- Logo -->
                <a href="<?php echo $this->url('home'); ?>" class="logo">
                    <!-- mini logo for sidebar mini 50x50 pixels -->
                    <span class="logo-mini">
                        <img src="/images/logo.png" style="width:40px;">
                    </span>
                    <!-- logo for regular state and mobile devices -->
                    <span class="logo-lg">
                        <img src="/images/logo.png">
                    </span>
                </a>
                <!-- Header Navbar: style can be found in header.less -->
                <nav class="navbar navbar-static-top" role="navigation">
                    <!-- Sidebar toggle button-->
                    <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                        <span class="sr-only">Toggle navigation</span>
                    </a>
                    <div class="navbar-custom-menu">
                        <ul class="nav navbar-nav">
                            <li class="dropdown user user-menu ">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Support
                                <span class="caret"></span>
                                </a>

                                <ul class="dropdown-menu dropdown-menu1">
                                     <li><a href="<?php echo $this->url('cms-pages', ['page' => 'contact-us']); ?>" class="sign-out-dashboard">Contact Us</a></li>
                                     <li><a href="<?php //echo $this->url('profile', array('action'=>'index'));?>" class="sign-out-dashboard">Relationship Manager</a></li>
                                     <li><a href="<?php echo $this->url('make-payment', ['controller' => 'index'])?>" class="sign-out-dashboard">Make Payment</a></li>
                                     <li><a href="javascript:void(Tawk_API.toggle())" class="sign-out-dashboard">Talk to Us</a></li>
                                </ul>
                            </li>

                            <li class="dropdown user user-menu ">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">

                                    <img src="../images/default_user.png" class="user-image" alt="User Image">

                                    <span class="hidden-xs"><?php
                                    $session = new \Zend\Session\Container('userlogin');
                                    $firstName= isset($session->userData['first_name'])?$session->userData['first_name']:'';
                                    $roleName= isset($session->userData['role_name'])?$session->userData['role_name']:'';
                                    echo $firstName ?>
                                    </span>
                                </a>
                                <ul class="dropdown-menu">
                                    <!-- User image
                                    <li class="user-header">
                                        <img src="../images/default_user.png" class="img-circle" alt="User Image">
                                        <p>
                                           <?php echo $firstName; ?>
                                            <small><?php echo $roleName; ?></small>
                                        </p>
                                    </li>-->
                                    <!-- Menu Body -->
                                    <!-- Menu Footer-->
                                     <li><a href="<?php echo $this->url('profile', array('action'=>'index'));?>" class="sign-out-dashboard">Profile</a></li>
                                     <li><a href="<?php echo $this->url('profile', array('action'=>'security'));?>" class="sign-out-dashboard">2-Step Verify</a></li>
                                     <li><a href="<?php echo $this->url('logout'); ?>" class="sign-out-dashboard">Logout</a></li>

                                </ul>
                            </li>
                            <!-- Control Sidebar Toggle Button -->

                        </ul>
                    </div>
                </nav>
            </header>
