1
0
Fork 0
merge-requests/3/head
Christiaan Goossens 7 years ago
parent 316124aa26
commit 929f1773c7

@ -1,18 +1,5 @@
<?php include '__header.phtml'; ?>
<script>
function ChangeColor(tableRow, highLight) {
if (highLight) {
tableRow.style.backgroundColor = '#0094ff';
}
else {
tableRow.style.backgroundColor = 'white';
}
}
function DoNav(theUrl) {
document.location.href = theUrl;
}
</script>
<table class="table">
<tr>
<th>IBAN</th>
@ -22,8 +9,7 @@
<?php
foreach ($rekeningen as $rekening) {
?>
<tr onmouseover="ChangeColor(this, true);"
onmouseout="ChangeColor(this, false);" onclick="DoNav('transacties.phtml');">
<tr onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'">
<td><?php echo $rekening['iban']; ?></td>
<td><?php echo $rekening['saldo']; ?></td>
<td><?php echo "&euro;" . $rekening['nr']; ?></td>