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

<div class="container content margin">
            <div class="inSite">
               		<?php $this->load->view('right_ar');?>
                
                
         <?php $posts=$this->fun->getone('posts',$id);
				if($posts!=FALSE){
			    foreach($posts->result() as $row):
			    endforeach;}
			
			 ?>       
                <div class="container contentside">
                		<div class="conthdr"><h4><a href="<?php echo base_url();?>">الرئيسيـة</a>
                        	<span>/ تفاصيل الخبر</span></h4>
                        </div>
                        

                            
                                                    <div class="news-det">
                                                  <br />
<br />

                            <div class="spec-news-det"> <?php if($row->pic){?><img style="width:550px;height:200px" src="<?php echo base_url();?>uploads/posts/<?php echo $row->pic?>" /><?php  }?> </div> 
                        		<dl><br />


                            <dt>  <?php echo $row->name_ar;?></dt>
                                        <dd><?php echo $row->details_ar;?>
                                        </dd>
                                        

   
<div class="news-det-other"><div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div></div>

   


								</dl>
                  <!--            
                                <div class="demo2">
	<div style="position: absolute; margin: 0px; top: 0px;"><div>
	<?php  
                	$social_q= $this->fun->getall_limit('posts','news',5);
                	if($social_q!=FALSE){
                	foreach($social_q->result() as $row):
                	$name=str_replace('/','',$row->name_ar);
                	$name=str_replace('?','',$name);
                	$name=str_replace('!','',$name);
                	$name=str_replace(' ','_',$name);
                	?>

    <div class="news-title">
			<a href="<?php echo base_url();?>news/details/<?php echo $name?>/<?php echo $row->id?>" name="" id="" title="" alt=""><?php echo $row->name_ar?></a>
			<p><?php echo substr(strip_tags($row->details_ar),0,652);?> .. </p>		</div>
		<?php endforeach; }?>		
		        </div>

		
	</div>
</div>-->
                        
                        </div>
                
                </div>
                
                
                	<?php $this->load->view('left_ar');?>
    		</div>
</div>
