<?php
include($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/header.php');
include($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . '/Auth/nav.php');
?>
<form name="edit" action="<?php echo$_SERVER['PHP_SELF']; ?>" method="post">
<div class="container">
  <input type="hidden" name="id" value="<?php echo $_GET['id']; ?>">
  <input type="hidden" name="site" value="<?php echo $site; ?>">

  <p>&nbsp;</p>
  <div class="card border-warning mb-3">
    <div class="card-header">
      <div class="row">
        <div class="form-group col-sm-1">
        </div>
        <div class="form-group col-sm-7">
          <h3>Passwort ändern: <?php echo $userHeadline; ?></h3>
        </div>
        <div class="form-group col-sm-4">

        </div>
      </div>
    </div>
    <div class="card-body">
      <div class="row">
        <div class="form-group col-sm-1">
        </div>
        <div class="form-group col-sm-2">
          <label for="password">Passwort</label>
        </div>
        <div class="form-group col-sm-4">
          <input type="text" name="password" value="" class="form-control" id="password" placeholder="z.B.: 1#Password" required>
        </div>
        <div class="form-group col-sm-5">
        </div>
      </div>
    </div>
  </div>
  <p>&nbsp;</p>
  
  <?php 
    include ($_SERVER['DOCUMENT_ROOT'] . HOME_DIR . TEMPLATE_DIR . '/forms/footer.edit.php');
  ?>
  
</div>
</form>
<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>

