 
 <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>
               <center><?php echo $result?></center>

        <div id="midcon">
        
        
        <div class="detailservice">
      <div class="leftcontact"> <?php $posts=$this->fun->getone('posts',29);
						      if($posts!=FALSE){
							 foreach($posts->result() as $row):
							echo $row->details_ar;
							 endforeach;}
							 ?>
      </div> 

       <div class="rightcontact"><?php $posts=$this->fun->getone('posts',40);
						      if($posts!=FALSE){
							 foreach($posts->result() as $row):
							echo $row->details_ar;
							 endforeach;}
							 ?>
</div>
    </div>
 
 
     <div class="detailservice">
<form id="ContactForm" method="post" action="<?php echo base_url();?>index.php/contact/send_msg">
						<h3>راسلنا</h3>
							<div  class="wrapper">
								<span>الاسم:</span>
                                                                <input type="text" name="name" class="input" >
							</div>
							<div  class="wrapper">
								<span>البريد الالكتروني:</span>
                                                                <input type="text" name="email" class="input" >
							</div>
							<div  class="wrapper">
								<span>الهاتف:</span>
                                                                <input type="text" name="mob" class="input" >
							</div>
                                                    <div  class="wrapper">
								<span>الموضوع:</span>
                                                                <input type="text" name="sub" class="input" >
							</div>
							<div  class="textarea_box">
								<span>الرساله:</span>
                                                                <textarea name="msg" cols="1" rows="1"></textarea>
							</div>
                                                   <a onclick="document.getElementById('ContactForm').submit()"  style="margin-right: 276px; margin-top: 9px; margin-bottom: 7px;">ارسال </a>
                                                   
							<a onclick="document.getElementById('ContactForm').reset()"  style="margin-top: 9px;">اعاده</a>
						
	  </form>
</div>
 
 
 
        </div>
        <div id="bcon"></div>
      </div>
