63 lines
2.1 KiB
PHP
63 lines
2.1 KiB
PHP
<h5>Ambities</h5>
|
|
|
|
<p>gemiddelde score <?=$ambitie->gemscore.'%'?> <br>
|
|
minimaal <?=$ambitie->xijkpunten?>
|
|
<?=$labels['ijkpunten']?>
|
|
op <?=$ambitie->zprocent?>% of hoger.
|
|
<br>
|
|
<?=$ambitie->ambitievan ?>-ambitie
|
|
</p>
|
|
|
|
<hr/>
|
|
|
|
<h5>Resultaten</h5>
|
|
|
|
<p>Gemiddelde score <?=$totgem.'%';?>
|
|
<?=$ijkpuntenok?> <?=$labels['ijkpunten']?> op <?=$ambitie->zprocent?>% of hoger.
|
|
</p>
|
|
<p>Hoogst scorende <?=$labels['ijkpunt']?> is nummer <?=$welkehoogste?>
|
|
met een score van <?=$hoogstescore?>%
|
|
</p>
|
|
<p>Laagst scorende <?=$labels['ijkpunt']?> is nummer <?=$welkelaagste?>
|
|
met een score van <?=$laagstescore?>%
|
|
</p>
|
|
<hr />
|
|
|
|
<?php if ($scores){ ?>
|
|
|
|
<table style="table-layout:fixed; border-collapse:collapse; border:none; cellspacing:0px; font-family:Verdana, sans; font-size:0.7em"
|
|
id="<?=$tabelid?>">
|
|
<thead style="background-color:#6F0B3D !important;color:#ffffff;font-size:0.8em;font-weight:300">
|
|
<tr>
|
|
<th style="width: 30px;">nr</th>
|
|
<th style="width: 340px; padding-left:5px; text-align:left;"><?=$labels['ijkpunt']?> </th>
|
|
<th style="width: 90px;">gem. <br/>score (%)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody >
|
|
<?php foreach($scores as $score){
|
|
$kleur = $score->disabled == 'T' || $score->disablenvt == 'T' ? '#808080' : $score->kleurcode; ?>
|
|
|
|
<!-- // $gem =round($score->somscore / $score->num,1);
|
|
//$backgroundcolor =$score->kleurcode;
|
|
// if ($gem >50 )$backgroundcolor = "#fea719";
|
|
// if ($gem > 70) $backgroundcolor = "#15d029";
|
|
// if ($gem > 90) $backgroundcolor = "#1558d0";
|
|
?>
|
|
-->
|
|
<tr style="border-bottom: 1px solid #ebebeb" >
|
|
<td style="vertical-align:top" ><?=$score->nummer?></td>
|
|
<td style="vertical-align:top" ><?=$score->omschrijving?></td>
|
|
<td style="text-align:right; vertical-align:top; padding-right: 5px; color:#ffffff; background-color:<?=$kleur?> ">
|
|
<?php echo $score->disabled == 'T' ? 'uit' : ($score->disablenvt == 'T' ? 'nvt' : (isset($score->gem) ? $score->gem : '')) ?>
|
|
|
|
|
|
</td>
|
|
|
|
<?php ;} ; ?>
|
|
</tbody>
|
|
</table>
|
|
<?php ;} ;?>
|
|
<p></p>
|
|
<?=$kleurtabel?>
|