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

<table class="table">
    <tr>
        <th>IBAN</th>
        <th>Saldo</th>
        <!-- <th>TIJDELIJK</th> -->
    </tr>
    <?php
        foreach ($rekeningen as $rekening) {
            ?>
            <tr 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['nr']; ?></td> -->
            </tr>
            <?php

        }
    ?>
</table>

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