D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
kavyaeventz.in
/
admin
/
Filename :
password_change.php
back
Copy
<?php include('include/header.php'); ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <div class="container-full"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="d-flex align-items-center"> <div class="me-auto"> <h4 class="page-title">Password Change</h4> <!--<div class="d-inline-block align-items-center">--> <!-- <nav>--> <!-- <ol class="breadcrumb">--> <!-- <li class="breadcrumb-item"><a href="#"><i class="mdi mdi-home-outline"></i></a></li>--> <!-- <li class="breadcrumb-item" aria-current="page">Pages</li>--> <!-- <li class="breadcrumb-item active" aria-current="page">Add Category</li>--> <!-- </ol>--> <!-- </nav>--> <!--</div>--> </div> </div> </div> <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header with-border"> <h4 class="box-title">Password Change</h4> </div> <!-- /.box-header --> <div class="box-body"> <form role="form" method="POST" action="passchange.php"> <?php $sql = "select * from admin where id = '".$_SESSION['admin_name']."'"; $query = mysqli_query($conn, $sql); $row = mysqli_fetch_array($query); ?> <!-- text input --> <div class="form-group"> <input class="form-control" type="hidden" value="<?= $_SESSION['admin_name'];?>" name="id" required> </div> <div class="form-group"> <label class="col-form-label">New password</label> <input class="form-control" type="text" name="new" required> </div> <div class="box-footer"> <button type="submit" class="btn btn-success" name="submit">Update</button> </div> </form> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> </div> <!-- /.content-wrapper --> <?php include('include/footer.php') ?>