    
    
    

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
     <div id="mws-container" class="clearfix">
            <div class="container">
            
       
       
                         <form name="form" method="post" action="">
   
  <div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span class="mws-i-24 i-table-1">Modules</span>
                    </div>
                    <div class="mws-panel-body">
                        <table class="mws-datatable-fn mws-table">
                            <thead>
                                <tr>
                                    <th width="20" align="center"><input  type="checkbox" value="1" name='check_all' id="show" onclick='checkall(this.form.show,this)' /></th>
                                    <th width="75" align="center"></th>
                                    <th>Title</th>
                                    <th><?php echo iconv("windows-1256","utf-8","العنوان")?></th>
                                    <th>Edit</th>
                                    <th>Delete</th>
                                 <th></th> 
                                    <th></th>
                                </tr>
                            </thead>
                          <?php  if($records !=FALSE){ $c=0;
                          foreach($records as $rs):$c++;$cl='A';if($c==1){$cl='odd';}if($c==2){$cl='even';$c=0;}?>
                            <tbody>
                                <tr class="gradeA">
                                     <td><input type="checkbox"  name="list[]" id="show"   value="<?php echo $rs->id;?>" /></td>
                                     <td></td>
                                     <td><?php echo $rs->name;?></td>
                                    <td><?php echo $rs->title;?></td>
                                    <td><a href="<?php echo base_url();?>index.php/modules/edit_module/<?php echo $rs->id;?>"><img src="<?php echo base_url();?>template/images/user_edit.png" alt="" title="" border="0" /></a></td>
                                    <td class="center"><a href="<?php echo base_url();?>index.php/modules/delete_module/<?php echo $rs->id;?>" class="ask"><img src="<?php echo base_url();?>template/images/trash.png" alt="" title="" border="0" /></a></td>
                                     
                                        <td class="center"></td>

                                      <td class="center"></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/modules/add_module'" class="mws-button green" />


                    </div>              		
                    			
                    			                    		
                </div>
  
  </form>
  


  
  </div>
