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:
|
$flyer = $dsatz["flyer"];
echo mysql_error();
// Tabellenbeginn
echo "<table border='0' cellpadding='2' cellspacing='0'>";
while ($dsatz = mysql_fetch_assoc($res))
if (trim($flyer)=="")
{
if (empty($flyer))
{
echo "<tr>";
echo "<td width='480' align='center' valign='top'><h2>".$dsatz["ueberschrift"]."<br /></td></h2>";
echo "</tr>";
echo "<tr>";
echo "<td width='450' align='center' valign='top'><h3>".$dsatz["txt"]."</td></h3>";
echo "</tr>";
}
else
{
echo "<tr>";
echo "<td width='480' align='center' valign='top'><h2>".$dsatz["ueberschrift"]."<br></td></h2>";
echo "</tr>";
echo "<tr>";
echo "<td width='450' align='center' valign='top'><h3>".$dsatz["txt"]."</td></h3>";
echo "</tr>";
echo "<tr>";
echo "<td width='450' align='center' valign='top'><h4><a target=_blank href=information/" .$dsatz["flyer"]. ">Info..</a></td></h4>";
echo "</tr>";
}
}
|