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

?>
<ul class="nav nav-tabs tab_ul col-sm-12 paddig-right0 margin-top15px">
    <?php if(!empty($rateTypeList)){ ?>
    <?php foreach($rateTypeList as $rateType1) { ?>
<!--    <li class="<?php if($tab=='room-rate') echo "active"; ?>">
 <a href="<?php echo $this->url('hotel', array('action' => 'room-rate'),['query' => array('rate_type' => $rateType['id'])]); ?>">
            <?php echo $this->translate($rateType['name']); ?>
        </a>
    </li>-->
    <?php } } ?>
     <li class="<?php if($rateType=='1') 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('2 Night Package'); ?>
        </a>
    </li>
     <li class="<?php if($rateType==2) echo "active"; ?>">
 <a href="<?php echo $this->url('hotel', array('action' => 'add-package-cancel-fare'),['query' => array('id'=>$sessionHotelId, 'rate_type' => 2)]); ?>">
            <?php echo $this->translate('4 Night Package'); ?>
        </a>
    </li>
     <li class="<?php if($rateType==3) echo "active"; ?>">
 <a href="<?php echo $this->url('hotel', array('action' => 'add-package-cancel-fare'),['query' => array('id'=>$sessionHotelId, 'rate_type' => 3)]); ?>">
            <?php echo $this->translate('7 Night Package'); ?>
        </a>
    </li>
</ul>


