hjkhhrtertererrrrrerrtertertertertertertert
bnmbnerterterterterterdfgdfgdfgdfgdfgdfgdfgdfgdfg
/
home4
/
digil8bw
/
snowcrestresidency.com
/
Upload FileeE
HOME
<?php ob_start(); include("configuration/function-include.php"); $nav="contact"; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="description" content="Snowcrest Residency best hotel and resort in Manali, Shimla in Himachal Pradesh. Low Rates. Special Offers. Beautiful locations. Book Now."> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Snowcrest Residency - Hotel at Manali</title> <!-- <link rel="icon" href="img/core-img/favicon.png"> --> <link rel="stylesheet" href="style.css"> <style> .swal-footer { text-align: center !important; } </style> </head> <body> <?php include('include/header.php') ?> <div class="breadcrumb-area contact-breadcrumb bg-img bg-overlay jarallax" style="background-image: url(img/bg-img/18.jpg);"> <div class="container"> <div class="row"> <div class="col-12"> <div class="breadcrumb-content text-center mt-100"> <h2 class="page-title">Contact Us</h2> <nav aria-label="breadcrumb"> <ol class="breadcrumb justify-content-center"> <li class="breadcrumb-item"><a href="./">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Contact Us</li> </ol> </nav> </div> </div> </div> </div> </div> <section class="google-maps-contact-info"> <div class="container-fluid"> <div class="google-maps-contact-content"> <div class="row"> <div class="col-6 col-lg-3"> <div class="single-contact-info"> <i class="fa fa-phone" aria-hidden="true"></i> <h4>Phone</h4> <p>(+91) 70181 92690</p> <p>(+91) 98160 25631</p> </div> </div> <div class="col-6 col-lg-3"> <div class="single-contact-info"> <i class="fa fa-map-marker" aria-hidden="true"></i> <h4>Address</h4> <p>Snowcrest Residency V Chhaki Po Naggar Distt Kullu On Naggar Manali Road</p> </div> </div> <div class="col-6 col-lg-3"> <div class="single-contact-info"> <i class="fa fa-clock-o" aria-hidden="true"></i> <h4>Open time</h4> <p>10:00 am to 23:00 pm</p> </div> </div> <div class="col-6 col-lg-3"> <div class="single-contact-info"> <i class="fa fa-envelope-o" aria-hidden="true"></i> <h4>Email</h4> <p>hotelsnowcrestresidency@gmail.com</p> </div> </div> </div> <div class="google-maps"> <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13515.12009068958!2d77.1677424!3d32.1292426!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x9dcc2d739f37fe2a!2sHotel%20snow%20Crest%20Residency!5e0!3m2!1sen!2sin!4v1674038057513!5m2!1sen!2sin" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> </div> </div> </div> </section> <div class="roberto-contact-form-area section-padding-100"> <div class="container"> <div class="row"> <div class="col-12"> <div class="section-heading text-center wow fadeInUp" data-wow-delay="100ms"> <h6>Contact Us</h6> <h2>Leave Message</h2> </div> </div> </div> <div class="row"> <div class="col-12"> <div class="roberto-contact-form"> <form action="#" method="post"> <div class="row"> <div class="col-12 col-lg-6 wow fadeInUp" data-wow-delay="100ms"> <input type="text" name="name" id="name" required class="form-control mb-30" placeholder="Your Name"> </div> <div class="col-12 col-lg-6 wow fadeInUp" data-wow-delay="100ms"> <input type="text" name="subject" id="subject" required class="form-control mb-30" placeholder="Your Subject"> </div> <div class="col-12 col-lg-6 wow fadeInUp" data-wow-delay="100ms"> <input type="email" name="email" id="email" required class="form-control mb-30" placeholder="Your Email"> </div> <div class="col-12 col-lg-6 wow fadeInUp" data-wow-delay="100ms"> <input type="text" name="phone" id="phone" required class="form-control mb-30" placeholder="Your Phone"> </div> <div class="col-12 wow fadeInUp" data-wow-delay="100ms"> <textarea name="message" id="message" required class="form-control mb-30" placeholder="Your Message"></textarea> </div> <div class="col-12 text-center wow fadeInUp" data-wow-delay="100ms"> <button type="submit" class="btn roberto-btn mt-15">Send Message</button> </div> </div> </form> </div> </div> </div> </div> </div> <?php include('include/footer.php') ?> <script src="js/jquery.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/roberto.bundle.js"></script> <script src="js/default-assets/active.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script> <script> $(document).on('keypress', '#name', function(event) { var regex = new RegExp("^[a-zA-Z ]+$"); var key = String.fromCharCode(!event.charCode ? event.which : event.charCode); if (!regex.test(key)) { event.preventDefault(); return false; } }); $('#phone').on('input', function(event) { this.value = this.value.replace(/[^0-9]/g, ''); }); </script> <?php if (!empty($_POST['name'])) { $name = mysqli_real_escape_string($conn, $_POST['name']); $phone = mysqli_real_escape_string($conn, $_POST['phone']); $email = mysqli_real_escape_string($conn, $_POST['email']); $subject = mysqli_real_escape_string($conn, $_POST['subject']); $message = mysqli_real_escape_string($conn, $_POST['message']); $sql_insert = "insert into sh_contact_enquiry set name = '" . $name . "', phone = '" . $phone . "', subject = '" . $subject . "', email = '" . $email . "', message = '" . $message . "', insert_date = '" . date("Y-m-d h:i:sa") . "', status = '1'"; $query_insert = mysqli_query($conn, $sql_insert); if ($query_insert) { echo ' <script type="text/javascript"> $(document).ready(function(){ swal("Message sent!", "", "success"); }); </script> '; exit; } else { echo ' <script type="text/javascript"> $(document).ready(function(){ swal("Oops...", "Something went wrong :(", "error"); }); </script> '; exit; } } ?> </body> </html>