<table id="example1" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th><input type="checkbox"></th>
            <th>ID</th>
            <th>Name</th>
            <th>Action</th>
        </tr>
    </thead>
    
    <tbody>
        <?php
        if ($tourTypeListing) {
            $i = 1;
            foreach ($tourTypeListing as $listing) {
                ?>
        <tr>
            <td><input type="checkbox"></td>
            <td><?php echo $listing['tour_type_id']; ?> </td>
            <td><?php echo $listing['tour_type_name']; ?> </td>
            <td><div class="hidden-sm hidden-xs action-buttons"> <a class="red " href="<?php echo $this->url('tour-type', array('action'=>'edit-tour-type'));?>"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>  <a class="red" href="#"> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a> </div></td>
        </tr>
        <?php $i++;
            }
        } else { ?>
            <tr></tr>                               
<?php } ?>
    </tbody>                                                    
</table>