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:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><title>Dein
Hof Titel</title>
<link rel="stylesheet" href="style.css" type="text/css"></head><body><p
style="text-align: center; font-family: Tahoma; font-weight: bold; color: rgb(217, 208, 240);"
class="head"><big><big>x Equidenpass x</big></big></p>
<center><?php // Verbindung zur Datenbank
include("Datenbank.php");
// Hiermit wird der Wert geholt, der über die URL übergeben wurde. Dieser wird nun für die Abfrage genutzt.
// Somit werden nur genau die Daten abgefragt, die diese ID haben
$id = "$_GET[id]";
$Ergebnis = mysql_query( "SELECT * FROM Pferd where ID='$id'" );
if (@mysql_num_rows($Ergebnis) == 0) {
echo "Dieses Pferd existiert nicht!";
}
else {
$Data = mysql_fetch_array( $Ergebnis );
//Anzeige der Links (Wenn du den Chara auf mehrere Seiten verteilst
// Hier die Angabe der Daten vom Pferd. Es kann wieder HTML verwendet werden ganz normal eben (; Nur an der Stelle wo die Daten sein sollen schreibt ihr $Data[Spaltenname] hin
echo "<center><table style="background-color: rgb(204, 207, 216); width: 510px; height: 500px;"
border="0" cellpadding="0" cellspacing="3"><tbody><tr
style="font-family: Tahoma;"><th colspan="6"
style="border: 1px solid rgb(97, 101, 148); padding: 3px; width: 500px; height: 22px; background-color: rgb(97, 101, 148); border-collapse: collapse;">$Data[Name]<br><span
style="color: rgb(97, 101, 148);"></span></th></tr><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
rowspan="7" colspan="2" align="middle"
height="237" width="155">
<span style="color: rgb(221, 0, 0);"><img src="".$Data[Bild].""><br>$Data[Quelle]</td>
<th style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="24" width="156"><font
style="font-size: 8pt;">Lebensnummer :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="24" width="162">$Data[Lebensnummer]<br><span
style="color: rgb(97, 101, 148);"></span></td></tr><tr><th
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="24" width="156"><font
style="font-size: 8pt;">Geschlecht :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="24" width="162"><font
style="font-size: 8pt;"> </font>$Data[Geschlecht]<br><span
style="color: rgb(97, 101, 148);"></span></td></tr><tr><th
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="24" width="156"><font
style="font-size: 8pt;">Alter :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="24" width="162">$Data[Alter]</td></tr><tr><th
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="24" width="156"><font
style="font-size: 8pt;">Rasse :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="24" width="162">$Data[Rasse]</td></tr><tr><th
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="23" width="156"><font
style="font-size: 8pt;">Farbe :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="23" width="162">$Data[Farbe]</td></tr><tr><th
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="23" width="156"><font
style="font-size: 8pt;">Stockmaß :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="23" width="162">$Data[Stockmass]</td></tr><tr><th
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="23" width="156"><font
style="font-size: 8pt;">Fotoalbum :</font></th>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="23" width="162"><span
style="color: rgb(57, 58, 89);"><a href=".$Data[Album]." onclick="popup()">Zum Album</a></span><span
style="color: rgb(0, 119, 0);"></span></td></tr><tr><td
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; height: 26px; font-family: Tahoma;"
colspan="2" align="middle" width="155"><p
style="height: 7px;" align="center"><font
style="font-size: 8pt;"><b>Besitzer:</b></font></p></td>
<td
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; height: 26px; font-family: Tahoma;"
colspan="2" align="middle" width="156"><font
style="font-size: 8pt;"><b>Pfleger :</b></font></td>
<td
style="padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; height: 26px; font-family: Tahoma;"
colspan="2" align="middle" width="156"><font
style="font-size: 8pt;"><b>Wert :</b></font></td></tr>
<tr><td style="height: 37px; font-family: Tahoma;"
colspan="2" align="middle" width="161">$Data[Besitzer]</td><td
style="height: 37px; font-family: Tahoma;" colspan="2"
align="middle" width="162">$Data[Pfleger]</td><td
style="height: 37px; font-family: Tahoma;" colspan="2"
align="middle" width="162">$Data[Wert]</td></tr><tr
style="font-family: Tahoma;"><td
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse;"
colspan="6" align="middle" height="20" width="500"><div
style="text-align: center;"><span
style="font-weight: bold;">Abstammung</span></div></td></tr>
<tr><td rowspan="5" colspan="2"
style="width: 161px; height: 96px; font-family: Tahoma;">$Data[Name]</td><td
style="font-family: Tahoma;" rowspan="2" colspan="2"
align="middle" height="36" width="162">$Data[Mutter]</td><td
style="font-family: Tahoma;" colspan="2" align="middle"
height="16" width="162">$Data[MMutter]</td></tr><tr
style="font-family: Tahoma;"><td colspan="2"
align="middle" height="16" width="162">$Data[VMutter]</td></tr><tr
style="font-family: Tahoma;"><td colspan="4"
align="middle" height="16" width="330">.........................................................................<br></td></tr><tr><td
style="font-family: Tahoma;" rowspan="2" colspan="2"
align="middle" height="36" width="162">$Data[Vater]</td>
<td style="font-family: Tahoma;" colspan="2"
align="middle" height="16" width="162">$Data[MVater]</td></tr><tr
style="font-family: Tahoma;"><td colspan="2"
align="middle" height="16" width="162">$Data[VVater]</td></tr><tr><td
style="border: 1px solid rgb(96, 100, 67); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="4" align="middle" height="22" width="330"><b><font
style="font-size: 8pt;">Charakter</font></b></td>
<td
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" align="middle" height="22" width="156"><b><font
style="font-size: 8pt;">Zucht</font></b></td></tr>
<tr><td style="font-family: Tahoma;" rowspan="4"
colspan="4" text-align="center" margin="auto"
align="middle" height="181" width="310">$Data[Charakter]</td><td
style="font-family: Tahoma;" align="middle" height="20"
width="104"><font style="font-size: 8pt;">zugelassen:</font></td>
<td align="middle" height="20" width="84">$Data[Zugelassen]</td></tr><tr
style="font-family: Tahoma;"><td colspan="2"
height="20" width="162"><font
style="font-size: 8pt;">zugelassen für :</font></td></tr>
<tr style="font-family: Tahoma;"><td colspan="2"
height="81" width="162">$Data[ZFur]</td></tr><tr><td
height="16" width="84">Nachkommen:</td><td
height="16" width="84">$Data[Nachkommen]</td></tr><tr
style="font-family: Tahoma;">
<th
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse;"
colspan="6" height="22" width="100%"><p
align="center"><font style="font-size: 8pt;">Ausbildung</font></p></th></tr>
<tr style="font-family: Tahoma;"><td colspan="6"
height="" width="100%"><div align="center"><table
border="0" cellpadding="0" cellspacing="3"
width="100%"><tbody><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
align="middle" width="110"><font
style="font-size: 8pt;"><b>Dressur</b></font></td>
<td style="color: rgb(57, 58, 89);" align="middle"
width="312"><img src="".$Data[Dressur].""></td></tr><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
align="middle" width="110"><font
style="font-size: 8pt;"><b>Springen</b></font></td>
<td style="color: rgb(57, 58, 89);" align="middle"
width="312"><img src="".$Data[Springen].""></td></tr><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
align="middle" width="110"><font
style="font-size: 8pt;"><b>Military</b></font></td>
<td style="color: rgb(57, 58, 89);" align="middle"
width="312"><img src="".$Data[Military].""></td></tr><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
align="middle" width="110"><font
style="font-size: 8pt;"><b>Western</b></font></td>
<td style="color: rgb(57, 58, 89);" align="middle"
width="312"><img src="".$Data[Western].""></td></tr><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
align="middle" width="110"><font
style="font-size: 8pt;"><b>Distanz</b></font></td>
<td style="color: rgb(57, 58, 89);" align="middle"
width="312"><img src="".$Data[Distanz].""></td></tr><tr><td
style="padding: 3px; border-collapse: collapse; font-family: Tahoma;"
align="middle" width="110"><font
style="font-size: 8pt;"><b>Sonstiges</b></font></td>
<td style="color: rgb(57, 58, 89);" align="middle"
width="312"><img src="".$Data[Sonstiges].""></td></tr></tbody></table></div></td></tr><tr><th
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="22" width="166"><font
style="font-size: 8pt;">Tierarzt</font></th>
<th
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma;"
colspan="2" height="22" width="166"><font
style="font-size: 8pt;">Hufschmied</font></th>
<th
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse; font-family: Tahoma; font-size: 8pt;"
colspan="2" height="22" width="166">Unterkunft</th></tr>
<tr><td style="font-family: Tahoma;" height="30"
width="84"><font style="font-size:8pt;">Impfungen:</font></td>
<td style="font-family: Tahoma;" height="30" width="84">$Data[Impfungen]</td><td
style="font-family: Tahoma;" height="30" width="84"><font
style="font-size: 8pt;">Vorne:</font></td>
<td style="font-family: Tahoma;" height="30" width="84">$Data[Vorne]</td><td
style="font-family: Tahoma;" height="30" width="108"><font
style="font-size: 8pt;">Stall :</font></td>
<td style="font-family: Tahoma;" height="30" width="60">$Data[Stall]</td></tr><tr><td
style="font-family: Tahoma;" height="30" width="84"><font
style="font-size: 8pt;">Letzter<br>Termin:<br></font></td>
<td style="font-family: Tahoma;" height="30" width="84">$Data[LTermin]</td><td
style="font-family: Tahoma;" height="30" width="84"><font
style="font-size: 8pt;">Hinten:</font></td>
<td style="font-family: Tahoma;" height="30" width="84">$Data[Hinten]</td><td
style="font-family: Tahoma;" height="30" width="108"><font
style="font-size: 8pt;">Weide:</font></td>
<td style="font-family: Tahoma;" height="30" width="60">$Data[Weide]</td></tr><tr><td
style="font-family: Tahoma;" height="15" width="92"><font
style="font-size: 8pt;">Nächster<br>Termin:</font></td>
<td style="font-family: Tahoma;" height="15" width="76"><font
style="font-size: 8pt;"> </font>$Data[NTermin]</td><td
style="font-family: Tahoma;" colspan="2" height="15"
width="168"><font style="font-size: 8pt;">Beschlag
: </font>$Data[Beschlag]</td>
<td style="font-family: Tahoma;" height="15"
width="108"><font style="font-size: 8pt;">Einstreu:</font></td>
<td style="font-family: Tahoma;" height="15" width="60">$Data[Einstreu]
</td></tr><tr style="font-family: Tahoma;"
align="center"><td
style="border: 1px solid rgb(97, 101, 148); padding: 3px; background-color: rgb(97, 101, 148); border-collapse: collapse;"
colspan="6" height="22" width="100%"><p><font
style="font-size: 8pt;"><b>Erfolge</b></font></p></td></tr>
<tr style="font-family: Tahoma;"><td colspan="6" height="2" width="100%"><div style="width: 500px; height: 181px; overflow: auto;"><br><br><br><br>.$Data[Erfolge].<br></div></td></tr></tbody></table></center>;"
}
?></center></body></html> |