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: | <?
echo("<table cellpadding=\"0\" width=\"100%\">\n <tr>\n");
$codetreffercode=0;
$query2="SELECT * FROM $sitetable WHERE code='1' and bild !='' and bild !='$keins' and bildsehen='0' ORDER BY siteid DESC LIMIT 0,8";
$result2=mysql_db_query($dbname,$query2,$conn) or die(mysql_error());
while($date=mysql_fetch_array($result2))
{
echo("<td style=\"padding-top: 4pt\" width=\"25%\" height=\"35px\" valign=\"top\" align=\"center\">\n");
echo("<a href=\"$seitenurlurl/index_start.php?trefferid=$date[siteid]&$sidname=$sidsid\" target=\"$linkziel\"><img width=\"$neueBreiteStart\" height=\"100px border=\"0\" src=\"bilder_tum5.php?bild=$date[bild]\"></a>$codeonline2<font size=\"1\"><br><br></font>\n");
echo("</td>");
$codetreffercode++;
if($codetreffercode=="8")
{
$codetreffercode=0;
}
}
mysql_free_result($result2);
if($codetreffercode=="0")
{
echo("<td width=\"25%\height=\"35px\"></td>
<td width=\"25%\height=\"35px\"></td>
<td width=\"25%\height=\"35px\"></td>
<td width=\"25%\height=\"35px\"></td>");
}
elseif($codetreffercode=="1")
{
echo("<td width=\"25%\"></td>
<td width=\"25%\height=\"35px\"></td>
<td width=\"25%\height=\"35px\"></td>");
}
elseif($codetreffercode=="2")
{
echo("<td width=\"25%\height=\"35px\"></td>
<td width=\"25%\height=\"35px\"></td>");
}
elseif($codetreffercode=="3")
{
echo("<td width=\"25%\height=\"35px\"></td>");
}
echo("</tr></table>");
?> |