





 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
 </head>





 <div id="content">
      <div id="bgcon">
        <div id="topcon"><h3>المعدات</h3></div>
        <div id="midcon">
      
        <?php
             if($posts!=FALSE){
             $x=0;
		     foreach($posts->result() as $row):
		      $x++;
		     ?>
<a href="<?php echo base_url();?>home/details/<?php echo $row->id?>"> 

       <img src="<?php echo base_url();?>uploads/posts/small/<?php echo $row->pic?>" width="980" height="340" />
       </a>
       <?php endforeach; }?>  
  
  <div style="clear:both"></div>
   <?php echo $this->pagination->create_links();?>
       </div>
        <div id="bcon"></div>
      </div>
