1
0

Add berichten page, and authentication checks

This commit is contained in:
2017-03-30 19:36:22 +02:00
parent 4f47ae6a55
commit 516ced5152
7 changed files with 130 additions and 7 deletions

19
templates/berichten.phtml Normal file
View File

@ -0,0 +1,19 @@
<?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'; ?>