95 lines
4.1 KiB
PHP
95 lines
4.1 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:635px; " >
|
|
<div style="border:2px solid #975796; padding:5px; ">
|
|
<p>SELECTIECRITERIA</p>
|
|
<p></p>
|
|
<p>organisaties</p>
|
|
|
|
</div>
|
|
<p> </p>
|
|
<?php foreach($orgs as $org){ ?>
|
|
<div class="paarskop" ><?=$org->naamkort ?>-<?=$org->plaats ?></div>
|
|
<?php if ($org->users) { ?>
|
|
<table>
|
|
<thead>
|
|
<tr style="background-color:#f99443;">
|
|
<td style="width:30%"> naam </td>
|
|
<td style="width:20%"> email </td>
|
|
<td style="width:20%"> gebruikersnaam </td>
|
|
<td style="width:20%"> rechten</td>
|
|
</tr>
|
|
</thead>
|
|
<?php foreach($org->users as $user) { ?>
|
|
<tr>
|
|
<td style="vertical-align:top"><?=$user->fullname?></td>
|
|
<td style="vertical-align:top"><?=$user->email?></td>
|
|
<td style="vertical-align:top"><?=$user->user_name?></td>
|
|
<td style="vertical-align:top">
|
|
<?php if ($user->rechten) {
|
|
foreach($user->rechten as $recht){ echo $recht.'; ' ;}
|
|
} else { echo "geen rechten"; }; ?>
|
|
</td>
|
|
</tr>
|
|
<?php ; }; ?> <!-- foreach -->
|
|
</table>
|
|
<?php ;}
|
|
else { ?>
|
|
geen gebruikers
|
|
<?php ;} ; ?>
|
|
<?php ;}; ?> <!-- for each -->
|
|
<!-- <ul id="gebruiker-header">
|
|
<?php if($users): ?>
|
|
<?php foreach($users as $user): ?>
|
|
<li>
|
|
<ul>
|
|
<li class="gebruiker">
|
|
<h4><?=$user->fullname?></h4>
|
|
<ul>
|
|
<h5>Organisaties</h5>
|
|
<?php if($user->orgusers): ?>
|
|
<?php foreach($user->orgusers as $orguser): ?>
|
|
<?=$orguser->orgnaam?>
|
|
<?php endforeach; ?>
|
|
<li>
|
|
<h6>Autorisaties</h6>
|
|
<ul>
|
|
<?php if($orguser->autorisaties): ?>
|
|
<?php foreach($orguser->autorisaties as $autorisatie): ?>
|
|
<li><?=$autorisatie?></li>
|
|
<?php endforeach; ?>
|
|
<?php else: ?>
|
|
<li>Geen rechten</li>
|
|
<?php endif; ?>
|
|
</ul>
|
|
</li>
|
|
<?php else: ?>
|
|
<li>Niet gekoppeld aan een organisatie</li>
|
|
<?php endif; ?>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
<?php else: ?>
|
|
<li>Geen gebruikers gevonden</li>
|
|
<?php endif; ?>
|
|
</ul> -->
|
|
</div>
|
|
</div>
|