<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th><input type="checkbox" class="selectall">All</th>
            <th>ID</th>
            <th width="20%">Roll Name</th>
<!--        <th width="35%">Assign modules</th>-->
            <th>Description</th>
            <th>Created by</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php if($rolemanagerListing){
                $i=1;
        foreach($rolemanagerListing as $listing){ ?>
        
        
        
        <tr>
            <td class="center"><label class="pos-rel">
                        <input type="checkbox" rel="<?php echo $listing['role_id']; ?>" class="ace list-checkbox check" />
                            <span class="lbl"></span> </label>
                    </td>
            <td><?php echo $i;?></td>
            <td><?php echo $listing['role_name'];?></td>
<!--            <td><?php echo $listing['module_name'];?></td>-->
            <td><?php echo $listing['description'];?></td>
            <td><?php echo $listing['created_by'];?></td>
            
           <td><div id="changestatus1" class="<?php if($listing['status']==1){echo "aprovestatus";} else {echo "unaprovestatus";} ?> iconsize" name="ChangeStatus"> </div></td>
  
           <td><div class="hidden-sm hidden-xs action-buttons"><a class="red " title="Edit" href="<?php echo $this->url('userrolemanager', array('action'=>'edit-user-role'),['query'=>['id'=>$listing['role_id']]]);?>"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>  
           <a class="red" href="<?php echo $this->url('userrolemanager', array('action' => 'delete-manager-role'), array('query' => array('data' => $listing['role_id']))); ?>" title="Delete"> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a> </div></td>
        </tr>
        <?php $i++;} }else{?>
               <tr><td colspan="7" style="text-align: center;">No Records Found</td></tr>                               
        <?php }?>
       

    </tbody>
</table>