/
/
home
/
u917864144
/
domains
/
humsafarholiday.com
/
public_html
EDITOR
/home/u917864144/domains/humsafarholiday.com/public_html/contact.php
SAVE
CLOSE
<?php include 'header.php'; if (isset($_POST['submit'])) { $name = $_POST['f_name']; $mobile_no = $_POST['mobile_no']; $date = $_POST['date']; $destination = $_POST['destination']; $message = $_POST['message']; $query = "INSERT INTO `messages`(`client_name`, `mobile_no`, `travel_date`, `destination`, `message`) VALUES ('$name','$mobile_no','$date','$destination','$message')"; $query_run = mysqli_query($con, $query); echo "<script> alert('Successfully Data Send'); document.location.href='index.php'; </script>"; } ?> <!-- Common Banner Area --> <section id="common_banner"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="common_bannner_text"> <h2>Contact</h2> <ul> <li><a href="index.php">Home</a></li> <li><span><i class="fas fa-circle"></i></span>Contact</li> </ul> </div> </div> </div> </div> </section> <!-- Contact Area --> <section id="contact_main_arae" class="section_padding mb-5"> <div class="container"> <!-- <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-12"> <div class="section_heading_center"> <h2>Contact with us</h2> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="phone_tuch_area"> <h3>Stay in touch</h3> <h3><a href="tel:+00-123-456-789">+00 123 456 789</a></h3> </div> </div> <div class="col-lg-3 col-md-6 col-sm-12 col-12"> <div class="contact_boxed"> <h6>Head office</h6> <h3>New Mexico</h3> <p>4140 Parker Rd. Allentown, New Mexico 31134</p> <a href="#" data-bs-toggle="modal" data-bs-target="#staticBackdrop">View on map</a> </div> </div> <div class="col-lg-3 col-md-6 col-sm-12 col-12"> <div class="contact_boxed"> <h6>Washington office</h6> <h3>Washington</h3> <p>4517 Washington Ave. Manchester, Kentucky 39495</p> <a href="#" data-bs-toggle="modal" data-bs-target="#staticBackdrop">View on map</a> </div> </div> <div class="col-lg-3 col-md-6 col-sm-12 col-12"> <div class="contact_boxed"> <h6>California office</h6> <h3>California</h3> <p>3891 Ranchview Dr. Richardson, California 62639</p> <a href="#" data-bs-toggle="modal" data-bs-target="#staticBackdrop">View on map</a> </div> </div> <div class="col-lg-3 col-md-6 col-sm-12 col-12"> <div class="contact_boxed"> <h6>Office schedule</h6> <h3>Working hours</h3> <p>Monday to Friday <br /> 9 am to 10pm</p> <a href="#" data-bs-toggle="modal" data-bs-target="#staticBackdrop">View on map</a> </div> </div> </div> --> <div> <div class="row"> <div class="col-lg-8 offset-lg-2"> <div class="section_heading_center"> <h2>Contact with us</h2> </div> <div class="contact_form"> <form action="" id="contact_form_content" method="POST"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <input type="text" id="f_name" name="f_name" class="form-control bg_input" placeholder="Full name*" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <input type="text" id="mobile_no" name="mobile_no" class="form-control bg_input" placeholder="Mobile number*" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <input type="date" id="date" name="date" class="form-control bg_input" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <input type="text" id="destination" name="destination" class="form-control bg_input" placeholder="Destination Place*" required> </div> </div> <div class="col-lg-12"> <div class="form-group"> <textarea id="message" name="message" class="form-control bg_input" rows="5" placeholder="Message*" required></textarea> </div> </div> <!-- Authorization Checkbox (Required) --> <div class="checkbox-group"> <input type="checkbox" id="authorize" name="authorize" required> <label for="authorize" class="checkbox-label"> I Authorize <strong>Humsafar Holiday</strong> to send notification via <strong>Email / WhatsApp / SMS / RCS</strong> </label> </div> <div class="col-lg-12"> <div class="form-group"> <button type="submit" id="send_btn" onclick="whatsapp()" name="submit" class="btn btn_theme btn_md">Send message</button> </div> </div> </div> </form> </div> </div> </div> </div> </div> </section> <!-- Cta Area --> <section class="mb-5 common_banner"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-12"> <div class="cta_left"> <div class="cta_content"> <h2>Mail to our support team</h2> <h4>Click Here Send Mail</h4> <div class="input-group mt-4"> <!-- <a href="mailto:humsafarholiday7@gmail.com"><h2>humsafarholiday7@gmail.com</h2></a> --> <input type="email" class="form-control" placeholder="Enter your mail address"> <a href="mailto:humsafarholiday7@gmail.com"> <button class="btn btn_theme btn_md" type="button" style="border: none;border-radius:0px 10px 10px 0px;">Send mail</button> </a> </div> </div> </div> </div> <!-- <div class="col-lg-5"> <div class="cat_form"> <form id="cta_form_wrappper"> <div class="cta_icon"> <img src="image/banner/mail_bg.png" alt="icon"> </div> </form> </div> </div> --> </div> </div> </section> <script> function whatsapp() { var f_name = document.getElementById("f_name").value; var mobile_no = document.getElementById("mobile_no").value; var date = document.getElementById("date").value; var destination = document.getElementById("destination").value; var message = document.getElementById("message").value; var whatsappurl = "https://api.whatsapp.com/send/?phone=%2B918980762489&text=" + "Full Name : *" + f_name + "*%0a" + "Mobile Number : *" + mobile_no + "*%0a" + "Travel Date : *" + date + "*%0a" + "Destination : *" + destination + "*%0a" + "Message : *" + message + "*&type=phone_number&app_absent=0"; window.open(whatsappurl, "_blank").focus(); } </script> <?php include 'footer.php' ?>
Ln 1, Col 1
FORMAT
WRAP
SAVE FILE
ONLINE
public_html
36 items
08:17:10
TERMINAL FM
×
NAVIGATION
Root
Parent Dir
Refresh
ACTIONS
New Folder
New File
Upload Files
New Symlink
SELECTION
Select All
Deselect
Delete Selected
NEW FOLDER
FOLDER NAME
NEW FILE
FILE NAME
UPLOAD FILES
Click to browse or drag & drop files
No files selected
RENAME
CURRENT NAME
NEW NAME
COPY FILE
SOURCE
DESTINATION NAME
CHMOD
FILE / FOLDER
CURRENT PERMISSIONS
NEW MODE (octal)
755 (rwxr-xr-x)
644 (rw-r--r--)
777 (rwxrwxrwx)
600 (rw-------)
444 (r--r--r--)
CONFIRM DELETE
You are about to delete:
This action is irreversible. All contents will be permanently removed.
NEW SYMLINK
LINK TARGET (path)
LINK NAME
Edit
Preview
Download
Rename
Copy
Chmod
Delete