1
0
This commit is contained in:
Christiaan Goossens 2017-03-30 19:00:44 +02:00
parent 316124aa26
commit 929f1773c7

View File

@ -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>