<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th><input type="checkbox"></th>
            <th>Id</th>
            <th>Name</th>
            <th>Tour Type</th>
            <th>Specification</th>
            <th>Price</th>
            <th>Vendor Price</th>
            <th>Discount Price</th>
            <th>Child Price</th>
            <th>Child Discount</th>
            <th>Infant Price</th>
            <th>Infant Discount</th>
            <th>Package Validity</th>
            <th>Booking Validity</th>
            <th>Action</th>
        </tr>
    </thead>
    
    <tbody>
        <?php
        if ($packageListing) {
            $i = 1;
            foreach ($packageListing as $listing) {
                ?>
        <tr>
            <td><input type="checkbox"></td>
            <td><?php echo $i; ?></td>
            <td><?php echo $listing['tours_name']; ?></td>
            <td><?php echo $listing['tour_type_name']; ?> </td>
            <td><?php echo $listing['package_specification']; ?> </td>
            <td><?php //echo $listing['price']; ?> </td>
            <td><?php //echo $listing['vendor_price']; ?> </td>
            <td><?php //echo $listing['discount_price']; ?></td>
            <td><?php //echo $listing['child_price']; ?></td>
            <td><?php //echo $listing['child_discount']; ?></td>            
            <td><?php //echo $listing['infant_price']; ?></td>
            <td><?php //echo $listing['infant_discount']; ?></td>
            <td><strong>From:</strong> <?php echo date('Y-m-d',strtotime($listing['package_validity_from'])); ?><br/>
                <strong>To:</strong> <?php echo date('Y-m-d',strtotime($listing['package_validity_to'])); ?>
            </td>
            <td><strong>From:</strong> <?php echo date('Y-m-d',strtotime($listing['booking_validity_from'])); ?><br/>
                <strong>To:</strong> <?php echo date('Y-m-d',strtotime($listing['booking_validity_to'])); ?>
            </td>
            <td><div class="hidden-sm hidden-xs action-buttons"> <a class="red" href="<?php echo $this->url('tour-package', array('action'=>'edit-tour-package'))?>" title="Edit"> <i class="ace-icon fa fa-edit bigger-130"></i></a>  
                    <a class="red" href="#" title="Scheduler Detail" > <i class="ace-icon fa fa-calendar bigger-130"></i></a>
                    <a class="red" href="#" title="Delete"> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a> </div>
            </td>
        </tr>
        <?php $i++;
            }
        } else { ?>
            <tr></tr>                               
<?php } ?>
    </tbody>    
</table>