HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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">&nbsp;</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>&nbsp;</td>
      		<td><?php echo(html_entity_decode($rec_nieuws[1])); ?></td>
            
            <td><a href="index.php?p=vacature_wijzigen&amp;vacature_id=<?php echo($rec_nieuws[0]); ?>">Wijzigen</a></td>
            <td><a href="index.php?p=vacature_verwijderen&amp;vacature_id=<?php echo($rec_nieuws[0]); ?>">Verwijderen</a></td>
        </tr>
<?php } ?>

</table>