
<?php
$sft=mysqli_query($db,"select * from footer");
$rft=mysqli_fetch_row($sft);
?> 
<footer class="footer_01">
<div class="container largeContainer">

<div class="row">

<div class="col-md-6 col-lg-3">
<div class="aboutWidget">
<h3 class="fhd"><?php echo $rft[1];?></h3>

<p><?php echo $rft[2];?></p>
 
</div>
</div>

<div class="col-md-6 col-lg-3">
<div class="widget PL28">
<h3 class="widget_title fhd"><?php echo $rft[3];?></h3>
<ul class="menu">
<li><a href="about.php">About Us</a></li>
<li><a href="services.php">Our Service</a></li>
<li><a href="news.php">Latest News</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
</div>
</div>

<div class="col-md-6 col-lg-3">
<div class="aboutWidget">
<h5 class="fhd"><?php echo $rft[4];?></h5>
<div class="phone"><i class="twi-phone GFG" ></i><?php echo $ron2[5];?></div>
<p><?php echo $ron2[2];?></p>
 <a href="mailto:<?php echo $ron2[8];?>" class="newclass"> <i class="fa fa-envelope"></i> <?php echo $ron2[8];?></a> 
</div>
</div>

<div class="col-md-6 col-lg-3">
<div class="widget gallery">
<h3 class="widget_title mb28 fhd"><?php echo $rft[5];?></h3>


<iframe src="<?php echo $ron2[3]?>" width="100%" height="150" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
</div>
</footer>


<section class="fcopyright">
<div class="container largeContainer">
<div class="row">
<div class="col-md-6">
<p>© 2024 Al Barsha. All Rights Reserved.</p>
</div>
<div class="col-md-6">
<div class="copyMenu">
<p>Designed by <a href="https://oracuz.com/" target="_blank" style="color: white;">Oracuz</a></p>
</div>
</div>
</div>
</div>
</section>
    <div class="icn" style="text-align: center; background-size: cover;">
      <!-- <a href="https://wa.me/971123456789" target="blank" class="iconlnk">
        
      </a> -->
      <a href="https://api.whatsapp.com/send?phone=<?php echo $ron2[6];?>&text=i like to know more" target="blank" class="iconlnk "><img src="wp.png" class="whsappiconimg"></a>

    </div>
    

    
    
    
<div class="modal fade" id="form2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header border-bottom-0">
        <h5 class="modal-title" id="exampleModalLabel">Enquiry Details</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
        <div class="modal-body">
          <div class="inner-add-comments">
          <form action="#" method="post" class="row" id="">
                <div class="input-field col-md-6">
                  <i class="twi-user2"></i>
                  <input class="required" type="text" name="a" placeholder="Your Name">
                </div>
                <div class="input-field col-md-6">
                  <i class="twi-envelope2"></i>
                  <input class="required" type="email" name="b" placeholder="Email Address">
                </div>
                <div class="input-field icRight col-md-12">
                  <select class="required" name="c">
                    <option >Select Subjects</option>

                    <?php
            $sse=mysqli_query($db,"select * from service ");
            while($rse=mysqli_fetch_row($sse))
            {

            ?>
                    <option value="<?php echo $rse[3];?>"><?php echo $rse[3];?></option>
                  <?php
            }
            ?>
                  </select>
                </div>
                <div class="input-field col-md-12">
                  <i class="twi-pen2"></i>
                  <textarea class="required" name="d" placeholder="Type Your Message"></textarea>
                </div>
                <!-- <div class="col-md-7 input-field">
                  <label>
                    <input type="checkbox" name="subscribe" value="Also subscribe us">
                    <span class="wpcf7-list-item-label">I Agree to get-e- mails about future conferences.</span>
                  </label>
                </div> -->
                <div class="modal-footer border-top-0 d-flex justify-content-center">
                  <button type="submit" name="sub12" class="qu_btn">Submit Now</button>
                  <div class="con_message"></div>
                </div>
              </form>
                            </div>
        </div>
        <!-- <div class="modal-footer border-top-0 d-flex justify-content-center">
          <button type="submit" class="qu_btn">Enquire Now</button>
        </div> -->
    </div>
  </div>
</div>

<?php
if(isset($_POST['sub12']))
{
    $a=addslashes($_POST['a']);
    $b=addslashes($_POST['b']);
    $c=addslashes($_POST['c']);
    $d=addslashes($_POST['d']);
    // $e=addslashes($_POST['e']);
    $da=date("y,m,d");




    

   
    $msg_w="\nName : $a\n Email : $b\n Subject : $c\n Message : $d\n ";
    $msg=urlencode($msg_w);


 
$link="https://api.whatsapp.com/send?phone=$ron2[6];?>&text=$msg";
      
       $res1=mysqli_query($db,"insert into  pub_enq values('0','$a','$b','$c','$d','$da')");
msg("Successfully added",$link);      
        
    }
?>






  <div class="icn2a " style="text-align: center; background-size: cover;">
      <a href="pickanddrop.php">
        <img src="pd.png" class="bounce2a" width="78px">
      </a>
</div> 















