1
0
This repository has been archived on 2017-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
informaticaD4P-2017/templates/index.phtml

22 lines
532 B
PHTML

<?php include '__header.phtml'; ?>
<table class="table">
<tr>
<th>IBAN</th>
<th>Saldo</th>
</tr>
<?php
foreach ($rekeningen as $rekening) {
?>
<tr class="clickable" onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'">
<td><?php echo $rekening['iban']; ?></td>
<td><?php echo "&euro;" . $rekening['saldo']; ?></td>
</tr>
<?php
}
?>
</table>
<?php include '__footer.phtml'; ?>