📄 booking-step-2.php

Size: 14,380 bytes
Path: /home/islandholiday/public_html/booking-step-2.php
Modified: 2025-01-28 17:01:58
<?php require_once "includes/sessions.php"; 
$Websettingsz1 = new Websettings();
    $Webfooter_get1= $Websettingsz1->getAllContacts();
    $webfooter_row1= $Webfooter_get1->fetch(PDO::FETCH_ASSOC);

    $Websettings_get_about1= $Websettingsz1->getAllAbout();
    $web_row_about1= $Websettings_get_about1->fetch(PDO::FETCH_ASSOC); 

 
    $Webslide_get= $Websettingsz1->getAllSlide();
    $webslide_row= $Webslide_get->fetch(PDO::FETCH_ASSOC);
$bg = 'admin/panel/uploads/slides/'.DecryptInput($webslide_row['image1']);
$active="Room";


     ?>

<!doctype html>
<html class="no-js" lang="eng"> 

<head>
    <title>Z Village Lodge - Zanzibar - Book Your Garden view Lodge in Paje</title>
    <?php include_once("includes/meta.includes.php");?>
</head>


<body>

<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->

<!-- preloader start -->
<!-- <div id="preloader">
    <div class="preloader-close">x</div>
    <div class="sk-three-bounce">
        <div class="sk-child sk-bounce1"></div>
        <div class="sk-child sk-bounce2"></div>
        <div class="sk-child sk-bounce3"></div>
    </div>
</div> -->
<!-- preloader start -->

<!-- Backtotop start -->
<div class="backtotop-wrap cursor-pointer">
    <svg class="backtotop-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102">
        <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" />
    </svg>
</div>
<!-- Backtotop end -->

<!-- Offcanvas area start -->
 <?php include_once("includes/Offcanvas.includes.php");?>

<!-- Offcanvas area start -->

<!-- Header area start -->
<?php include_once("includes/header-2.includes.php");?>


<main>
    
    <div class="breadcrumb__area dark-green breadcrumb-space overflow-hidden position-relative z-1" data-background="<?=$bg;?>">
        <div class="breadcrumb__shapes">
            <img class="upDown" src="assets/imgs/breadcrumb/shape.png" alt="img not found">
        </div>
        <div class="container">
            <div class="row align-items-center justify-content-between">
                <div class="col-12">
                    <div class="breadcrumb__content">
                        <div class="breadcrumb__title-wrapper mb-15 mb-sm-10 mb-xs-5">
                            <h1 class="breadcrumb__title color-white wow fadeInLeft animated" data-wow-delay=".2s">Booking Completed</h1>
                        </div>
                        <div class="breadcrumb__menu wow fadeInLeft animated" data-wow-delay=".4s">
                            <nav>
                                <ul>
                                    <li><span><a href="index.php">Home</a></span></li>
                                    <li class="active"><span>Booking Completed</span></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>





    <div class="si__contact__area section-space">
        <div class="container custom-width-2">
            <div class="row si__contact__bg">


                


                <!-- ======================================== -->
                <div class="col-lg-12">

                   
                        <div class="si__contact__text text-center">
                            <h1>We've Received Your Booking!</h1>
                            <p>Thank you for choosing us for your booking! We appreciate your trust in our services. Rest assured that your reservation is being processed. You will soon receive a confirmation email from our team. If you have any questions or need further assistance, feel free to reach out to us. We look forward to welcoming you!</p>
                        </div>
                       
                    
                </div>
                <!-- ======================================== -->


                 

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

                                                     



</main>

<div id="scroll-percentage"><span id="scroll-percentage-value"></span></div>

