<?php
$Categorie = $_GET['Categorie'];
$rubriek1 = $_GET['rubriek1'];
$rubriek2 = $_GET['rubriek2'];
$rubriek3 = $_GET['rubriek3'];
if(
$Categorie == "Alle") {
$query = "SELECT * FROM GEGEVENS WHERE (rubriek1 = '$rubriek1' AND rubriek2 = '$rubriek2' AND rubriek3 = '$rubriek3' AND goedgekeurd = 'yes') OR
(rubriek1 = '$rubriek1' AND rubriek10 = '$rubriek2' AND goedgekeurd = 'yes') OR
(rubriek10 = '$rubriek1' AND rubriek10 = '$rubriek2' AND goedgekeurd = 'yes') OR
(rubriek1 = '$rubriek1' AND rubriek2 = '$rubriek2' AND rubriek10 = '$rubriek3' AND goedgekeurd = 'yes') ORDER BY RAND()";
?>
<table border="0">
<tr>
<td><img src="http://www.
<? echo $link; ?>/Plaatjes/Foto/
<?= $row['ID'] ?>.jpg" WIDTH="150"></td>
<td>
<b>Titel</b>:
<?php
if($row['abonnement1'] == "on") {
?>
<A HREF="http://
<?= $row['subURL'] ?>.
<? echo $link; ?>" target="_blank">
<?= $row['Titel'] ?></A>
<?php
} else {
?>
<?= $row['Titel'] ?>
<?php
}
?> <br />
<br />
<b>Land</b>: <?= $row['landlokatie'] ?><br />
<b>Plaats</b>: <?= $row['plaatslokatie'] ?><br />
<b>Capaciteit</b>: <?= $row['capaciteit'] ?><br />
<b>Type</b>: <?= $row['categorie'] ?><br />
<br />
<b>Eigen website</b><br />
<I><A HREF="<?= $row['URL'] ?>" TARGET="_blank"><?= $row['URL'] ?></A></I><br />
</td>
</tr>
</table> <br>
<?php
} } else {
$query = "SELECT * FROM GEGEVENS WHERE
(Categorie = '$Categorie' AND rubriek1 = '$rubriek1' AND rubriek2 = '$rubriek2' AND rubriek3 = '$rubriek3' AND goedgekeurd = 'yes') OR
(Categorie = '$Categorie' AND rubriek1 = '$rubriek1' AND rubriek10 = '$rubriek2' AND goedgekeurd = 'yes') OR
(Categorie = '$Categorie' AND rubriek10 = '$rubriek1' AND rubriek10 = '$rubriek2' AND goedgekeurd = 'yes') OR
(Categorie = '$Categorie' AND rubriek1 = '$rubriek1' AND rubriek2 = '$rubriek2' AND rubriek10 = '$rubriek3' AND goedgekeurd = 'yes') OR
(Categorie2 = '$Categorie' AND rubriek1 = '$rubriek1' AND rubriek2 = '$rubriek2' AND rubriek3 = '$rubriek3' AND goedgekeurd = 'yes') OR
(Categorie2 = '$Categorie' AND rubriek1 = '$rubriek1' AND rubriek10 = '$rubriek2' AND goedgekeurd = 'yes') OR
(Categorie2 = '$Categorie' AND rubriek10 = '$rubriek1' AND rubriek10 = '$rubriek2' AND goedgekeurd = 'yes') OR
(Categorie2 = '$Categorie' AND rubriek1 = '$rubriek1' AND rubriek2 = '$rubriek2' AND rubriek10 = '$rubriek3' AND goedgekeurd = 'yes')
ORDER BY RAND()";
?>
<table border="0">
<tr>
<td><img src="http://www.
<? echo $link; ?>/Plaatjes/Foto/
<?= $row['ID'] ?>.jpg" WIDTH="150"></td>
<td>
<b>Titel</b>:
<?php
if($row['abonnement1'] == "on") {
?>
<A HREF="http://
<?= $row['subURL'] ?>.
<? echo $link; ?>" target="_blank">
<?= $row['Titel'] ?></A>
<?php
} else {
?>
<?= $row['Titel'] ?>
<?php
}
?> <br />
<br />
<b>Land</b>: <?= $row['landlokatie'] ?><br />
<b>Plaats</b>: <?= $row['plaatslokatie'] ?><br />
<b>Capaciteit</b>: <?= $row['capaciteit'] ?><br />
<b>Type</b>: <?= $row['categorie'] ?><br />
<br />
<b>Eigen website</b><br />
<I><A HREF="<?= $row['URL'] ?>" TARGET="_blank"><?= $row['URL'] ?></A></I><br />
</td>
</tr>
</table> <br>
<?php
} }
?>