  
  
  
  
  
  
  
  
  
  
  
  
  
    <div id="mws-container" class="clearfix">
            <div class="container">
            
       
       
   
  <div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span class="mws-i-24 i-table-1">Users</span>
                    </div>
                    <div class="mws-panel-body">
                        <table class="mws-datatable-fn mws-table">
                            <thead>
                                <tr>
                                    <th>Username</th>
                                    <th>E-Mail</th>
                                    <th>Edit</th>
                                    <th>Delete</th>
                               
                                </tr>
                            </thead>
                          <?php  if($records !=FALSE){ $c=0;
                          foreach($records as $rs):?>
                            <tbody>
                                <tr class="gradeA">
                                     <td><?php echo $rs->username;?></td>
                                    <td><?php echo $rs->email;?></td>
                                    <td><a href="<?php echo base_url();?>index.php/musers/edit_user/<?php echo $rs->id;?>"><img src="<?php echo base_url();?>template/images/user_edit.png" alt="" title="" border="0" /></a></td>
            <td><a href="<?php echo base_url();?>index.php/musers/delete_user/<?php echo $rs->id;?>" class="ask"><img src="<?php echo base_url();?>template/images/trash.png" alt="" title="" border="0" /></a></td>
   
                                </tr>
                       <?php endforeach;
                       }
                       ?>

                                
                             

                        </table>
                                 <?php echo $this->pagination->create_links();?>

                        

                    </div>
                    
                    <br>
                    <div class="mws-button-row">   
                    
                <input type="button" value="Add New" onclick="window.location.href='<?php echo base_url();?>index.php/musers/add_user/'" class="mws-button green" />


                    </div>              		
                    			
                    			                    		
                </div>


  
  </div>
    



    
    
    



  
 