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.
|
|
|
<div class="container">
|
|
|
|
<hr>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Themanaam</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['themanaam']?></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 "<td>".round($score, 0)."</td>";
|
|
|
|
}
|
|
|
|
echo "<td>".round($uitslag[$subgroep['id']]['total'], 0)."</td>";
|
|
|
|
?>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div
|
|
|
|
</div>
|