<?php //Zend\Debug\Debug::dump($mvehicleList);  ?>
<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr role="">
            <th ><input type="checkbox" class="selectall">All</th>
            <th>S.No</th>
            <th>Vehicle Type</th>
            <th>Created By</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php
        if (count($mvehicleList) > 0) {
            $i = 1;
            foreach ($mvehicleList as $listing) {
                ?>
                <tr class="odd">
                    <td class="sorting_1"><input type="checkbox" class="check" rel="<?php echo $listing['id']; ?>"></td>
                    <td class="sorting_1"><?php echo $i; ?></td>
                    <td class=" "><?php echo $listing['amenities_name']; ?></td>
                    <td class=" "><?php echo $listing['created_by']; ?></td>
                    <td class=" "><?php echo ($listing['status'] == '1' ? 'Active' : 'In-Active'); ?></td>
                    <td>
                        <div class="hidden-sm hidden-xs action-buttons">
                            <a href="<?php echo $this->url('vehicleamenities', array('action' => 'edit'), array('query' => array('id' => $listing['id']))); ?>" class="red pointer edit-form" title="Edit Cab" rel="<?php echo $listing['id']; ?>"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>  <a class="red" href="<?php echo $this->url('vehicleamenities', array('action' => 'delete'), array('query' => array('data' => $listing['id']))); ?>" title="Delete"> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a> </div>
                    </td>
                </tr>
                <?php
                $i++;
            }
        } else {
            ?>
            <tr>
                <td colspan="6" style="text-align: center;">No Records Found</td>
            </tr>
        <?php } ?>
    </tbody>
</table>
