39 lines
1.5 KiB
PHP
39 lines
1.5 KiB
PHP
<table style="font-size:0.7em;table-layout: fixed; width:700px;border-collapse: collapse"
|
|
id = "<?=$tabelid?>" >
|
|
<thead style="background-color: #6f0b3d; color:#ffffff">
|
|
<tr class="kopje">
|
|
<th class="naamveld" style="text-align:left ; width: 190px"><?php if ($versievorm == 1) {echo "Organisatie"; } else {echo "Medewerker" ; } ; ?></th>
|
|
<?php foreach($ijkpunten as $ijkpunt) {
|
|
echo "<th class='int' style='text-align:center; width:30px'>".$ijkpunt->nummer."</th>";
|
|
} ; ?>
|
|
<th class='int' style='text-align:center; width:30px'> gem</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody >
|
|
<?php if ($lks){
|
|
foreach($lks as $lk){ ?>
|
|
|
|
<tr style="border-bottom:1px solid #efefef">
|
|
<td class="naamveld" style="font-size:0.8em; overflow-x:hidden">
|
|
<?php
|
|
if ($versievorm == 1 && isset($lk->brin) ) {
|
|
echo $lk->brin.'-'.$lk->fullname;}
|
|
else {echo $lk->fullname;};
|
|
?>
|
|
</td>
|
|
<?php
|
|
if ($lk->scores) {
|
|
foreach($lk->scores as $result){
|
|
$tekst = number_format($result->gem,0);
|
|
if($result->disablenvt == 'T') $tekst = 'nvt';
|
|
if($result->disabled == 'T') $tekst = 'uit';
|
|
echo "<td style='background-color:".$result->colorcode." ; color:#ffffff;text-align:right; padding-right:1px '>".$tekst."</td>";
|
|
};?>
|
|
<td style="background-color: <?=$lk->colorcode?>; color:#ffffff;text-align:right; padding-right:1px" ><?=$lk->lkgem?></td>
|
|
<?php }; // if scores ?>
|
|
</tr>
|
|
<?php ;}; } ;?>
|
|
</tbody>
|
|
</table>
|