account.php 808 B

12345678910111213141516171819
  1. <?php require_once __DIR__.DIRECTORY_SEPARATOR.'header.php'; ?>
  2. <?php if(!$myUser->connected()) header('location: index.php'); ?>
  3. <div class="jumbotron">
  4. <div class="jumbotron-contents">
  5. <form method="POST" action="action.php?action=save_user&amp;id=<?php echo $myUser->id;?>">
  6. <h2>Mon profil</h2>
  7. <label for="password">Nouveau mot de passe</label>
  8. <input type="password" id="password" name="password" class="form-control"/>
  9. <label for="confirmPassword">Nouveau mot de passe (Confirmation)</label>
  10. <input type="password" id="confirmPassword" name="confirmPassword" class="form-control"/>
  11. <br/>
  12. <input class="btn btn-primary" type="submit" value="Enregistrer">
  13. </form>
  14. </div>
  15. </div>
  16. <?php require_once __ROOT__.'footer.php' ?>