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:
|
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>RV Lontano</title>
</head>
<body>
<p align="center">
<?php
include("header.php");
include("db.php");
include("functions.inc.php");
if(exist("pferde WHERE id = '".strip_tags($_REQUEST["user"])."'")) { // Ob User existiert
$abfrage = "SELECT * FROM pferde WHERE id = '".strip_tags($_REQUEST["user"])."' LIMIT 0,1"; // Datenabfrage
$ergebnis = mysql_query($abfrage);
while($row = mysql_fetch_object($ergebnis))
{
?>
<a href="stecki.php?user=<?= $row->id ?>"><id ?>Allgemeines</a> | <a href="stecki2.php?user=<?= $row->id ?>"><id ?>Ausbildung</a> | <a href="stecki3.php?user=<?= $row->id ?>"><id ?>Fotoalbum</a></p>
<table width="50%" align=center>
<tr>
<th width="99%" align="center"><b>Weitere Bilder</b></th>
</tr>
<tr>
<td width="99%" align="center">
<?php
$folder = $row->bilder;
$handle = opendir($folder);
while (($file = readdir($handle))!== false) {
if ($file != "." && $file != "..") {
echo ($file. "</ br>");
}
}
?>
</td>
</tr>
</table>
<?php
}
}
include("footer.php");
?>
</body>
</html>
|