1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
|
<!DOCTYPE html>
<html>
<head>
<title>Landgut Schwaan | vom Rv Buchenhain</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body style="background-color: rgb(218, 202, 167);">
<br>
<script type="text/javascript" src="wz_tooltip.js"></script>
<?php
include("Datenbank.php");
$id = $_GET["id"];
$Ergebnis = mysql_query("SELECT * FROM erfolge where pferdid ='".intval($id)."'");
if (@mysql_num_rows($Ergebnis) == 0)
{
echo "Dieses Pferd hat noch keine Erfolge!";
}
else
{
echo '<table style="text-align: left; width: 100%;" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="text-align: center; font-weight: bold;" class="dunkel">Prüfung</td>
<td style="text-align: center; font-weight: bold;" class="dunkel">Platz</td>
<td style="text-align: center; font-weight: bold;" class="dunkel">Preis</td>
<td style="text-align: center; font-weight: bold;" class="dunkel">Stall</td>
</tr>';
while ($Data = mysql_fetch_array($Ergebnis))
{
echo '<tr>
<td class="hell">'.$Data["prufung"].'</td>
<td class="hell">'.$Data["platz"].'</td>
<td class="hell">'.$Data["preis"].'</td>
<td class="hell">'.$Data["stall"].'</td>
</tr>';
}
echo '</tbody>
</table>';
}
?>
</body>
</html> |