Şuanki Dizin: /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/change-password.php |
<?php require_once('lib/functions.php'); $db = new class_functions(); $flag = 0; if(isset($_GET['logout'])) { unset($_SESSION['current_login_admin']); } else if(isset($_SESSION['current_login_admin'])) { $phone_number = $_SESSION['current_login_admin']; } $flag=0; $confirm_password_error = ""; $current_password_error = ""; if(isset($_POST['submit'])) { $new_pass = $_POST['new_pass']; if($db->update_password($new_pass,$phone_number)) { $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_1; ?>" /> <!-- 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"/> </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-6"> <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">Change Password</h2> <form id="loginForm" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <div class="row"> <!-- <div class="col-lg-12"> <div class="form-group"> <label for="email" class="form-label">Old Password</label> <input type="text" name="password" class="form-control" aria-describedby="email" placeholder="old password" /> <?php echo $current_password_error; ?> </div> </div> --> <div class="col-lg-12"> <div class="form-group"> <label for="email" class="form-label">New Password</label> <input type="text" class="form-control" name="new_pass" aria-describedby="email" placeholder="New password" /> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="password" class="form-label">Confirm Password</label> <input type="text" class="form-control" id="otpInput" aria-describedby="password" name="confirmpassword" placeholder="Confirm Password" required /> <?php echo $confirm_password_error; ?> </div> <br> <div class="col-lg-12 d-flex justify-content-between"> <div class="form-check mb-3"> <input type="checkbox" class="form-check-input" id="customCheck1"> <label class="form-check-label" for="customCheck1">Remember Me</label> </div> </div> </div> <div class="d-flex justify-content-center" style="gap: 20px;"> <button type="submit" name="submit" class="btn btn-primary">Change Password</button> </div> </form> </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 class="col-md-6 d-md-block d-none bg-primary p-0 mt-n1 vh-100 overflow-hidden"> </div> </div> </section> </div> <!-- 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> </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