 <div class="main-content">
	<div class="card-body">
		<div class="container-fluid">
			<div class="row">
				<div class="col-lg-12"> 
  <?php
    $base   = new load;
    $id     = $base->getID();
    $query = $this->db->query("select * from users where id = '$id'");
    $query->execute();
    $data = $query->fetchAll();
    foreach($data as $val){
?>
 <div class="qz-page-title">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12">
                    <div class="d-flex justify-content-between align-items-center">
                        <h2>Changer le mot de passe de l'utilisateur: <?= $val['name']?></h2>
                        <span class="sidebarToggler">
                            <i class="fa fa-bars d-lg-none d-block"></i>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End page title -->
    <!-- Start content area  -->
    <div class="qz-content-area">
        <div class="card add-category">
            <div class="card-body">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-8 offset-2">
                            <center><h4>Nom d'utilisateur: <?= $val['username']?></h4></center>
                            <br>
                            <form id="updateForms" role="form" method="post" class="form-horizontal" enctype="multipart/form-data">
								
								<div class="row">
									<div class="col-md-12">
										<div class="form-group">
											<label>Nouveau mot de passe</label>
											<div class="colsm">
											<input type="password" name="newpass" value="" class="form-control" required>
											</div>
										</div>
									</div>
									<div class="col-md-12">
										<div class="form-group">
											<label>Confirmer le mot de passe</label>
											<div class="colsm">
											<input type="password" name="cpass" value="" class="form-control" required>
											</div>
										</div>
									</div>
								</div>
								<input type="hidden" name="edit_id" value="<?=$val['id']?>">
                                <div class="row">
                                    <div class="col-lg-4">
										<div class="form-group">
											<button type="submit" onclick="updatepass('usersetting','<?=siteUrl;?>')"; class="btn btn-success" name="signup" value="Sign up" style="width: 100%;">Mettre à jour le mot de passe</button>
										</div>
										<br>
										<center><div id="showreq"></div></center>
                                    </div>
                                </div>
							</form>
						</div>
					</div>
                </div>
            </div>
        </div>
    </div>
	</div>
		</div>
		</div>
	</div>
</div>
		 
    <?php } ?>
<style>
div.fileva {
    position: relative;
    overflow: hidden;
    cursor: pointer !important;
    width: auto;
}
</style>
	