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

<table class="table">
    <tr>
        <th>IBAN</th>
        <th>Saldo</th>
		<th>Rekeningtype</th>
		<th>Rente</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>
				<td><?php echo $rekening['naam']; ?></td>
				<td><?php echo $rekening['rente']; ?></td>
            </tr>
            <?php

        }
    ?>
</table>

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