<?php include '__header.phtml'; ?>

<h2 class="page-header">Berichten</h2>

<?php foreach ($berichten as $bericht) {
    ?>
<div class="panel panel-default">
  <div class="panel-heading">
      <h3 class="panel-title"><?php echo $bericht['datum']; ?></h3>
      <small>Afzender: </small><?php echo $bericht['afzender']; ?></div>
  <div class="panel-body">
    <?php echo $bericht['bericht']; ?>
  </div>
</div>
<?php

} ?>

<?php include '__footer.phtml'; ?>
