93 lines
3.2 KiB
PHP
93 lines
3.2 KiB
PHP
<link rel="stylesheet" href="<?=base_url()?>css/ijkpartituur/reports.css" type="text/cs">
|
|
|
|
<?php if(isset($pdf)): ?>
|
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
|
<?php endif ;?>
|
|
|
|
<?php if(isset($pdf)): ?>
|
|
<head>
|
|
</head>
|
|
<body style= "font-family:'Open Sans', sans; font-size:11px;">
|
|
|
|
<?php endif ; ?>
|
|
<header style="display:none">
|
|
<!-- dit stukje van header moet worden opgenomen om het logo-image in de header af te drukken
|
|
vanwege asynchrone afhandeling wordt de image anders niet op tijd geladen -->
|
|
<img src="<?=base_url()?>css/images/frameworklogo30.png" height="30" />
|
|
</header>
|
|
<!-- onderstaaande div om all standaard opmaak aan te hangen -->
|
|
<div class="reportdiv" style="width:1200px; " >
|
|
<div style="border:2px solid #975796; padding:5px; ">
|
|
<p>SELECTIECRITERIA</p>
|
|
<p></p>
|
|
<p>Toon de schoolbeelden:</p>
|
|
<?php foreach($beelden as $beeld){echo $beeld->omschrijving.'; ' ;}; ?>
|
|
</div>
|
|
<p> </p>
|
|
<p> </p>
|
|
|
|
<table style="layout:fixed;cell-spacing:0px; border-collapse:collapse">
|
|
<thead>
|
|
<tr>
|
|
<td style="width:160px"> </td>
|
|
<?php foreach($beelden as $beeld) {
|
|
echo "<td colspan=4 style='text-align:center'>".$beeld->omschrijving."</td>" ;
|
|
}; ?>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="min-width:160px">ijkpunt</td>
|
|
<?php foreach($beelden as $beeld){ ?>
|
|
<td class="nump2" style="background-color: <?=$kleurcodes->kleur1?>;border-left:2px solid #975796; color:#ffffff" >1</td>
|
|
<td class="nump2" style="background-color:<?=$kleurcodes->kleur2?>; color:#ffffff" data-bind="style:{backgroundColor: kleurcodes() ? kleurcodes().kleur2 : '#ebebeb'}">2</td>
|
|
<td class="nump2" style="background-color: <?=$kleurcodes->kleur3?>; color:#ffffff" data-bind="style:{backgroundColor: kleurcodes() ? kleurcodes().kleur3 : '#ebebeb'}">3</td>
|
|
<td class="nump2" style="background-color:<?=$kleurcodes->kleur4?>; color:#ffffff" data-bind="style:{backgroundColor: kleurcodes() ? kleurcodes().kleur4 : '#ebebeb'}">4</td>
|
|
<?php ;}; ?>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach($pijlers as $pijler){ ?>
|
|
<tr>
|
|
<td style="width: 180px"><?=$pijler->naam?></td>
|
|
<?php for ($i=0; $i < $aantal; $i ++){ ?>
|
|
|
|
<td class="nump0" style="border-left:2px solid #000">
|
|
<?php if($pijler->score[$i] ==1){ ?>
|
|
<div class='cirkel<?=$pijler->score[$i]?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->score[$i] ==2){ ?>
|
|
<div class='cirkel<?=$pijler->score[$i]?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->score[$i]==3){ ?>
|
|
<div class='cirkel<?=$pijler->score[$i]?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->score[$i] ==4){ ?>
|
|
<div class='cirkel<?=$pijler->score[$i]?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
|
|
|
|
<?php ;}; ?>
|
|
</tr>
|
|
<?php ;}; ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p> </p>
|
|
<p> </p>
|
|
<div style="width: 650px">
|
|
<?php foreach($descriptions as $description){
|
|
echo '<p><u>'.$description->header.'</u></p>';
|
|
echo '<p>'.$description->tekst.'</p>';
|
|
} ; ?>
|
|
</div>
|
|
</div>
|
|
<?php if(isset($pdf)): ?>
|
|
</body>
|
|
<?php endif ; ?>
|