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:
|
<?php
session_start();
if(isset($_SESSION["login"])) { // Wenn eingeloggt..
include("db.php");
include("functions.inc.php");
refresh($_SESSION["login"]); // refresht
?>
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Neue Seite 1</title>
<link href="http://gferandi.gf.funpic.de/Ferandi 2.0/Styledatein/style1.css" rel="stylesheet" type="text/css">
</head>
<body>
<h2>Reitshop zum Hufeisen</h2>
<table border="0" width="89%" bordercolor="#000000" id="table2">
<tr>
<td width="100%" colspan="5">Warenkorb</td>
</tr>
<tr>
<td width="22%">Bezeichnung:</td>
<td width="22%">Farbe:</td>
<td width="22%">Rasse:</td>
<td width="22%">Preis:</td>
<td width="9%"> </td>
</tr>
</table>
<?php
$abfrage = mysql_query('SELECT * FROM Warenkorb WHERE ID-User = .$_SESSION["login"].'); // Datenabfrage
while($row = mysql_fetch_object($abfrage))
{
?>
<table border="0" width="89%" bordercolor="#000000" id="table3">
<tr>
<td width="22%"><input type="hidden" name="kategorie" value="<?= $row->kategorie ?>"><?= $row->Name ?></td>
<td width="22%"><input type="hidden" name="bild" value="<?= $row->Bild ?>"><?= $row->Farbe ?></td>
<td width="22%"><input type="hidden" name="wert" value="<?= $row->Wert ?>"><?= $row->Rasse ?></td>
<td width="22%"><?= $row->Preis ?></td>
<td width="9%">
<a href="warenkorb_leeren.php?ware=<?= $row->ID ?>"><img border="0" src="/Ferandi%202.0/Grafiken/nein.png"></a></td>
</tr>
</table>
<?php
}
?>
</body>
</html>
<?php
}
?> |