<?php
include($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/header.php');

?>
<form name="edit" action="<?php echo$_SERVER['PHP_SELF']; ?>" method="post">
<div class="container">
  <input type="hidden" name="id" value="<?php echo $_SESSION[ALLOW]; ?>">
  <input type="hidden" name="site" value="<?php echo $site; ?>">

  <hr>
  
  <div class="row">
    <div class="form-group col-sm-1">
    </div>
    <div class="form-group col-sm-7">
      <h3>Passwort ändern: <?php echo showHtmlEntities($row['first_name'] . ' ' . $row['last_name']); ?></h3>
    </div>
    <div class="form-group col-sm-4">
      
    </div>
  </div>

  <div class="alert alert-danger" role="alert">
    <div class="row">
      <div class="form-group col-sm-1">
      </div>
      <div class="form-group col-sm-2">
        <label for="password">Neues Passwort</label>
      </div>
      <div class="form-group col-sm-4">
        <input type="text" name="password" value="" class="form-control" id="password" autocomplete="off" required>
      </div>
      <div class="form-group col-sm-5">
        Min. 8 Zeichen, Gross -und Kleinbuchstaben, Zahlen und Sonderzeichen! <br>(0-9, a-Z, ?!#@&%$=/) 
      </div>
    </div>
  </div>
    
  <hr>
  
  <?php 
    include ($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/forms/footer.edit.php');
  ?>
  
</div>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<?php
include($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/footer.php');
?>
<script>
$('.datepicker').datepicker({
  format: 'dd-mm-yyyy',
  startDate: '-1y',
  startView: '0',
  todayHighlight: true,
  autoclose: true
})
</script>
</body>
</html>

