hjkhhrtertererrrrrerrtertertertertertertert
bnmbnerterterterterterdfgdfgdfgdfgdfgdfgdfgdfgdfg
/
home4
/
digil8bw
/
kohinoorindiankrabi.restaurant
/
Upload FileeE
HOME
<?php ob_start(); include("config/config.php"); $nav="contact"; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Contact Us- Kohinoor Indian Restaurant</title> <meta name="keyword" content="Kohinoor Indian Krabi, Indian restaurant Krabi, Indian cuisine Krabi, restaurant Krabi, Indian food Krabi, Best Indian restaurant Krabi, Authentic Indian food Krabi, Indian vegetarian food Krabi, Indian spice Krabi, Indian seafood Krabi, Tandoori cuisine Krabi, Curry Krabi Naan Krabi, PIZZA Krabi, PASTA Krabi, Masala Krabi, Butter chicken Krabi, Biryani Krabi, PIZZA & PASTA in Krabi" /> <meta name="description" content="Welcome to Kohinoor Indian Krabi, where we serve authentic Indian cuisine in the heart of Krabi. Our restaurant offers a wide variety of Indian dishes, from exotic spices to mouth-watering curries and delicious tandoori specialties. Whether you are a vegetarian or seafood lover, our menu has something for everyone. Visit us today and experience the best Indian food in Krabi!" /> <link rel="icon" href="assets/images/icon/logo-icon.svg" type="image/gif" sizes="20x20"> <link rel="stylesheet" href="assets/css/all.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.css" /> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/css/boxicons.min.css"> <link rel="stylesheet" href="assets/css/bootstrap-icons.css"> <link rel="stylesheet" href="assets/css/jquery-ui.css"> <link rel="stylesheet" href="assets/css/swiper-bundle.css"> <link rel="stylesheet" href="assets/css/nice-select.css"> <link rel="stylesheet" href="assets/css/magnific-popup.css"> <link rel="stylesheet" href="assets/css/jquery.fancybox.min.css"> <link rel="stylesheet" href="assets/css/odometer.css"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.0.1/sweetalert.css"> </head> <body class="tt-magic-cursor"> <?php include_once("include/header.php") ?> <div class="breadcrumb-section"> <div class="breadcrumb-left-vec"> <img src="assets/images/icon/breadcumb-left-vec.svg" alt="breadcumb-left-vec"> </div> <div class="breadcrumb-right-vec"> <img src="assets/images/icon/breadcumb-right-vec.svg" alt="breadcumb-right-vec"> </div> <div class="container"> <div class="row d-flex justify-content-center align-items-center"> <div class="col-lg-12"> <h2 class="breadcrumb-title">Contact Us</h2> <nav aria-label="breadcrumb"> <ol class="breadcrumb d-flex"> <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 class="container"> <div class="contact-form mb-120 mt-120"> <div class="row d-flex align-items-center justify-content-center mb-40"> <div class="col-lg-8"> <div class="section-title text-center"> <span><img class="left-vec" src="assets/images/icon/sub-title-vec.svg" alt="sub-title-vec">Contact Us<img class="right-vec" src="assets/images/icon/sub-title-vec.svg" alt="sub-title-vec"></span> <h2>Get In Touch</h2> </div> </div> </div> <div class="row justify-content-center"> <div class="col-lg-10"> <form action="#" method="post"> <div class="row justify-content-center"> <div class="col-lg-12 col-md-12 mb-25"> <div class="form-inner"> <input type="text" required placeholder="Name*" name="name" id="name"> </div> </div> <div class="col-lg-6 col-md-6 mb-25"> <div class="form-inner"> <input type="text" required placeholder="Phone*" name="phone" id="phone"> </div> </div> <div class="col-lg-6 col-md-6 mb-25"> <div class="form-inner"> <input type="email" required placeholder="Email*" name="email" id="email"> </div> </div> <div class="col-lg-12"> <div class="form-inner"> <textarea required placeholder="Message ..." name="message" id="message"></textarea> </div> </div> <div class="col-lg-12 mb-40"> <!-- <div class="form-inner2"> <input type="checkbox" id="vehicle1" name="vehicle1" value="1"> <label for="vehicle1"> Please save my name, email for the next time when I comment. </label> </div> --> </div> <div class="col-lg-6 col-md-6"> <div class="form-inner"> <button type="submit" value="Submit" name="submit">Send Message</button> </div> </div> </div> </form> </div> </div> </div> </div> <div class="contact-map"> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3950.872141598995!2d98.83789741477953!3d8.012119294230162!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3051ea9e971d10fb%3A0x8653047d2bdaf393!2sKohinoor%20Indian%20Restaurant%20%26%20Pizza!5e0!3m2!1sen!2sin!4v1682748375155!5m2!1sen!2sin" style="border:0;" allowfullscreen loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> </div> <?php include_once("include/footer.php") ?> <script src="assets/js/jquery-3.6.0.min.js"></script> <script src="assets/js/jquery-ui.js"></script> <script src="assets/js/bootstrap.bundle.min.js"></script> <script src="assets/js/swiper-bundle.min.js"></script> <script src="assets/js/jquery.nice-select.js"></script> <script src="assets/js/jquery.fancybox.min.js"></script> <script src="assets/js/odometer.min.js"></script> <script src="assets/js/viewport.jquery.js"></script> <script src="assets/js/isotope.pkgd.min.js"></script> <script src="assets/js/SmoothScroll.js"></script> <script src="assets/js/jquery.nice-number.min.js"></script> <script src="assets/js/jquery.magnific-popup.min.js"></script> <script src="assets/js/imagesloaded.pkgd.js"></script> <script src="assets/js/masonry.pkgd.min.js"></script> <script src="assets/js/main.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-sweetalert/1.0.1/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 $message = ''; if (isset($_POST['email'])) { date_default_timezone_set('Asia/Kolkata'); $name = mysqli_real_escape_string($conn, $_REQUEST['name']); $phone = mysqli_real_escape_string($conn, $_REQUEST['phone']); $email = mysqli_real_escape_string($conn, $_REQUEST['email']); $message = mysqli_real_escape_string($conn, $_REQUEST['message']); $sql = "insert into contact set name='" . $name . "', phone='" . $phone . "',email='" . $email . "',message='" . $message . "',created='" . date("Y-m-d h:i:sa") . "'"; $query = mysqli_query($conn, $sql); if ($query) { $to = 'info@kohinoorindiankrabi.restaurant,pravipandey@gmail.com'; $subject = 'Contact Booking'; $message .= "Name : " . $_POST['name'] . "\n"; $message .= "Email : " . $_POST['email'] . "\n"; $message .= "Phone : " . $_POST['phone'] . "\n"; $message .= "Message : " . $_POST['message'] . "\n"; // Sending email if (mail($to, $subject, $message)) { echo '<script> setTimeout(function() { swal({ title: "Good Job!", text: "Mail Sent Successfully!", type: "success" }, function() { window.location = "contact.php"; }); }, 1000); </script>'; } else { echo '<script> setTimeout(function() { swal({ title: "Oops!", text: "Unable to send email. Please try again!", type: "Invalid" }, function() { window.location = "contact.php"; }); }, 1000); </script>'; } } } ?> </body> </html>