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:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Steckbrief</title>
</head>
<body style="background-color: transparent; color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<?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 );
?>
<table
style="background-color: transparent; width: 97%; text-align: left; margin-left: auto; margin-right: auto;"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td>
echo <table
style="background-color: transparent; width: 100%; text-align: left; margin-left: auto; margin-right: auto;"
border="1" cellpadding="2" cellspacing="4">
<tbody>
<tr style="font-weight: bold;">
<td style="background-color: rgb(161, 187, 91);"
colspan="4" rowspan="1"><?php $Data[Name] ?></td>
</tr>
<tr>
<td colspan="2" rowspan="7"><img
style="width: 305px; height: 154px;"
alt="http://i46.tinypic.com/dfah77.png"
src="http://i46.tinypic.com/dfah77.png"><br>
</td>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
class="tablea">Name</td>
<td class="tableb"><?php $Data[Name] ?></td>
</tr>
<tr>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
class="tablea">Geburtsjahr</td>
<td class="tableb"><?php $Data[Geburtsjahr] ?></td>
</tr>
<tr>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
class="tablea">Geschlecht</td>
<td class="tableb"><?php $Data[Geschlecht] ?></td>
</tr>
<tr>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
class="tablea">Rasse</td>
<td class="tableb"><?php $Data[Rasse] ?></td>
</tr>
<tr>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
class="tablea">Züchter</td>
<td class="tableb"><?php $Data[Züchter] ?></td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: rgb(161, 187, 91);"
class="tablea">Vorbesitzer</td>
<td class="tableb"><?php $Data[Vorbesitzer] ?></td>
</tr>
<tr>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
class="tablea">Besitzer</td>
<td class="tableb"><?php $Data[Besitzer] ?></td>
</tr>
<tr style="font-weight: bold;">
<td style="background-color: rgb(161, 187, 91);"
colspan="4" rowspan="1">Charakter</td>
</tr>
<tr>
<td colspan="4" rowspan="1"><?php $Data[Charakter] ?></td>
</tr>
<tr>
<td colspan="2" rowspan="1"
style="width: 50%; background-color: rgb(161, 187, 91); font-weight: bold;">Ausbildung</td>
<td colspan="2" rowspan="1"
style="width: 50%;"><?php $Data[Ausbildung] ?></td>
</tr>
<tr>
<td
style="background-color: rgb(161, 187, 91); font-weight: bold;"
colspan="2" rowspan="1">Potential</td>
<td colspan="2" rowspan="1"><?php $Data[Potential] ?></td>
</tr>
<tr>
<td style="width: 25%;" colspan="1"
rowspan="8">Unbekannt</td>
<td style="font-weight: bold; width: 25%;"
colspan="1" rowspan="4">Unbekannt</td>
<td style="font-weight: bold; width: 25%;"
colspan="1" rowspan="2">Unbekannt</td>
<td style="font-weight: bold; width: 25%;">Unbekannt</td>
</tr>
<tr>
<td>Unbekannt</td>
</tr>
<tr>
<td colspan="1" rowspan="2">Unbekannt</td>
<td style="font-weight: bold;">Unbekannt</td>
</tr>
<tr>
<td>Unbekannt</td>
</tr>
<tr>
<td colspan="1" rowspan="4">Unbekannt</td>
<td style="font-weight: bold;" colspan="1"
rowspan="2">Unbekannt</td>
<td style="font-weight: bold;">Unbekannt</td>
</tr>
<tr>
<td>Unbekannt</td>
</tr>
<tr>
<td colspan="1" rowspan="2">Unbekannt</td>
<td style="font-weight: bold;">Unbekannt</td>
</tr>
<tr>
<td>Unbekannt</td>
</tr>
<tr>
<td colspan="2" rowspan="1"
style="background-color: rgb(161, 187, 91); font-weight: bold;">Nachkommen</td>
<td colspan="2" rowspan="1"><?php $Data[Nachkommen] ?></td>
</tr>
<tr>
<td colspan="2" rowspan="1"
style="background-color: rgb(161, 187, 91); font-weight: bold;">Zuchtzulassung</td>
<td colspan="2" rowspan="1"><?php $Data[Zuchtzulassung] ?></td>
</tr>
<tr>
<td colspan="2" rowspan="1"
style="background-color: rgb(161, 187, 91); font-weight: bold;">Erfolge</td>
<td colspan="2" rowspan="1"><?php $Data[Erfolge] ?></td>
</tr>
<tr>
<td colspan="4" rowspan="1">Copyright
des Fotos liegt bei cll von <a href="http://www.photofans.de"
target="_blank">photofans.de</a></td>;
<?php
}
?>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html> |