    
    
    



  
    
    <div class="right_content">            
        
    <h2>Users</h2> 
                    
                    
<table id="rounded-corner" summary="2007 Major IT Companies' Profit">
    <thead>
    	<tr>
        	<th scope="col" class="rounded-company"></th>
            <th scope="col" class="rounded">UserName</th>
            <th scope="col" class="rounded">Password</th>
            <th scope="col" class="rounded">&nbsp;</th>
            <th scope="col" class="rounded">&nbsp;</th>
            <th scope="col" class="rounded">Edit</th>
            <th scope="col" class="rounded-q4">Delete</th>
        </tr>
    </thead>
        <tfoot>

    	<tr>
        	<td colspan="6" class="rounded-foot-left"><em></em></td>
        	<td class="rounded-foot-right">&nbsp;</td>

        </tr>

    </tfoot>
    <tbody>
    <?php 
    if($records !=FALSE){
    foreach($records as $rs):?>
    	<tr>
        	<td>&nbsp;</td>
            <td><?php echo $rs->username;?></td>
            <td><?php echo $rs->email;?></td>
            <td>&nbsp;</td>
            <td>&nbsp;</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;
        }
        else
        {
        ?>
        <div class="warning_box">
        Don't Have Any Users..!!
     </div>

    	<?php }?>
        
    	
        
    </tbody>
</table>

	 <a href="<?php echo base_url();?>index.php/musers/add_user/" class="bt_green"><span class="bt_green_lft"></span><strong>Add new User</strong><span class="bt_green_r"></span></a>
    
     
        <div class="pagination">
         <?php echo $this->pagination->create_links();?>
      <!--  <span class="disabled"><< prev</span><span class="current">1</span><a href="">2</a><a href="">3</a><a href="">4</a><a href="">5</a>…<a href="">10</a><a href="">11</a><a href="">12</a>...<a href="">100</a><a href="">101</a><a href="">next >></a>-->
        </div> 
    
         <div class="form">
         </div>  
      
     
     </div><!-- end of right content-->
            
                    
  </div>