index of
/
home1
/
trainin6
/
public_html
/
anauthenticvillagefarm.in
/
File: /home1/trainin6/public_html/anauthenticvillagefarm.in/book_now_backup
<?php require('header.php') ?> <?php if (isset($_POST['submit'])) { if (verify_captcha($_POST['g-recaptcha-response'])) { $your_name = mysqli_real_escape_string($conn, trim($_POST['your_name'])); $number = mysqli_real_escape_string($conn, trim($_POST['number'])); $people = mysqli_real_escape_string($conn, trim($_POST['people'])); $room = mysqli_real_escape_string($conn, trim($_POST['room'])); $date = mysqli_real_escape_string($conn, trim($_POST['date'])); $message = mysqli_real_escape_string($conn, trim($_POST['message'])); $insert = "INSERT INTO `booking_info`(`name`,`contact_number`, `people`, `rooms`, `date`, `message`) VALUES ('$your_name','$number','$people','$room','$date','$message')"; $receiver = "goswamivaibhav72@gmail.com"; $subject = "BOOKING"; $body = " <table> <tr> <td colspan = '5' style = 'text-align:center'> <h3></h1> New Booking </h3></td> </tr> <tr> <td>Name</td> <td>$your_name</td> </tr> <tr> <td>Contact Number</td> <td>$number</td> </tr> <tr> <td>Total People</td> <td>$people</td> </tr> <tr> <td>Room</td> <td>$room</td> </tr> <tr> <td>Date</td> <td>$date</td> </tr> <tr> <td>Message</td> <td>$message</td> </tr> </table> "; if (mysqli_query($conn, $insert)) { if (send_mail($receiver, $body, $subject)) { echo "<script>alert('Booking Done Successfully. We Will Contact You As Soon As Possible') window.location.href = 'booking.php' </script>"; } else { echo "<script>alert('Booking Failed. Please Try Again Later') window.location.href = 'booking.php' </script>"; } } } else { echo "<script>alert('Captcha Verification Failed') window.location.href = 'booking.php' </script>"; } } ?> <!-- Start page content --> <div class="breadcrumbs-area bread-bg-1 "> <div class="container"> <div class="row"> <div class="col-12"> <div class="breadcrumbs"> <h2 class="breadcrumbs-title">Booking</h2> <ul class="breadcrumbs-list"> <li><a href="index.php">Home</a></li> <li>Booking</li> </ul> </div> </div> </div> </div> </div> <section id="page-content" class="page-wrapper"> <!-- CONTACT AREA START --> <div class="contact-area pt-115 pb-115"> <div class="container"> <div class="row"> <div class="col-md-5 col-12"> <!-- get-in-toch --> <div class="get-in-toch"> <div class="section-title mb-30"> <h2>BOOK NOW</h2> </div> <div class="contact-desc mb-50"> <p class="text-justify">AAV (An Authentic Village Farm) is a working model of sustainable livelihood and its economics is based on Cow. We try to showcase here how a Cow can bring considerable changes and prosperity in one’s life. If all agriculture land holders follow the practice of keeping desi cow, how the health, wealth and environment improves significantly. We feel this change in our lives and hence propagate this message.</p> </div> <ul class="contact-address"> <li> <div class="contact-address-icon"> <img src="img/location-2.png" alt=""> </div> <div class="contact-address-info"> <span style="width:250px">Simraha- Jamunia Road, Village- Gujarra Khurd, Post- Kumarra, Tehsil- Orchha, District- Niwadi Pin- 472246</span> <span>Nearest Railway Station- Jhansi (UP)</span> </div> </li> <li> <div class="contact-address-icon"> <img src="img/phone-3.png" alt=""> </div> <div class="contact-address-info"> <span>Telephone : 9935049906 </span> <span>Telephone : 9454059819</span> </div> </li> <li> <div class="contact-address-icon"> <img src="img/world.png" alt=""> </div> <div class="contact-address-info"> <span>Email : sanjay.pachori@gmail.com</span> <!-- <span>Web :<a href="#" target="_blank"> www.yoursite.com</a></span> --> </div> </li> </ul> </div> </div> <div class="col-md-7 col-12"> <div class="contact-messge booking-bg"> <div class="leave-review"> <h5>Booking</h5> <form method="post"> <div class="row"> <div class="col-12"> <input type="text" name="your_name" class="form-control" placeholder="Your Name" required> </div> <div class="col-12"> <input type="text" name="number" class="form-control" placeholder="Contact Number" required> </div> <div class="col-12"> <input type="text" name="people" class="form-control" placeholder="Number Of People" required> </div> <div class="col-12"> <input type="text" name="room" class="form-control" placeholder="Number Of Room" required> </div> <div class="col-12"> <input type="text" name="date" class="form-control" placeholder="Date" required> </div> <div class="col-12"> <textarea name="message" class="form-control" placeholder="Write here"></textarea> </div> <div class="col-12 d-flex justify-content-center pb-3"> <div class="g-recaptcha" data-sitekey="6Lcm2bAhAAAAAOHuKG67FNgk5-N6QonjIn6B3pTg"></div> </div> <div class="col-12 text-center"> <button type="submit" name="submit" class="submit-btn-1">SUBMIT</button> </div> </div> </form> </div> </div> </div> </div> </div> </div> <section class="container-fluid mb-5"> <div class="row"> <div class="col-12" data-aos="flip-up"> <h1 class="text-uppercase text-center"><span style=" color: #95C41F;">Terms</span> Of Services</h1> <div class="heading-style"> <p style="width:150px"> <span></span> <span></span> </p> </div> </div> </div> <div class="row pt-4 pb-4"> <div class="col-lg-6 col-12 pl-lg-5 pl-0"> <ul class="term-ul pl-lg-5 pl-0 p-2"> <li>We DO NOT allow unmarried couple to stay at our farm. Only Families and friends are WELCOME</li> <li>For your convenience and comfort please order food well in advance so that your demands can be fulfilled.</li> <li>We serve hot food from 8.00 am till 9.00 pm only, thereafter we keep the hot food in casseroles.</li> <li>We do not permit our guests to cook food or do any activity in our kitchen</li> <li>We do not permit outside food and discourage use of plastic.</li> <li>We do not cook or allow non vegetarian food.</li> <li>Yet, our property is pet friendly, but we do not allow pets to sleep on the beds.</li> <li>For security and safety reasons, access to pool area is limited from 6.00 AM till 8.00 PM</li> <li>Any damage to property, equipment, plants, trees, or any object caused by the guests will be suitably charged.</li> </ul> </div> <div class="col-lg-6 col-12 d-flex justify-content-center align-items-center"> <img src="img/terms-img.png"> </div> </div> </section> </section> <!-- End page content --> <?php require('footer.php') ?> </body> </html>