<?php require( _ROOT . '/Views/_header.php' ); ?>








        <div class="content-wrapper">
          <div class="row">

            <div class="col-md-8 offset-md-2 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title text-center"  style="font-size:40px;" >WELCOME</h4>
                  <p class="card-description text-center"  style="font-size:30px;" >
                    
                    <br><br>
                    Bienvenu sur votre espace d'administration ! 

                    <br><br><hr><br>
                    <span class="text-center" style="font-size:20px; font-weight: bolder;"><?= $_ENV['APP_NAME'] ?></span>


<br/><br/><br/><br/><br/>
<?php if ($_SESSION['admin']['username'] == 'root'): ?>
  

<h2 class="text-center">Modifier votre mot de passe<b>(admin)</b></h2>
<br/>
              <form class="pt-1 mt-1" method="post">
                <div class="form-group">
                  <input type="password" name="password" class="form-control form-control-lg" id="exampleInputPassword1" placeholder="nouveau mot de passe">
                </div>
                <div class="mt-3">
                  <button name="submit" type="submit" class="btn btn-block btn-primary btn-lg font-weight-medium auth-form-btn">MODIFIER</button>
                </div>

              </form>
<?php endif ?>

                  </p>
                </div>
              </div>
            </div>

          </div>
        </div>
        <!-- content-wrapper ends -->










<?php require( _ROOT . '/Views/_footer.php' ); ?>