File: D:/HostingSpaces/SBogers10/ledub.komma.pro/wwwroot/kms/inschrijving_info.php
<?php
$inschrijving_id = $_GET['inschrijving_id'];
$inschrijving_id = checkData($inschrijving_id);
$q_nieuws = sprintf("SELECT kms_inschrijvingen.vereniging, kms_inschrijvingen.teamnaam, kms_inschrijvingen.niveau, kms_inschrijvingen.voornaam, kms_inschrijvingen.tussenvoegsel, kms_inschrijvingen.achternaam, kms_inschrijvingen.geslacht,
kms_inschrijvingen.telefoonnummer, kms_inschrijvingen.emailadres, kms_inschrijvingen.adres, kms_inschrijvingen.postcode, kms_inschrijvingen.woonplaats, kms_inschrijvingen.land, kms_inschrijvingen.kamperen,
kms_inschrijvingen.opmerkingen, kms_inschrijvingen.taal, kms_inschrijvingen.betaald, kms_inschrijvingen.datum, kms_inschrijvingen.tijd FROM kms_inschrijvingen WHERE inschrijving_id='%s'", $inschrijving_id);
$r_nieuws = mysql_query($q_nieuws);
$rec_nieuws = mysql_fetch_array($r_nieuws);
if($rec_nieuws['geslacht'] == "man"){
$aanhef = "Dhr.";
}else{
$aanhef = "Mevr.";
}
if($rec_nieuws['betaald'] == "yes"){
$betaald = "ja";
}else{
$betaald = "nee";
}
if($rec_nieuws['kamperen'] == "yes"){
$kamperen = "ja";
}else{
$kamperen = "nee";
}
?>
<h1>Inschrijving info</h1>
<strong>Vereniging:</strong> <?php echo(html_entity_decode($rec_nieuws['vereniging'])); ?><br />
<strong>Teamnaam:</strong> <?php echo(html_entity_decode($rec_nieuws['teamnaam'])); ?><br />
<strong>Niveau:</strong> <?php echo(html_entity_decode($rec_nieuws['niveau'])); ?><br /><br />
<strong>Contactpersoon:</strong> <?php echo($aanhef." ".html_entity_decode($rec_nieuws['voornaam'])); if(!empty($rec_nieuws['tussenvoegsel'])){ echo(" ".html_entity_decode($rec_nieuws['tussenvoegsel'])); } echo(" ".html_entity_decode($rec_nieuws['achternaam'])); ?><br />
<strong>Taal:</strong> <?php echo(html_entity_decode($rec_nieuws['taal'])); ?><br /><br />
<strong>Telefoonnummer:</strong> <?php echo(html_entity_decode($rec_nieuws['telefoonnummer'])); ?><br />
<strong>E-mailadres:</strong> <?php echo(html_entity_decode($rec_nieuws['emailadres'])); ?><br /><br />
<strong>Adres:</strong> <?php echo(html_entity_decode($rec_nieuws['adres'])); ?><br />
<strong>Postcode:</strong> <?php echo(html_entity_decode($rec_nieuws['postcode'])); ?><br />
<strong>Woonplaats:</strong> <?php echo(html_entity_decode($rec_nieuws['woonplaats'])); ?><br />
<strong>Land:</strong> <?php echo(html_entity_decode($rec_nieuws['land'])); ?><br /><br />
<strong>Kamperen:</strong> <?php echo($kamperen); ?><br /><br />
<strong>Opmerkingen:</strong> <?php echo(html_entity_decode($rec_nieuws['opmerkingen'])); ?><br /><br />
<strong>Betaald:</strong> <?php echo($betaald); ?><br /><br />
<strong>Datum:</strong> <?php echo(date_dutch($rec_nieuws['datum'])); ?><br />
<strong>Tijd:</strong> <?php echo(html_entity_decode($rec_nieuws['tijd'])); ?><br /><br /><br />
<a style="margin-left:0;" class="submit_annuleren" href="index.php" title="Terug">Terug</a>