Şuanki Dizin: /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/auth/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/auth/contact-us.php |
<?php require_once('../lib/functions.php'); $db = new class_functions(); $flag = 0; $user_type="agent"; if(isset($_GET['logout'])) { unset($_SESSION['current_login_admin']); } if(isset($_POST['phone_number'])) { $phone_number = $_POST['phone_number']; $password = $_POST['password']; $db_password = $db->get_phone_number_from_user_empcode($phone_number); if($db_password=="") { $flag = 1; } if($flag == 0) { if($db_password==$phone_number) { $_SESSION['current_login_admin'] = $phone_number; $_SESSION['login_user_type']= "agent"; header("location:../index.php"); /* ?> <script> window.location="dashboard.php"; </script> <?php */ } else { $flag = 2; } } } ?> <!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 vh-100"> <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">Contact Us</h2> <a href="agent-signin.php" style="color:orangered;"> <<- Back To Login/Register</a> <br /> <br /> <h3 style="text-align:center; color:green;"> Contact No : +91 0011223344 , +91 0011223344 <br /> <br /> Email : contact@b2bflight.com </h3> <br /> <br /> </div> </div> </div> </div> <div class="sign-bg"> <svg width="280" height="230" viewBox="0 0 431 398" fill="none" xmlns="http://www.w3.org/2000/svg"> <g opacity="0.05"> <rect x="-157.085" y="193.773" width="543" height="77.5714" rx="38.7857" transform="rotate(-45 -157.085 193.773)" fill="#3B8AFF"/> <rect x="7.46875" y="358.327" width="543" height="77.5714" rx="38.7857" transform="rotate(-45 7.46875 358.327)" fill="#3B8AFF"/> <rect x="61.9355" y="138.545" width="310.286" height="77.5714" rx="38.7857" transform="rotate(45 61.9355 138.545)" fill="#3B8AFF"/> <rect x="62.3154" y="-190.173" width="543" height="77.5714" rx="38.7857" transform="rotate(45 62.3154 -190.173)" fill="#3B8AFF"/> </g> </svg> </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