/home3/vehiclea/public_html/admin-appleiitfoundationschools-com/change_password.php
<?php
  include('include/header.php');
  if(!empty($_POST['submit'])){
    change_password();
  }
  
?>
<main id="main" class="main">
  <div class="pagetitle">
  <h1>School Data</h1>
  <nav>
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="index.php">Home</a></li>
      <li class="breadcrumb-item active">Change Password</li>
    </ol>
  </nav>
</div>
<section class="section">
  <div class="row">
    <div class="col-lg-12">
       <div class="card">
         <div class="card-body">
           <h5 class="card-title">Change Password</h5>
           <?php
              $ChangeAdminPassword = ChangeAdminPassword();
              $adminData = mysqli_fetch_array($ChangeAdminPassword);

               if(!empty($_GET['upd'])){
              ?>
              <div align="center"><h4 style="color:green;">Change Password Successfully </h4></div>
              <?php
            }
            ?>
            <form  method="post" onsubmit="return change_password()">
              <div class="col-md-6">
                <label for="exampleInputEmail1" class="form-label">User Name</label>
                <input type="text" class="form-control" id="username" name="username" value="<?= $_SESSION['user']?>" readonly>
                
            </div>
              <div class="col-md-6">
                  <label for="exampleInputEmail1" class="form-label">Password</label>
                  <input type="text" class="form-control" id="password" name="password" value="<?= $adminData['password']?>">
            
               </div>
               <div class="mt-4">
                <input type="submit" class="btn btn-primary" value="Update" name="submit">
                </div> 
            </form>
         </div>
       </div>
    </div>
  </div>
</section>
</main>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>

  <script>
    function change_password()
    {
      
        var password = $('#password').val();
        
       
        if(password == '')
        {
          swal('Please Enter Password');
          return false;
        }
      
       
        else{
          return true;
        }
    }
  </script> 
<?php
  include('include/footer.php');
?>
@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File