D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vitalityhealth
/
public_html
/
aa
/
invite
/
Filename :
sukhmaniprocessed3.php
back
Copy
<?php include 'cn.php'; $rand = $_GET['rand']; $query = "SELECT * FROM sukhmaniinv3 WHERE random = $rand"; $result = $con->query($query); $row = $result->fetch_assoc(); $baseURL = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']); $imageUrl = $baseURL.'/'.$row['image_path']; ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>Processed</title> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content="FREE INVITATION GENERATOR"> <link rel="shortcut icon" href="images/favicon.ico"><!-- Favicon Icon --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"><!-- Google Fonts --> <link rel="stylesheet" href="css/plugins.css"><!-- plugins Css --> <link rel="stylesheet" href="css/fonts-icons.css"><!-- Font Icons Css --> <link rel="stylesheet" type="text/css" href="css/style.css"><!-- Custom Css --> <link rel="stylesheet" type="text/css" href="css/helper.css"><!-- Helper Css --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body> <!-- Start PreLoader ================================================== --> <div id="pre-loader" class="pre-loader"> <div class="cube-wrapper"> <div class="cube-folding"> <span class="leaf1"></span> <span class="leaf2"></span> <span class="leaf3"></span> <span class="leaf4"></span> </div> <span class="loading" data-name="Loading">Loading</span> </div> <div class="pre-loader-logo"><span class="text-uppercase fw-2 text-white">FREE INVITATION GENERATOR</span></div> </div> <!-- End PreLoader ================================================== --> <!-- Start Header ================================================== --> <?php include("header.php");?> <!-- Start Get in touch today ================================================== --> <section id="contact" class="section bg-grey"> <div class="container"> <div class="row justify-content-center text-center mb-60"> <div class="col-lg-12"> <h2 class="text-black fw-3">Submit <strong class="fw-7">Your</strong> <span class="text-orange">Details</span></h2> </div> </div> <div class="row"> <div class="col-lg-12"> <!--<form action="send.php" method="post">--> <form action="sukhmani-sahib-path/temp3/preview.php" method="post"> <input type="hidden" name="id" value="<?php echo $row['id'] ?>"> <input type="hidden" name="rand" value="<?php echo $rand ?>"> <input type="hidden" name="image_url" value="<?php echo $imageUrl ?>"> <div class="row form-group pb-3"> <div class="col-lg-4"> <div class="form-group"> <label>Name</label> <div class="position-relative"> <input type="text" class="form-control" name="name" required> </div> </div> </div> <div class="col-lg-4"> <div class="form-group"> <label>Email</label> <div class="position-relative"> <input type="text" class="form-control" name="email" required> </div> </div> </div> <div class="col-lg-4"> <div class="form-group"> <label>Contact Number</label> <div class="position-relative"> <input type="text" class="form-control" name="contact" maxlength="10" required id="numericInput"> </div> </div> </div> </div> <script> document.getElementById('numericInput').addEventListener('input', function (e) { // Remove non-numeric characters using a regular expression this.value = this.value.replace(/[^0-9]/g, ''); }); </script> <div class="row"> <div class="col-lg-12"> <center> <button type="submit" name="submit" class="btn btn-send btn-blue">Submit<i class="far fa-paper-plane pl-3"></i></button> </center> </div> </div> </form> </div> </div> </section> <!-- End Get in touch today ================================================== --> <!-- Start Footer ================================================== --> <?php include("footer.php");?> <!-- End Footer ================================================== --> <!-- Start Back to Top ================================================== --> <a href="#" class="back-to-top" id="back-to-top"><span class="ti-arrow-up"></span></a> <!-- End Back to Top ================================================== --> <script src="js/jquery.min.js"></script><!-- jquery JS --> <script src="js/plugins.js"></script><!-- Plugins JS --> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBhS88E7WGYgrr2chM0z94OLBWKNDXxESk"></script><!-- Google Map JS --> <script src="js/app.js"></script><!-- Custom JS --> </body> </html>