parent
316124aa26
commit
929f1773c7
@ -1,18 +1,5 @@
|
|||||||
<?php include '__header.phtml'; ?>
|
<?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">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>IBAN</th>
|
<th>IBAN</th>
|
||||||
@ -22,8 +9,7 @@
|
|||||||
<?php
|
<?php
|
||||||
foreach ($rekeningen as $rekening) {
|
foreach ($rekeningen as $rekening) {
|
||||||
?>
|
?>
|
||||||
<tr onmouseover="ChangeColor(this, true);"
|
<tr onclick="document.location.href = 'rekeningen/<?php echo $rekening['nr'] ?>'">
|
||||||
onmouseout="ChangeColor(this, false);" onclick="DoNav('transacties.phtml');">
|
|
||||||
<td><?php echo $rekening['iban']; ?></td>
|
<td><?php echo $rekening['iban']; ?></td>
|
||||||
<td><?php echo $rekening['saldo']; ?></td>
|
<td><?php echo $rekening['saldo']; ?></td>
|
||||||
<td><?php echo "€" . $rekening['nr']; ?></td>
|
<td><?php echo "€" . $rekening['nr']; ?></td>
|
||||||
|
Reference in New Issue
Block a user