
<?php $posts=$this->fun->getone('posts',$id);

	if($posts!=FALSE){

 foreach($posts->result() as $row):

 endforeach;}

 ?>
   <div id="content">
      <div id="bgcon">
        <div id="topcon"><h3><?php echo $row->name_ar;?></h3></div>
        <div id="midcon">
         		     <?php if($row->pic){?> <img src="<?php echo base_url();?>uploads/posts/<?php echo $row->pic;?>" style="float:left;padding:5px;width:350px;height:250px" /><?php }?>
 <?php echo $row->details_ar;?>


        </div>
        <div id="bcon"></div>
      </div>
      

 
 
 
 
 
 
 
 