<!-- Footer area start -->
<footer>
    <section class="footer__area-common dark overflow-hidden position-relative z-1">
        <div class="container">
            <div class="footer2__top d-flex justify-content-between pt-80 pb-30">
                <div class="footer__logo wow fadeInLeft animated" data-wow-delay=".2s">
                    <a href="index.html">
                        <img src="assets/imgs/logo/logo-3.svg" alt="logo not found">
                    </a>
                </div>
                <div class="footer2__right d-flex wow fadeInLeft animated" data-wow-delay=".3s">
                    <div class="footer2__right-social d-flex">
                        <a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
                        <a href="https://instagram.com/"><i class="fa-brands fa-instagram"></i></a>
                        <a href="https://www.pinterest.com/"><i class="fa-brands fa-pinterest-p"></i></a>
                        <a href="https://vimeo.com/"><i class="fa-brands fa-vimeo-v"></i></a>
                    </div>
                </div>
            </div>
            <div class="row mb-minus-40 footer-wrap">
                <div class="col-lg-4">
                    <div class="footer__widget footer__widget-item-1">
                        <div class="footer__content footer__content-2">
                            <p>Sign up to Privates Weekly Newsletter to Get <br> The Latest Updates.</p>
                        </div>
                        <div class="footer__widget-from mt-25">
                            <input class="book__form-control book__form-control-2" type="email" name="email" placeholder="Your email...">
                            <a class="rr-btn-2" href="contact.html">Subscribe <i class="fa-solid fa-plus"></i></a>
                        </div>
                    </div>
                </div>

                <div class="col-lg-2 col-md-3 col-sm-6">
                    <div class="footer__widget footer__widget-item-2">
                    <div class="footer__widget-title footer__widget-title-2">
                        <h4>Quick Links</h4>
                    </div>
                    <div class="footer__link footer__link-2">
                        <ul>
                            <li><a href="about-us.html">About Us </a></li>
                                <li><a href="faq.html">Service</a></li>
                                <li><a href="service-details.html">Blog</a></li>
                                <li><a href="service.html">Contact Us</a></li>
                        </ul>
                    </div>
                </div>
                </div>

                <div class="col-lg-3 col-md-3 col-sm-6">
                    <div class="footer__widget footer__widget-item-3">
                    <div class="footer__widget-title footer__widget-title-2">
                        <h4>Services</h4>
                    </div>
                    <div class="footer__link footer__link-2">
                        <ul>
                                <li><a href="index-3.html">Rooms</a></li>
                                <li><a href="about-us.html">Restaurant</a></li>
                                <li><a href="service.html">Spa & Salon</a></li>
                                <li><a href="blog.html">Contact Us</a></li>
                        </ul>
                    </div>
                </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="footer__widget footer__widget-item-4">
                        <div class="footer__widget-title footer__widget-title-2">
                            <h4>Contact</h4>
                        </div>

                        <div class="footer__subscribe footer__subscribe-2 subscribe-2 d-flex mt-15">
                            <ul>
                                <li>
                                    <a href="https://www.google.com/maps">
                                        <h5 class="footer__subscribe-2-heading">Address</h5>
                                        <span class="mail mail-2">6391 Elgin St. Celina <br> Delaware 10299</span>
                                    </a>
                                </li>
                                <li class="gap-10">
                                    <h5 class="footer__subscribe-2-heading">Phone</h5>
                                    <a class="number" href="tel:406555-0120">(406) 555-0120</a>
                                </li>
                                <li>
                                    <a href="mailto:rrdevs@gmail.com">
                                        <h5 class="footer__subscribe-2-heading">Email</h5>
                                        <span class="text text-2">deanna.curtis@example.com</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="footer__bottom-wrapper dark">
            <div class="container">
                <div class="footer__bottom">
                    <div class="footer__copyright footer__copyright-2">
                        <p class="copy">© <a href="#">Yoursitename</a>  2024 | All Rights Reserved</p>
                    </div>

                    <div class="footer__copyright-menu footer__copyright-menu-2">
                        <ul>
                            <li><a href="about-us.html">Trams & Condition</a></li>
                            <li><a href="about-us.html">Privacy Policy</a></li>
                            <li><a href="about-us.html">Contact Us</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>
