<table id="example1" class="table table-bordered table-striped">
                                                <thead>
                                                    <tr>
                                                        <th><input type="checkbox"></th>
                                                        <th>ID</th>
                                                        <th width="10%">Images</th>
                                                        <th width="35%">Package Name</th>
                                                        <th>Cost/Price</th>
                                                        <th width="10%">Validity</th>
                                                        <th width="5%" >Orderd</th>
                                                        <th>Status</th>
                                                        <th>Action</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <?php
        if ($membershipListing) {
            $i = 1;
            foreach ($membershipListing as $listing) {
                ?>
                <tr class="odd" id="main_membership">
                    <td class="sorting_1"><input type="checkbox"></td>
               
                    <td class=" "><?php echo $listing['id']; ?></td>
                    <td class=" "><?php echo $listing['images']; ?></td>
                    <td class=" "><?php echo $listing['package_name']; ?></td>
                    <td class=" "><?php echo $listing['cost']; ?></td>
                    <td class=" "><?php echo $listing['validity']; ?></td>
                    <td class=" "><?php echo $listing['data1']; ?></td>
                    <td class=" "><?php echo $listing['data2']; ?></td>
                    
                    <td >
                        <div class="hidden-sm hidden-xs action-buttons"> <!--<a class="blue" href="#"> <i class="ace-icon fa fa-search-plus bigger-130"></i> </a>--> <a class="red pointer " title="Edit Cab" id="markup_edit"> <i class="ace-icon fa fa-edit 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>
                                                <tfoot>
                                                    <tr>
                                                        <th><input type="checkbox" value="5"></th>
                                                        <th>ID</th>
                                                        <th>Login Id</th>
                                                        <th>Name</th>
                                                        <th>Email</th>
                                                        <th>Country</th>
                                                        <th>City</th>
                                                        <th>Status</th>
                                                        <th>Action</th>
                                                    </tr>
                                                </tfoot>
                                            </table>