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/EUmans/dak-spouwmuurisolatie.be/wwwroot/kms/project_overzicht.php
<h1>Projecten</h1>

<p><br /><a href="index.php?p=project_toevoegen" title="Project toevoegen">Project toevoegen</a></p>

<table cellpadding="20" cellspacing="0" border="0">
    <tr height="40">
        <th width="150"><span style="padding-left:10px;">Image</span></th>
        <th width="260">Naam</th>
        <th width="220">Categorie</th>
        <th width="140">Wijzigen</th>
        <th width="140">Verwijderen</th>
    </tr>

<?php
	
	$q_nieuws = "SELECT kms_spouwmuur_projecten.project_id, kms_spouwmuur_projecten.naam, kms_spouwmuur_projecten.categorie, kms_spouwmuur_projecten.image_dir FROM kms_spouwmuur_projecten ORDER BY kms_spouwmuur_projecten.naam ASC";

	$r_nieuws = mysql_query($q_nieuws);
	
	$kleur = true;
	
	while($rec_nieuws = mysql_fetch_assoc($r_nieuws)){ ?>
        <tr height="80" <?php if($kleur) { echo("style=\"background-color:#eee\""); $kleur = false; }else{ $kleur = true; }?>>
        
            <td><div class="thumb" style="width:70px; height:70px; margin-left:10px;"><img width="70" src="/project_images/<?php echo($rec_nieuws['image_dir']); ?>/thumb.jpg" alt="<?php echo(html_entity_decode($rec_nieuws['naam'])); ?>" /></div></td>
            
            <td><?php echo(html_entity_decode($rec_nieuws['naam'])); ?></td>
            
            
            <td><?php echo(html_entity_decode($rec_nieuws['categorie'])); ?></td>
                 
            <td>
            
            <a href="index.php?p=project_wijzigen&amp;project_id=<?php echo($rec_nieuws['project_id']); ?>">Wijzigen</a>
            <br /><br />
            <a href="index.php?p=projectfoto_overzicht&amp;project_id=<?php echo($rec_nieuws['project_id']); ?>">Foto´s wijzigen</a>

            </td>
            <td><a href="index.php?p=project_verwijderen&amp;project_id=<?php echo($rec_nieuws['project_id']); ?>">Verwijderen</a>
            <br /><br /><br />
            </td>
        </tr>
<?php } ?>

</table>