<?php
use Zend\Session\Container;
$sessionHotelContainer = new Container('addHotelData');
$sessionHotelId = isset($sessionHotelContainer->hotel_id)?$sessionHotelContainer->hotel_id:'';   
?>
<?php if(!empty($sessionHotelId)){?>

<ul class="nav nav-tabs nav-tabs1 tab_ul col-sm-2 paddig-right0 margin-top15px">
    <li class="<?php if($tab=='add-hotel') echo "active"; ?>">
 <a href="<?php echo $this->url('hotel', array('action' => 'edit-hotel'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('General Information'); ?>
        </a>
    </li>
     <li class="<?php if($tab=='payment-feature-hotel') echo "active"; ?>">
      <a href="<?php echo $this->url('hotel', array('action' => 'edit-payment-feature-hotel'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('Payment & Feature'); ?>
        </a>
    </li>
     <li class="<?php if($tab=='contact-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action' => 'contact-hotel'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('Contact Information'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='room-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action' => 'edit-room-hotel'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('Manage Rooms'); ?>
        </a>
    </li>
    
    
    <li class="<?php if($tab=='normal-room-rate') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'edit-normal-room-rate'),['query' => array('id' => $sessionHotelId)]);?>">
            <?php echo $this->translate('Room Rate (Normal)'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='room-rate') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'edit-room-rate'),['query' => array('id' => $sessionHotelId,'rate_type' => 1)]);?>">
            <?php echo $this->translate('Room Rate (Package)'); ?>
        </a>
    </li>
    
<!--    <li class="<?php if($tab=='room-rate') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'room-rate'),['query' => array('id' => $sessionHotelId)]);?>">
            <?php echo $this->translate('Room Rate'); ?>
        </a>
    </li>-->
     <!--<li class="<?php if($tab=='normal_cancel_fees') echo "active"; ?>">
         <a href="<?php echo $this->url('hotel', array('action'=>'add-normal-cancel-fare'),['query' => array('id' => $sessionHotelId)]);?>">
             <?php echo $this->translate('Cancel Fees Normal'); ?>
         </a>
     </li>
     
     <li class="<?php if($tab=='package_cancel_fees') echo "active"; ?>">
         <a href="<?php echo $this->url('hotel', array('action'=>'add-package-cancel-fare'),['query' => array('id' => $sessionHotelId, 'rate_type'=>1)]);?>">
             <?php echo $this->translate('Cancel Fees Package'); ?>
         </a>
     </li>-->
     <li class="<?php if($tab=='map-distance') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'map-distance'));?>">
            <?php echo $this->translate('Map-Distance'); ?>
        </a>
    </li>

     <li class="<?php if($tab=='brochure-meta') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'brochure-meta'),['query' => array('id' => $sessionHotelId)]);?>">
            <?php echo $this->translate('Brochure & Meta'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='allocation-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action' => 'allocation-hotel'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('Allocation Information'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='terms-policy') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action' => 'terms-policy'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('Terms & Policy'); ?>
        </a>
    </li>
<li class="<?php if($tab=='upload-images') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action' => 'upload-images'),['query' => array('id' => $sessionHotelId)]); ?>">
            <?php echo $this->translate('Upload Images'); ?>
        </a>
    </li>
    
    
    
     
    <!--<li class="<?php if($tab=='feature-information') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'feature-information'));?>"><?php echo $this->translate('Feature Information'); ?></a></li>
    <li class="<?php if($tab=='price-payment-information') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'price-payment-information'));?>"><?php echo $this->translate('Price & Payment Information'); ?></a></li>
    <li class="<?php if($tab=='picture-meta-information') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'picture-meta-information'));?>"><?php echo $this->translate('Picture Meta information'); ?></a></li>
    <li class="<?php if($tab=='tour-inclusions') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'tour-inclusions'));?>"><?php echo $this->translate('Tour Inclusions'); ?></a></li>
    <li class="<?php if($tab=='tour-availability-others') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'tour-availability-others'));?>"><?php echo $this->translate('Tour Aavailability & Others'); ?></a></li>-->

</ul>
    
<?php } else { ?>
<ul class="nav nav-tabs nav-tabs1 tab_ul col-sm-2 paddig-right0 margin-top15px">
    <li class="<?php if($tab=='add-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'add-hotel'));?>">
            <?php echo $this->translate('General Information'); ?>
        </a>
    </li>
     <li class="<?php if($tab=='payment-feature-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'payment-feature-hotel'));?>">
            <?php echo $this->translate('Payment & Feature'); ?>
        </a>
    </li>
     <li class="<?php if($tab=='contact-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'contact-hotel'));?>">
            <?php echo $this->translate('Contact Information'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='room-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'room-hotel'));?>">
            <?php echo $this->translate('Manage Rooms'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='normal-room-rate') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'normal-room-rate'));?>">
            <?php echo $this->translate('Room Rate (Normal)'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='room-rate') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'room-rate'),['query' => array('rate_type' => 1)]);?>">
            <?php echo $this->translate('Room Rate (Package)'); ?>
        </a>
    </li>
   
     <li class="<?php if($tab=='map-distance') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'map-distance'));?>">
            <?php echo $this->translate('Map-Distance'); ?>
        </a>
    </li>
     <li class="<?php if($tab=='brochure-meta') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'brochure-meta'));?>">
            <?php echo $this->translate('Brochure & Meta'); ?>
        </a>
    </li>
    <li class="<?php if($tab=='allocation-hotel') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action'=>'allocation-hotel'));?>">
            <?php echo $this->translate('Allocation Information'); ?>
        </a>
    </li>
     <li class="<?php if($tab=='terms-policy') echo "active"; ?>">
        <a href="<?php echo $this->url('hotel', array('action' => 'terms-policy')); ?>">
            <?php echo $this->translate('Terms & Policy'); ?>
        </a>
    </li>
     
    <!--<li class="<?php if($tab=='feature-information') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'feature-information'));?>"><?php echo $this->translate('Feature Information'); ?></a></li>
    <li class="<?php if($tab=='price-payment-information') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'price-payment-information'));?>"><?php echo $this->translate('Price & Payment Information'); ?></a></li>
    <li class="<?php if($tab=='picture-meta-information') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'picture-meta-information'));?>"><?php echo $this->translate('Picture Meta information'); ?></a></li>
    <li class="<?php if($tab=='tour-inclusions') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'tour-inclusions'));?>"><?php echo $this->translate('Tour Inclusions'); ?></a></li>
    <li class="<?php if($tab=='tour-availability-others') echo "active"; ?>"><a href="<?php echo $this->url('tour-package', array('action'=>'tour-availability-others'));?>"><?php echo $this->translate('Tour Aavailability & Others'); ?></a></li>-->

</ul>
<?php }?>
