Add berichten page, and authentication checks
This commit is contained in:
19
templates/berichten.phtml
Normal file
19
templates/berichten.phtml
Normal 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'; ?>
|
Reference in New Issue
Block a user