Şuanki Dizin: /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/auth/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/auth/registration_new.php |
<?php require_once('../lib/functions.php'); $db = new class_functions(); $flag = 0; if(isset($_SESSION['current_login_admin'])) { $current_login_admin=$_SESSION['current_login_admin']; } if(isset($_POST['referred_by'])) { $status = "Pending"; $wallet_balance = 0; $company_name = $_POST['company_name']; $full_name = $_POST['full_name']; $phone_number = $_POST['phone_number']; $whatsapp_number = $_POST['whatsapp_number']; $email_address = $_POST['email_address']; $referred_by = $_POST['referred_by']; $country = $_POST['country']; $state = $_POST['state']; $district = $_POST['district']; $city = $_POST['city']; $address = $_POST['address']; $pin_code = $_POST['pin_code']; $your_locailty = $_POST['your_locailty']; $nearest_airport = $_POST['nearest_airport']; $primary_business = $_POST['primary_business']; $monthly_busines = $_POST['monthly_busines']; $secondary_business = $_POST['secondary_business']; $monthly_business = $_POST['monthly_business']; $pan_no = $_POST['pan_no']; $company_gst_no = $_POST['company_gst_no']; $online_ota_1 = ""; $online_ota_2 = ""; $series_ota_1 = ""; $series_ota_2 = ""; $password = $_POST['password']; $adhaar_no = $_POST['adhaar_no']; if($db->add_register($company_name,$full_name,$phone_number,$whatsapp_number,$email_address,$referred_by,$country,$state,$district,$city,$address,$pin_code,$status,$your_locailty,$nearest_airport,$primary_business,$monthly_busines,$secondary_business,$monthly_business,$pan_no,$company_gst_no,$online_ota_1,$online_ota_2,$series_ota_1,$series_ota_2,$password,$wallet_balance,$adhaar_no)) { $flag = 1; } } ?> <!doctype html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title><?php echo $project_name; ?></title> <!-- Favicon --> <link rel="shortcut icon" href="../images/<?php echo $logo; ?>" /> <!-- Library / Plugin Css Build --> <link rel="stylesheet" href="../../assets/css/core/libs.min.css" /> <!-- Hope Ui Design System Css --> <link rel="stylesheet" href="../../assets/css/hope-ui.min.css?v=2.0.0" /> <!-- Custom Css --> <link rel="stylesheet" href="../../assets/css/custom.min.css?v=2.0.0" /> <!-- Dark Css --> <link rel="stylesheet" href="../../assets/css/dark.min.css"/> <!-- Customizer Css --> <link rel="stylesheet" href="../../assets/css/customizer.min.css" /> <!-- RTL Css --> <link rel="stylesheet" href="../../assets/css/rtl.min.css"/> <link rel="stylesheet" href="../style.css"/> <style> .footer { text-align: center; /* Centers the entire footer block */ padding: 20px; /* Adds padding around the footer */ font-family: Arial, sans-serif; /* Font for the footer text */ font-size: 14px; /* Font size for the footer text */ color: #333; /* Text color */ } .footer-links { margin-bottom: 10px; /* Space between links and powered by text */ } .footer-links a { color:black; /* Link color */ text-decoration: none; /* Remove underline from links */ margin: 0 10px; /* Space between links */ } .footer-links a:hover { text-decoration: underline; /* Underline on hover */ } .footer-powered-by { color:black; /* Text color for powered by text */ } .footer-powered-by a { color: black; /* Link color for powered by link */ text-decoration: none; /* Remove underline from link */ } .footer-powered-by a:hover { text-decoration: underline; } </style> </head> <body class=" " data-bs-spy="scroll" data-bs-target="#elements-section" data-bs-offset="0" tabindex="0"> <!-- loader Start --> <div id="loading"> <div class="loader simple-loader"> <div class="loader-body"></div> </div> </div> <!-- loader END --> <div class="wrapper"> <section class="login-content"> <div class="row m-0 align-items-center bg-white"> <div class="col-md-12"> <div class="row justify-content-center"> <div class="col-md-10"> <div class="card card-transparent shadow-none d-flex justify-content-center mb-0 auth-card"> <div class="card-body"> <center><img src="../images/<?php echo $logo; ?>" class="software_logo" /></center> <br /> <h2 class="mb-2 text-center">Agent Registration </h2> <p class="text-center">Register Here.</p> <?php if($flag == 1) { ?> <div class="alert alert-success d-flex align-items-center" role="alert"> <svg class="flex-shrink-0 bi me-2 icon-24" width="24" height="24"> <use xlink:href="#exclamation-triangle-fill" /> </svg> <div>Registration Successful <a href="agent-signin.php" >Click Here to Login</a></div> </div> <?php } elseif($flag == 2) { ?> <div class="alert alert-warning d-flex align-items-center" role="alert"> <svg class="flex-shrink-0 bi me-2 icon-24" width="24" height="24"> <use xlink:href="#exclamation-triangle-fill" /> </svg> <div>Incorrect Password</div> </div> <?php } ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <div class="row"> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Company Name</label> <input type="text" name="company_name" class="form-control" id="address" placeholder="Enter Company Name" required /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Full Name</label> <input type="text" name="full_name" class="form-control" id="address" placeholder="Enter Full Name" required /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Phone Number</label> <input type="number" name="phone_number" class="form-control" id="address" placeholder="Enter Mobile Number " required /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Whatsapp Number</label> <input type="number" name="whatsapp_number" class="form-control" id="address" placeholder=" Enter Whatsapp Number" /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="phone" class="form-label">Adhaar Number</label> <input type="text" class="form-control" name="adhaar_no" id="phone" placeholder="Enter Adhaar Number" required/> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Email Address</label> <input type="email" name="email_address" class="form-control" id="address" placeholder="Enter Addess " required /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Referred By</label> <input type="text" name="referred_by" class="form-control" id="address" placeholder=" Enter Referred By" /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label" >Country</label> <select placeholder=" " class="form-control" name="country"> <option name="city" class="form-control" >select</option> <option value="india">India </option> <option value="afganistan">Afganistan</option> <option value="nepal">Nepal</option> <option value="bangladesh">Bangladesh</option> <option value="bhutan">Bhutan</option> </select> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label" >State</label> <select class="form-control" placeholder=" " name="state" > <option value="Select" >Select</option> <option value="MH">Maharashtra</option> </select> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label" >District</label> <select class="form-control" name="district" > <option value="Select" class="form-control" >Select</option> <option value="Solapur">Solapur </option> <option value="Pune">Pune</option> <option value="Mumbai">Mumbai</option> <option value="Kolhapur">Kolhapur</option> <option value="Sangli">Sangli</option> <option value="Nashik">Nashik</option> <option value="Nandurbar">Nandurbar</option> <option value="Dhule">Dhule</option> <option value="Jalgaon">Jalgaon</option> <option value="Buldana">Buldana</option> <option value="Thane">Thane</option> <option value="Latur">Latur</option> <option value="Bid">Bid</option> </select> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">City</label> <select class="form-control" name="city" > <option value="Select" class="form-control" >Select</option> <option value="Sangola">Sangola</option> <option value="Madha">Madha</option> <option value="Malshiras">Malshiras</option> <option value="Pandharpur">Pandharpur</option> <option value="Mangalvedha">Mangalvedha</option> <option value="Karmala">Karmala</option> <option value="Barshi">Barshi</option> <option value="Akkalkot">Akkalkot</option> <option value="South Solapur">South Solapur</option> <option value="North Solapur">North Solapur</option> <option value="Mohol">Mohol</option> </select> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Address</label> <input type="text" name="address" class="form-control" id="address" placeholder=" Enter Address" required/> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">PIN Code</label> <input type="number" name="pin_code" class="form-control" id="address" placeholder="Enter Pin Code " /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Specify Your Locailty</label> <input type="text" name="your_locailty" class="form-control" id="address" placeholder=" Enter Locality" /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Nearest Airport</label> <input type="text" name="nearest_airport" class="form-control" id="address" placeholder="Enter Nearest Airport " /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Primary Business</label> <input type="text" name="primary_business" class="form-control" id="address" placeholder="Enter Primary Business " /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Monthly Business</label> <input type="text" name="monthly_busines" class="form-control" id="address" placeholder="Enter Monthly Business " /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Secondary Business</label> <input type="text" name="secondary_business" class="form-control" id="address" placeholder="Enter Secondary Business " /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Monthly Business</label> <input type="text" name="monthly_business" class="form-control" id="address" placeholder="Enter Monthly Business " /> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">PAN No</label> <input type="text" name="pan_no" class="form-control" id="address" placeholder="Enter PAN No " required/> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label class="form-label">Company GST No</label> <input type="text" name="company_gst_no" class="form-control" id="address" placeholder="Enter Company GST No " /> </div> </div> <!--<div class="col-lg-3">--> <!-- <div class="form-group">--> <!-- <label for="phone" class="form-label">Online OTAs You Are Working With?</label>--> <!-- <input type="text" class="form-control" name="online_ota_1" id="phone" placeholder="Online OTA 1" />--> <!-- </div>--> <!-- </div>--> <!-- <div class="col-lg-3">--> <!-- <div class="form-group">--> <!-- <label for="phone" class="form-label">Online OTA 2</label>--> <!-- <input type="text" class="form-control" name="online_ota_2" id="phone" placeholder="Online OTA 2" />--> <!-- </div>--> <!-- </div>--> <!-- <div class="col-lg-3">--> <!-- <div class="form-group">--> <!-- <label for="phone" class="form-label">Series OTAs You Are Working With?</label>--> <!-- <input type="text" class="form-control" name="series_ota_1" id="phone" placeholder="Series OTA 1" />--> <!-- </div>--> <!-- </div>--> <!-- <div class="col-lg-3">--> <!-- <div class="form-group">--> <!-- <label for="phone" class="form-label">Sanglieries OTA 2</label>--> <!-- <input type="text" class="form-control" name="series_ota_2" id="phone" placeholder="Series OTA 2" />--> <!-- </div>--> <!-- </div>--> <div class="col-lg-3"> <div class="form-group"> <label for="phone" class="form-label">Password</label> <input type="text" class="form-control" name="password" id="phone" placeholder="password" required/> </div> </div> </div> <div class="d-flex justify-content-center" style="margin-top:-10px"> <button type="submit" name="submit "class="btn btn-primary">Submit Details</button> </div> <p class="mt-3 text-center"> Already Have An Account ? <a href="agent-signin.php" >Click Here</a> </p> </div> </form> </div> </div> </div> </div> </div> </div> </section> </div> <style type="text/css"> /* styles.css */ .support-label { font-weight: 600; color: black; width:900px; font-size: 16px; font-family: Arial, sans-serif; padding: 15px 30px; border-radius: 5px; display: inline-block; margin-left:-100px; } .support-label a { color: orangered; text-decoration: none; } </style> <!-- Library Bundle Script --> <script src="../../assets/js/core/libs.min.js"></script> <!-- External Library Bundle Script --> <script src="../../assets/js/core/external.min.js"></script> <!-- Widgetchart Script --> <script src="../../assets/js/charts/widgetcharts.js"></script> <!-- mapchart Script --> <script src="../../assets/js/charts/vectore-chart.js"></script> <script src="../../assets/js/charts/dashboard.js" ></script> <!-- fslightbox Script --> <script src="../../assets/js/plugins/fslightbox.js"></script> <!-- Settings Script --> <script src="../../assets/js/plugins/setting.js"></script> <!-- Slider-tab Script --> <script src="../../assets/js/plugins/slider-tabs.js"></script> <!-- Form Wizard Script --> <script src="../../assets/js/plugins/form-wizard.js"></script> <!-- AOS Animation Plugin--> <!-- App Script --> <script src="../../assets/js/hope-ui.js" defer></script> <script> let generatedOTP = ''; // Function to generate a random 6-digit OTP function generateOTP() { generatedOTP = Math.floor(100000 + Math.random() * 900000).toString(); alert("Your OTP is: " + generatedOTP); } // Function to verify the entered OTP function verifyOTP() { const enteredOTP = document.getElementById('otpInput').value; if (enteredOTP === generatedOTP) { alert("OTP verified successfully!"); // window.location.href = "../doctor_registration.php"; } else { alert("Incorrect OTP. Please try again."); } } document.getElementById('generateOTPBtn').addEventListener('click', generateOTP); document.getElementById('verifyOTPBtn').addEventListener('click', verifyOTP); document.getElementById('loginForm').addEventListener('submit', function(event) { const enteredOTP = document.getElementById('otpInput').value; if (enteredOTP !== generatedOTP) { event.preventDefault(); alert("Please verify OTP before submitting the form."); } }); </script> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4