<?php
$session = new \Zend\Session\Container('userlogin');
$user_id = isset($session->userData['user_id'])?$session->userData['user_id']:'';
?>
<!-- This is for point to point booking form -->
<section id="main_form1" class="padding12top">
    <div class="container">
        <div class="slide-margin">
            <div class="row">
                <div class="col-sm-12">

                    <div class="search-tabs search-tabs-bg search-tabs-nobox search-tabs-lift-top">
                        <div class="tabbable">
                            <div class="tab-content1">
                                <div class="tab-pane fade in active" id="pointtopoint_form">
                                    <?php echo $this->partial('point-to-point/index/vehicle-search'); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</section>

<!-- /.booking-terrif.phtml file will be include here --->
<?php if(!empty($user_id)){?>
<?php echo $this->partial('point-to-point/index/vehicle-tariff'); ?>
<?php }?>
<script src="<?php echo $google_map_url; ?>?key=<?php echo $google_map_key; ?>&libraries=places" async defer></script>