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:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Neue Seite 1</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<?php
include("db.php");
$id = "$_GET[id]";
$name = "$_GET[name]";
$Ergebnis = mysql_query( "SELECT * FROM pferde where id='$id'" );
if (@mysql_num_rows($Ergebnis) == 0) {
echo "Dieses Pferd existiert nicht!";
}
else {
$Data = mysql_fetch_array( $Ergebnis );
echo "
<p align="center" style="margin-top: 0; margin-bottom: 0"><a href="pferd-allgemeines.php?id=$Data[id]"><b>Allgemeines</b></a> | <a href="pferd-ausbildung.php?id=$Data[id]"><b>Ausbildung</b></a> | <a href="pferd-zustand.php?id=$Data[id]"><b>Zustand</b></a> | <a href="pferd-zucht.php?id=$Data[id]"><b>Zucht</b></a> | <a href="pferd-erfolge.php?id=$Data[id]"><b>Erfolge</b></a> |
<a href="pferd-fotoabum.php?id=$Data[id]"><b>Fotoalbum</b></a></p>
<p align="center" style="margin-top: 0; margin-bottom: 0"> </p>
<table border="0" width="70%" id="table1" style="border-collapse: collapse" align=center>
<tr>
<td rowspan="5" align="center" width="33%">$Data[vorschau]<br>";
}
$besitzer = $Data[besitzer];
if($besitzer=="")
{
echo "<b><a href="pferdkaufen.php?id=$Data[id]">- Pferd kaufen -</a></b>";
}
else
{
echo "";
}
?>
<?php
include("db.php");
$id = "$_GET[id]";
$Ergebnis = mysql_query( "SELECT * FROM pferde where id='$id'" );
if (@mysql_num_rows($Ergebnis) == 0) {
echo "Dieses Pferd existiert nicht!";
}
else {
$Data = mysql_fetch_array( $Ergebnis );
echo "</td>
<td width="33%"><b>Name</b></td>
<td width="33%">$Data[name]</td>
</tr>
<tr>
<td width="33%"><b>Alter</b></td>
<td width="33%">$Data[geburtstag] Jahre</td>
</tr>
<tr>
<td width="33%"><b>Rasse</b></td>
<td width="33%">$Data[rasse]</td>
</tr>
<tr>
<td width="33%"><b>Geschlecht</b></td>
<td width="33%">$Data[geschlecht]</td>
</tr>
<tr>
<td width="33%"><b>Farbe</b></td>
<td width="33%">$Data[farbe]</td>
td width="33%"><b>Farbe</b></td>
<td width="33%">$Data[farbe]</td>
</tr>
<tr>
<td width="33%"><b>Vorbesitzer</b></td>
<td width="33%">$Data[vorbesitzer]</td>
</tr>
</table>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<table border="0" width="70%" id="table2" style="border-collapse: collapse" align=center>
<tr>
<td width="33%" align="center"><b>Besitzer</b></td>
<td width="33%" align="center"><b>Pfleger</b></td>
<td width="33%" align="center"><b>Preis</b></td>
</tr>
<tr>
<td width="33%" align="center">$Data[besitzer]</td>
<td width="33%" align="center">$Data[pfleger]</td>
<td width="33%" align="center">$Data[preis] Taler</td>
</tr>
</table>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<table border="0" width="70%" id="table2" style="border-collapse: collapse" align=center>
<tr>
<td width="33%" align="center"><img src="http://reitstallemden.bplaced.net/Grafiken/berichtebuchsymbol.gif" width="18" height="13"> <a href="berichtebuch.php?name=$Data[name]"><b>Berichtebuch von $Data[name]</b></a></td>
</tr>
</table>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<table border="0" width="70%" id="table3" style="border-collapse: collapse" align=center>
<tr>
<td>
<p align="center"><b>Charakter</b></td>
</tr>
<tr>
<td>$Data[charakter]</td>
</tr>
</table>";
}
?>
</body>
</html> |