<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th><input type="checkbox"></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($userrolemanagerListing){
                $i=1;
        foreach($userrolemanagerListing as $listing){ ?>
        
        
        
        <tr>
            <td><input type="checkbox"></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>
            <?php if($listing['status']==1)
             { ?>
                <td><div id="changestatus1" class="aprovestatus iconsize" name="ChangeStatus"> </div></td>
            <?php } else{ ?>
                
             <td><div id="changestatus1" class="unaprovestatus iconsize" name="ChangeStatus"> </div></td>
            <?php } ?>
           
            <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="#" 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>