You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1019 B
40 lines
1019 B
9 years ago
|
<div class="container">
|
||
|
<hr>
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
<table class="table table-hover">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>#</th>
|
||
|
<th>Subgroep</th>
|
||
|
<th>Groep</th>
|
||
|
<?php foreach ($spelgebieden as $spelgebied) {
|
||
|
echo "<th>".$spelgebied['naam']."</th>";
|
||
|
} ?>
|
||
|
<th>Totaal</th>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
<?php foreach ($subgroepen as $subgroep) { ?>
|
||
|
<tr>
|
||
|
<td><?php echo $subgroep['nummer']?></td>
|
||
|
<td><?php echo $subgroep['naam']?></td>
|
||
|
<td><?php echo $subgroep['groepsnaam']?></td>
|
||
|
<?php foreach ($spelgebieden as $spelgebied) {
|
||
|
if (isset($uitslag[$subgroep['id']][$spelgebied['id']])) {
|
||
|
$score = $uitslag[$subgroep['id']][$spelgebied['id']];
|
||
|
} else {
|
||
|
$score = 0;
|
||
|
}
|
||
|
echo "<th>".round($score, 2)."</th>";
|
||
|
}
|
||
|
echo "<th>".round($uitslag[$subgroep['id']]['total'], 2)."</th>";
|
||
|
?>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</tbody>
|
||
|
|
||
|
</table>
|
||
|
</div>
|
||
|
</div
|
||
|
</div>
|