include("config.php");
{
$id = $_GET['id'];
$startnr = $zwemmer->startnummer;
$query2 = mysql_query("SELECT * FROM tijden WHERE startnummer='".$startnr."' AND slag='vl' ORDER BY afstand ASC") or
die(mysql_error()); $query4 = mysql_query("SELECT * FROM tijden WHERE startnummer='".$startnr."' AND slag='vr' ORDER BY afstand ASC") or
die(mysql_error()); $query3 = mysql_query("SELECT * FROM tijden WHERE startnummer='".$startnr."' AND slag='ru' ORDER BY afstand ASC") or
die(mysql_error());
?>
<table width="100%" border="0" cellspacing="0"cellpadding="0">
<tr>
<td width="75%"><br>
Naam: <?= $zwemmer->voornaam;?> <?= $zwemmer->tussenvoegsel;?> <?= $zwemmer->achternaam;?><br>
Startnummer: <?= $zwemmer->startnummer;?><br>
Geboortedatum: <?= $zwemmer->geboortedatum;?><br>
Lid sinds: <?= $zwemmer->liddatum;?><br><br><br>
</td>
<td width="25%">
{
$jpg = ".jpg";?>
<img src="<?=$startnr.$jpg;?>">
<?}?>
</td>
</tr>
<tr>
<td width="100%">
<center>
<table width="95%" border="1" style="border-collapse: collapse" cellspacing="0">
<tr>
<td width="17%"><b>Pr's</b></td>
<td width="16%"><b>25</b></td>
<td width="16%"><b>50</b></td>
<td width="17%"><b>100</b></td>
<td width="17%"><b>200</b></td>
<td width="17%"><b>400</b></td>
</tr>
<tr>
<td width="17%"><b>Vlinderslag</b></td>
<?
$x = 0;
{
$x++;
if($x == 1)
{
If($vlinder['afstand'] == "25")
{
echo "<td width=\"16%\">".$vlinder['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($x == 2)
{
if($vlinder['afstand'] == "50")
{
echo "<td width=\"16%\">".$vlinder['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($x == 3)
{
if($vlinder['afstand'] == "100")
{
echo "<td width=\"16%\">".$vlinder['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($x == 4)
{
if($vlinder['afstand'] == "200")
{
echo "<td width=\"16%\">".$vlinder['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
else
{
if($vlinder['afstand'] == "400")
{
echo "<td width=\"16%\">".$vlinder['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
} ?>
</tr>
<tr>
<td width="16%">Rugcrawl</td>
<?
$a = 0;
{
$a++;
if($a == 1)
{
If($rug['afstand'] == "25")
{
echo "<td width=\"16%\">".$rug['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($a == 2)
{
if($rug['afstand'] == "50")
{
echo "<td width=\"16%\">".$rug['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($a == 3)
{
if($rug['afstand'] == "100")
{
echo "<td width=\"16%\">".$rug['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($a == 4)
{
if($rug['afstand'] == "200")
{
echo "<td width=\"16%\">".$rug['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
else
{
if($rug['afstand'] == "400")
{
echo "<td width=\"16%\">".$rug['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
}
?>
</tr>
<tr>
<td width="16%">Borstcrawl</td>
<?
$b = 0;
{
$b++;
if($b == 1)
{
If($borst['afstand'] == "25")
{
echo "<td width=\"16%\">".$borst['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($b == 2)
{
if($borst['afstand'] == "50")
{
echo "<td width=\"16%\">".$borst['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($b == 3)
{
if($borst['afstand'] == "100")
{
echo "<td width=\"16%\">".$borst['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
elseif($b == 4)
{
if($borst['afstand'] == "200")
{
echo "<td width=\"16%\">".$borst['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
else
{
if($borst['afstand'] == "400")
{
echo "<td width=\"16%\">".$borst['tijd']."</td>"; }
else
{
echo "<td width=\"16%\">NG</td>"; }
}
} ?>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
* NG = niet gezwommen
</td>
</tr>
</table>
<? } ?>