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

<?php $posts=$this->fun->getone('posts',$id);
	if($posts!=FALSE){
    foreach($posts->result() as $row):
    endforeach;}

 ?>

<div class="container content margin">
            <div class="inSite">
               	<div class="container rightside">

            <div class="right_menu-about">
				<?php echo $row->details_ar;?>
                         </div>
                            	
                
                
                
                <div class="container contentside" style="vertical-align:top">

                        <div class="conthdr-about-line"><h4> <img src="<?php echo base_url();?>template/ar/images/line.png" /></h4>
                        </div>

                		<div class="conthdr-about"><h4> <img src="<?php echo base_url();?>template/ar/images/qu.png" /></h4>
                        </div>
                        
                		<div class="conthdr-about-pic"><h4>   <?php if($row->pic){?> <img src="<?php echo base_url();?>uploads/posts/<?php echo $row->pic;?>" /><?php }?>
</h4>
                        </div>   
                        
                          

                                                    <div class="text-reg-lines2">
                        						<img  src="<?php echo base_url();?>template/ar/images/lines2.png" />

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

                </div>
<div class="about-right">
   <h13> لديك شهادة للمشاركة ؟ </h13>
 <br /><br />
<br />
                      <form id="about_form" name="about_form" target="fr2"  action="<?php echo base_url();?>index.php/testimonials/send_about_msg" method="post">

                        <h12> الإسم </h12> 
                        <input style="margin-right:80px;" class="about" type="text" name="name" placeholder="الاسم " />
                         <br />

                           <h12> البريد الإلكتروني </h12> 
                          <input style="margin-right:15px;" class="about" type="text" name="email" placeholder="البريد اللكتروني " />
                         <br />

                   		                         <br />
<br />
<br />
<br />
                   		 <h12>    من فضلك إختر النوع </h12> 
<br />
<br />
<br />

 <input style="width:90px; margin-right:220px;" type="radio" name="kind" value="Man" checked>  
 <br />
<br />

<input style="width:90px; margin-right:220px;" type="radio" name="kind" value="woman" > 
<br />
<br />

<div class="about-faces"><img src="<?php echo base_url();?>template/ar/images/man.png" width="40" height="40" />
<br /><br />

<img src="<?php echo base_url();?>template/ar/images/woman.png" width="40" height="40" /><br />
<br />
<br />
  		<div class="other"> <h12>هنا يمكن إختيار كلمات مناسبة </h12> </div><br />
<br />


<textarea name="msg" style="float:right height:200px;" > </textarea>
<a onclick="about_form.submit()"><img style=" margin-top:15px; margin-right:250px;" src="<?php echo base_url();?>template/ar/images/send-about.png" /></a>
<iframe border="0" frameborder="0" name="fr2" scrolling="no" style="height: 35px; width: 230px"></iframe>
</div>
</form>








		
</div>
 <?php $posts=$this->fun->get_aboutus('ar');
	if($posts!=FALSE){
	$x=0;
    foreach($posts->result() as $row):
    $x++;
    

 ?>
          
<div class="aboutus-comment-back<?php if($x>1){echo $x;}?>">
<img src="<?php echo base_url();?>template/ar/images/comment-back.png" />
</div>
<div class="aboutus-comment-title<?php if($x>1){echo $x;}?>">
<?php echo $row->name?> <br />
<font style="color:#666; font-size:15px;font-family: 'Conv_GE SS Two Bold';">
</font><br />
<br />
</div>
<div class="aboutus-comment-text<?php if($x>1){echo $x;}?>">
<?php echo $row->msg?> 
</div>
<div class="aboutus-comment-person<?php if($x>1){echo $x;}?>">
<?php if($row->kind=='Man'){$img='comment-person.png';}else{$img='woman.png';} ?>
<img src="<?php echo base_url();?>template/ar/images/<?php echo $img?>" />
</div> 
<?php endforeach;}?>   


</div>
