  
  
  
  
  
  
  
  
  
  
  
  
  
    <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">Visitors comments</span>
                    </div>
                    <div class="mws-panel-body">
                        <table class="mws-datatable-fn mws-table">
                            <thead>
                                <tr>
                                    <th>Name</th>
                                    <th>E-Mail</th>
                                     <th>comment</th>
                                    <th>Activate</th>
                                    <th>Delete</th>
                               
                                </tr>
                            </thead>
                          <?php  if($records !=FALSE){ $c=0;
                          foreach($records as $rs):?>
                            <tbody>
                                <tr class="gradeA">
                                     <td><?php echo $rs->name;?></td>
                                    <td><?php echo $rs->email;?></td>
                                    <td><?php echo $rs->msg;?></td>
                                      <td ><?php if($rs->active=='yes'){?><a href="<?php echo base_url();?>index.php/about_us/change_status/no/<?php echo $rs->id;?>"><img src="<?php echo base_url();?>template/images/active.png" alt="Active" title="Active" border="0" /></a><?php }else{?><a href="<?php echo base_url();?>index.php/about_us/change_status/yes/<?php echo $rs->id;?>"><img src="<?php echo base_url();?>template/images/notactive.png" alt="NonActive" title="NonActive" border="0" /></a><?php }?></td>
            <td><a href="<?php echo base_url();?>index.php/about_us/delete_mail_list/<?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">   
                    


                    </div>              		
                    			
                    			                    		
                </div>


  
  </div>
    



    
    
    



  
 