File: D:/HostingSpaces/SBogers10/vangogh.komma-mediadesign.nl/wwwroot/kms/vacature_overzicht.php
<h1>Vacatures</h1>
<p><br /><a href="index.php?p=vacature_toevoegen" title="Vacature toevoegen">Vacature toevoegen</a></p>
<table cellpadding="20" cellspacing="0" border="0">
<tr height="40">
<th width="20"> </th>
<th width="400">Naam</th>
<th width="110">Wijzigen</th>
<th width="110">Verwijderen</th>
</tr>
<?php
$q_nieuws = "SELECT kms_vacatures.vacature_id, kms_vacatures.naam FROM kms_vacatures ORDER BY kms_vacatures.naam ASC";
$r_nieuws = mysql_query($q_nieuws);
$kleur = true;
while($rec_nieuws = mysql_fetch_array($r_nieuws)){ ?>
<tr height="30" <?php if($kleur) { echo("style=\"background-color:#eee\""); $kleur = false; }else{ $kleur = true; }?>>
<td> </td>
<td><?php echo(html_entity_decode($rec_nieuws[1])); ?></td>
<td><a href="index.php?p=vacature_wijzigen&vacature_id=<?php echo($rec_nieuws[0]); ?>">Wijzigen</a></td>
<td><a href="index.php?p=vacature_verwijderen&vacature_id=<?php echo($rec_nieuws[0]); ?>">Verwijderen</a></td>
</tr>
<?php } ?>
</table>