<?php include("header.php"); $status = ""; if(isset($_GET['status'])) { $status = $_GET['status']; } ?> <script> function old1(){ var a = document.getElementById("old_password"); if (a.type === "password") { a.type = "text"; } else { a.type = "password"; } } function new1(){ var b = document.getElementById("new_password"); if (b.type === "password") { b.type = "text"; } else { b.type = "password"; } } function confirm1(){ var c = document.getElementById("confirm_password"); if (c.type === "password") { c.type = "text"; } else { c.type = "password"; } } </script> <div class="content-body"><div class="auth-wrapper auth-v1 px-2"> <div class="auth-inner py-2"> <!-- Reset Password v1 --> <div class="card mb-0"> <div class="card-body"> <h4 class="card-title mb-1">Change Password 🔒</h4> <p class="card-text mb-2">Your new password must be different from previously used passwords</p> <form class="auth-reset-password-form mt-2" action="../action.php" method="POST"> <div class="form-group"> <div class="d-flex justify-content-between"> <label for="reset-password-new">Old Password</label> </div> <input type="password" class="form-control" name="old_password" id="old_password" autofocus required /> <input class="mt-2 mr-1" type="checkbox" onclick="old1()">Show Password </div> <div class="form-group"> <div class="d-flex justify-content-between"> <label for="reset-password-new">New Password</label> </div> <input type="password" class="form-control" name="new_password" id="new_password" required /> <input class="mt-2 mr-1" type="checkbox" onclick="new1()">Show Password </div> <div class="form-group"> <div class="d-flex justify-content-between"> <label for="reset-password-confirm">Confirm Password</label> </div> <input type="password" class="form-control" name="confirm_password" id="confirm_password" required /> <input class="mt-2 mr-1" type="checkbox" onclick="confirm1()">Show Password </div> <button class="btn btn-primary btn-block" name="edit_user_password" tabindex="3">Set New Password</button> </form> </div> </div> <!-- /Reset Password v1 --> </div> </div> </div> <?php include("footer.php"); ?>