</footer>
<!-- Footer area end -->



<!-- JS here -->
<script src="assets/js/vendor/jquery-3.6.0.min.js"></script>
<script src="assets/js/plugins/waypoints.min.js"></script>
<script src="assets/js/vendor/bootstrap.bundle.min.js"></script>
<script src="assets/js/plugins/meanmenu.min.js"></script>
<script src="assets/js/plugins/swiper.min.js"></script>
<script src="assets/js/plugins/wow.js"></script>
<script src="assets/js/vendor/magnific-popup.min.js"></script>
<script src="assets/js/vendor/type.js"></script>
<script src="assets/js/vendor/vanilla-tilt.js"></script>
<script src="assets/js/plugins/nice-select.min.js"></script>
<script src="assets/js/vendor/odometer.min.js"></script>
<script src="assets/js/vendor/jquery-ui.min.js"></script>
<script src="assets/js/plugins/parallax-scroll.js"></script>
<script src="assets/js/plugins/jquery.countdown.min.js"></script>
<script src="assets/js/vendor/smooth-scroll.js"></script>
<script src="assets/js/plugins/isotope-docs.min.js"></script>
<script src="assets/js/plugins/slick.min.js"></script>
<script src="assets/js/vendor/ajax-form.js"></script>
<script src="assets/js/main.js"></script>
</body>

<?php

if (isset($_POST['submitnow'])) { 
                         $totalPrice = $_POST['totalPrice'];
                          $roomID = $_POST['roomID'];
                          $Checkinn = $_POST['Checkinn'];
                          $Checkout = $_POST['Checkout'];
                          $Adults = $_POST['Adults'];
                          $Kids = $_POST['Kids'];
                          $Adults = $_POST['Adults'];
                          $fullname = $_POST['fullname'];
                          $Clientemail = $_POST['Clientemail'];
                          $phone = $_POST['phone'];
                          $country = $_POST['country'];
                          $roomName = $_POST['roomName'];
                          $message = $_POST['message'];
                          $pricetype = $_POST['pricetype'];



                    $subject = 'Z Village Lodge  - Hotel Reservation ZV-HB';
                    //$add_bookings['last_id'];
                    $htmlEmail = " ";
                    //$bookingN=$add_bookings['last_id'];
                    //$subtotatl=$totalCoast2+$discount;
                        include("Email_Hotel_message.php");
                        include("phpmailerInclude.php");

                        // Unset all POST data
                        foreach ($_POST as $key => $value) {
                            unset($_POST[$key]);
                        };

                        
                    if (!$mail->send()) {
                        $Mstatus = 0;
                    } else {
                        $Mstatus = 1;
                    }

}
elseif (isset($_POST['submiContacttnow'])) {
                          $fullname = $_POST['fullname'];
                          $Clientemail = $_POST['Clientemail'];
                          $phone = $_POST['phone'];
                          $country = $_POST['country'];
                          $message = $_POST['message'];


                    $subject = 'Z Village Lodge  - Contact';
                    //$add_bookings['last_id'];
                    $htmlEmail = "Clientemail:".$Clientemail.
                    "<br/>fullname:".$fullname.
                    "<br/>phone:".$phone.
                    "<br/>country:".$country.
                    "<br/>country:".$country.
                    "<br/> Message: ".$message;
                    //$bookingN=$add_bookings['last_id'];
                    //$subtotatl=$totalCoast2+$discount;
                        
                        include("phpmailerInclude.php");


                        // Unset all POST data
                        foreach ($_POST as $key => $value) {
                            unset($_POST[$key]);
                        };


                    if (!$mail->send()) {
                        $Mstatus = 0;
                    } else {
                        $Mstatus = 1;
                    }
}
else{ 
    header("Location: index.php");
}

?>
<!-- Mirrored from html.sthemeit.com/boostay/room-details.html by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 29 Dec 2024 09:31:15 GMT -->
</html>