ok
Direktori : /home/importfo/public_html/aadharclasses.in/ |
Current File : /home/importfo/public_html/aadharclasses.in/soon.php |
<?php // include('admin/config.php'); // if(isset($_POST['isubmit'])){ // @$name=$_POST['name']; // @$number=$_POST['contact']; // @$std=$_POST['std']; // @$sname=$_POST['sname']; // @$add=$_POST['add']; // $sql="INSERT INTO `booking` ( `name`,`contact`,`std`,`sname`,`add`) VALUES ('$name','$number','$std','$sname','$add')"; // $res=mysqli_query($db,$sql); // if($res==1){ // echo ("<script LANGUAGE='JavaScript'>window.alert('Your Inquiry are sent Succesfully Our Team Contact Soon.... ');window.location.href='soon.php';</script>"); // header('Location:soon.php'); // } // else{ // echo ("<script LANGUAGE='JavaScript'>window.alert('Your Inquiry are Not Send ');</script>"); // } // } include('admin/config.php'); if(isset($_POST['isubmit'])) { error_reporting(0); $name=$_POST['name']; $std=$_POST['std']; $number=$_POST['contact']; $sname=$_POST['sname']; $add=$_POST['add']; $sql="INSERT INTO `booking` ( `name`,`contact`,`std`,`sname`,`add`) VALUES ('$name','$number','$std','$sname','$add')"; $res=mysqli_query($db,$sql); /* date_default_timezone_set('Asia/Kolkata'); $currentTime = date( 'd-m-Y h:i:s A', time () );*/ $to = "inddigmedia615@gmail.com"; $subject = "NTop Family Salon Enquiry Detail"; $message .= "<h4>Name : $name</h4>"; $message .= "<h4>Email : $std </h4>"; $message .= "<h4>Contact : $number </h4>"; $message .= "<h4>Dental Subject : $add </h4>"; $message .= "<h4>MSG : $sname </h4>"; $header = "From:$email \r\n"; /*$header .= "Cc:inddigmedia@gmail.com\r\n";*/ $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; $res = mail ($to,$subject,$message,$header); if($res==1){ echo ("<script LANGUAGE='JavaScript'>window.alert('Your Inquiry are sent Succesfully Our Team Contact Soon.... ');window.location.href='soon.php';</script>"); header('Location:soon.php'); } else{ echo ("<script LANGUAGE='JavaScript'>window.alert('Your Inquiry are Not Send ');</script>"); } } ?> <!DOCTYPE html> <html class="no-js" lang="zxx"> <head> <title>Inquiry | Aadhar Classes</title> <?php include('links.php') ?> <style> body{ transform: translate(0%, 25%); } .come{ display: flex; align-items: center; justify-content: center; flex-direction: column; } .come h1{ font-size:8rem; color:#31bba5; } h2{ color:#ee4a62; } .logo{ width:15%; } p{ font-size:3rem; } .come .shape-5{ position: absolute; right: 0; bottom: 0; } @media(max-width:1024px){ .come h1 { font-size: 4rem; color: #31bba5; text-align: center; } p{ font-size:1.5rem; } } @media(max-width:500px){ .logo{ width:25%; } } </style> </head> <body class="sticky-header "> <div id="main-wrapper" class="main-wrapper"> <!--=====================================--> <!--= Header Area Start =--> <!--=====================================--> <!--=====================================--> <!--= Breadcrumb Area Start =--> <!--=====================================--> <div class="edu-about-area about-style-3"> <div class="container"> <div class="come"> <!--<h2>This Course Is Adding</h2>--> <img src="assets/images/logo/logos.png" class="logo" width="10%"> <h1>Inquiry SuccessFully Send</h1> <p>Our Team Contact Soon..</p> <li class="shape-5"> <img class="rotateit" src="assets/images/about/shape-13.png" alt="Shape"> </li> </div> <div style="display:flex"> <a href="index.php" class="edu-btn btn-secondary" style="margin:auto">Back To Home<i class="icon-4"></i></a> </div> </div> <ul class="shape-group"> <li class="shape-5"> <img class="rotateit" src="assets/images/about/shape-13.png" alt="Shape"> </li> <!--<li class="shape-6">--> <!-- <span></span>--> <!--</li>--> </ul> </div> <!-- Start Footer Area --> <!-- End Footer Area --> </div> <?php include('javascript.php') ?> </body> </html>