281 lines
8.4 KiB
PHP
281 lines
8.4 KiB
PHP
<style>
|
|
.kopje{
|
|
background-color: #d8a8bf;
|
|
border:none;
|
|
}
|
|
.linetop{
|
|
border-top:1px solid #ebebeb;
|
|
}
|
|
.int{
|
|
width : 24px;
|
|
text-align :right;
|
|
}
|
|
.naamveld{
|
|
width: 170px;
|
|
padding-left: 3px;
|
|
}
|
|
/* .blauw{
|
|
background-color:#1558d0;
|
|
color:#ffffff;
|
|
}
|
|
.groen{
|
|
background-color:#15d029;
|
|
color:#ffffff;
|
|
}
|
|
.oranje{
|
|
background-color:#fea719;
|
|
}
|
|
.rood{
|
|
background-color:#fe2219;
|
|
}*/
|
|
.lstable{
|
|
font-family : inherit;
|
|
font-size :inherit;
|
|
border-collapse :collapse;
|
|
border-spacing :0px;
|
|
}
|
|
</style>
|
|
|
|
|
|
<div style="font-family: Opensans, Arial,Verdana,sans; font-size: 10px">
|
|
<h4> <?=$instrument?>: resultaatmatrix</h4>
|
|
<hr/>
|
|
|
|
<table style=" font-family: inherit; font-size:inherit; border-collapse:collapse; border-spacing:0px;" >
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 20%"></th>
|
|
<th style="width: 30%"></th>
|
|
<th style="width: 20%"></th>
|
|
<th style="width: 20%"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr >
|
|
<td>Organisatie: </td>
|
|
<td><?php if($organisatie->soort === 4) {echo $organisatie->brin.'-'.$organisatie->naam;}
|
|
else{echo $organisatie->naam;}?></td>
|
|
<td>Versie:</td>
|
|
<td><?php if($info->vorm == 1){echo "schoolversie";} if($info->vorm ==2){echo "individuele versie";}?> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>Meting: </td>
|
|
<td><?=$info->naam?></td>
|
|
<td>Geldig vanaf:</td>
|
|
<td><?=$info->geldigvanaf?></td>
|
|
</tr>
|
|
<tr >
|
|
<td>Periode: </td>
|
|
<td><?=$info->periodenummer?></td>
|
|
<td>Geldig tot en met:</td>
|
|
<td><?=$info->geldigtm?></td>
|
|
|
|
</tr>
|
|
<tr >
|
|
<td>Scoretype:</td>
|
|
<td><?=$info->scoreomschrijving?></td>
|
|
<td>Printdatum: </td>
|
|
<td><?=$today?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php if($organisatie->soort != 4){echo "Gesorteerd per:";}?></td>
|
|
<td><?php if($organisatie->soort != 4){echo $criterium;}?></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<hr/>
|
|
|
|
<table style="font-family: inherit; font-size:inherit; table-layout: fixed; width:100%;border-collapse: collapse">
|
|
<col style="width:<?php echo($kopbreedte) ?>">
|
|
<colgroup>
|
|
<col style="width:<?php echo($kolombreedte) ?>" span="<?php echo (count($ijkpunten) + 1); ?>" >
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="kopje">
|
|
<th class="naamveld" style="text-align:left"><?php if ($tabel == 3 || ($tabel == 2 && $inzage >=256)) {echo "Medewerker"; } else {echo "Organisatie" ; } ; ?></th>
|
|
<?php foreach($ijkpunten as $ijkpunt) {
|
|
echo "<th class='int' style='text-align:center'>".$ijkpunt->nummer."</th>";
|
|
} ; ?>
|
|
<th class='int'> gem</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody >
|
|
<?php
|
|
if ($indelingen) {
|
|
foreach($indelingen as $indeling) {
|
|
if (isset($indeling->naam)){ ?>
|
|
|
|
<tr style="background-color: #930f50; color:#ffffff">
|
|
<td colspan="<?php echo (count($ijkpunten) + 2) ;?>"><?php echo $indeling->naam ; ?></td>
|
|
</tr>
|
|
<?php ;}; // if indeling->naam ?>
|
|
<tr>
|
|
<td colspan="<?php echo (count($ijkpunten) + 2) ;?>">
|
|
<?php
|
|
if($tabel == 1){
|
|
?>
|
|
<table style="width:100%; table-layout: fixed; font-family: inherit; font-size:inherit; border-collapse: collapse">
|
|
<col style="width: <?php echo($kopbreedte) ?>">
|
|
<colgroup>
|
|
<col style="width:<?php echo($kolombreedte) ?>" span="<?php echo (count($ijkpunten) + 1); ?>" >
|
|
</colgroup>
|
|
<tbody>
|
|
<?php
|
|
if ($indeling->organisaties) {
|
|
foreach($indeling->organisaties as $organisatie) {
|
|
if($organisatie->subject != 'gemiddeld'){?>
|
|
<tr style="border-bottom:1px solid #efefef">
|
|
<td class="naamveld " style="font-size:0.8em; width:130px; overflow-x:hidden; ">
|
|
<?php
|
|
if (isset($organisatie->brin)){
|
|
|
|
echo $organisatie->brin.'-'.$organisatie->subject;
|
|
}
|
|
else {echo $organisatie->subject;};
|
|
?>
|
|
</td>
|
|
<?php
|
|
if ($organisatie->results) {
|
|
foreach($organisatie->results as $result){ ?>
|
|
<td class= 'int'
|
|
style="width:30px; color:#ffffff; background-color:<?=$result->colorcode?>"><?=$result->gem?>
|
|
</td>
|
|
<?php };
|
|
}; // if scores
|
|
?>
|
|
</tr>
|
|
<?php };
|
|
if($organisatie->subject == 'gemiddeld'){?>
|
|
<tr style="border-bottom:1px solid #efefef; border-top: 8px solid white">
|
|
<td class="naamveld" style="font-size:0.8em; width:130px; overflow-x:hidden; ">
|
|
<?php
|
|
echo $organisatie->subject;
|
|
|
|
?>
|
|
</td>
|
|
<?php
|
|
if ($organisatie->results) {
|
|
foreach($organisatie->results as $result){
|
|
$bgcolor = "#ffffff";
|
|
if (isset($result->colorcode)) $bgcolor = $result->colorcode;
|
|
?>
|
|
|
|
<td class= 'int'
|
|
style="width:30px; color:#ffffff; background-color:<?=$bgcolor?>">
|
|
<?=$result->gem?>
|
|
</td>
|
|
<?php };
|
|
}; // if scores
|
|
?>
|
|
</tr>
|
|
<?php };}; } ;?>
|
|
</tbody>
|
|
</table>
|
|
<?php ;} ; ?>
|
|
<!-- //if tabel == 1: alle rijen laten zien-->
|
|
|
|
<?php
|
|
if($tabel == 2){
|
|
?>
|
|
<table style="width:100%; table-layout: fixed; font-family: inherit; font-size:inherit; border-collapse: collapse">
|
|
<col style="width: <?php echo($kopbreedte) ?>">
|
|
<colgroup>
|
|
<col style="width:<?php echo($kolombreedte) ?>" span="<?php echo (count($ijkpunten) + 1); ?>" >
|
|
</colgroup>
|
|
<tbody>
|
|
<?php
|
|
if ($indeling->organisaties) {
|
|
foreach($indeling->organisaties as $organisatie) {
|
|
if($organisatie->subject == 'gemiddeld'){?>
|
|
|
|
<tr style="border-bottom:1px solid #efefef">
|
|
<td class="naamveld" style="font-size:0.8em; width:130px; overflow-x:hidden">
|
|
<?php
|
|
if(isset($organisatie->brin)){
|
|
echo $organisatie->brin . '-' . $organisatie->naam;
|
|
}
|
|
else{
|
|
echo $organisatie->naam;
|
|
}?>
|
|
</td>
|
|
<?php
|
|
if ($organisatie->results) {
|
|
foreach($organisatie->results as $result){ ?>
|
|
<td class= 'int'
|
|
style="width:30px; color:#ffffff; background-color:<?=$result->colorcode?>"><?=$result->gem?>
|
|
</td>
|
|
<?php };
|
|
}; // if scores
|
|
?>
|
|
</tr>
|
|
<?php ;};} } ;?>
|
|
</tbody>
|
|
</table>
|
|
<?php ;} ?>
|
|
<!-- //if tabel == 2: geen individuele scores tonen-->
|
|
|
|
<?php
|
|
if($tabel == 3){
|
|
?>
|
|
<table style="width:100%; table-layout: fixed; font-family: inherit; font-size:inherit; border-collapse: collapse">
|
|
<col style="width: <?php echo($kopbreedte) ?>">
|
|
<colgroup>
|
|
<col style="width:<?php echo($kolombreedte) ?>" span="<?php echo (count($ijkpunten) + 1); ?>" >
|
|
</colgroup>
|
|
<tbody>
|
|
<?php
|
|
if ($indeling->organisaties) {
|
|
foreach($indeling->organisaties as $organisatie) {
|
|
if($organisatie->subject == 'gemiddeld' || $organisatie->fvid == $eigenfvid){?>
|
|
|
|
<tr style="border-bottom:1px solid #efefef">
|
|
<td class="naamveld" style="font-size:0.8em; width:130px; overflow-x:hidden">
|
|
<?php
|
|
echo $organisatie->subject;
|
|
?>
|
|
</td>
|
|
<?php
|
|
if ($organisatie->results) {
|
|
foreach($organisatie->results as $result){ ?>
|
|
<td class= 'int'
|
|
style="width:30px; color:#ffffff; background-color:<?=$result->colorcode?>"><?=$result->gem?>
|
|
</td>
|
|
<?php };
|
|
}; // if scores
|
|
?>
|
|
</tr>
|
|
<?php ;}; };} ;?>
|
|
</tbody>
|
|
</table>
|
|
<?php ;} ?>
|
|
<!-- if tabel == 3: alleen individuele scores + schoolgemiddelde tonen-->
|
|
</td>
|
|
</tr>
|
|
<?php ;}; };?>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h4 style="margin-top:30px">Legenda <?=$labels['ijkpunten']?></h4>
|
|
<table class="lstable">
|
|
<tr style="background-color:#efefef" >
|
|
<td> nr</td>
|
|
<td> <?=$labels['ijkpunt']?></td>
|
|
</tr>
|
|
<?php foreach($ijkpunten as $ijkpunt){?>
|
|
<tr>
|
|
<td style="padding-left: 3px; padding-right: 3px"><?= $ijkpunt->nummer?></td>
|
|
<td><?= $ijkpunt->omschrijving?></td>
|
|
</tr>
|
|
<?php }; ?>
|
|
</table>
|
|
<h4><?=$kleurlegenda?></h4>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|