Hallo,

habe den Paidbanner Jackpot aus dem DL gerade bei mir eingerichtet.

Und jetzt funktioniert der. Hat er vorher nicht, woran es lag, kann ich nicht sagen

Aber da ist ein TOP 1ß Schnipzel bei.

Ist das möglich das da statt die ID, der Name steht?

Hier mal der Code:

<?head("BannerJackpot Gewinner");?>
<table cellpadding="5" cellspacing="1" width="100%" class=menue border="1" bordercolor="#640002">
<tr>
<td align="center" width="33%"><b>Zeit</b></td>
<td align="center" width="33%"><b>User</b></td>
<td align="center" width="33%"><b>Jackpothöhe</b></td>
</tr>
<?
$potdaten = db_query("SELECT * FROM ".$db_prefix."_check_jackpots WHERE beendet = 1 ORDER BY Zeit DESC LIMIT 10");
while ($potliste=mysql_fetch_array($potdaten)) {
echo '
<tr>
<td align="center" width="33%" nowrap>'.date("d.m.Y H:i:s",$potliste[zeit]).'</td>
<td align="center" width="33%">'.$potliste[uid].'</td>
<td align="center" width="33%">'.number_format($potliste[banner_jackpot],0,",",".").'</td>
</tr>
';
}
?>
</table>
<?foot();?>



Und:

<?head("Top 10 - BannerJackpots");?>
<table cellpadding="5" cellspacing="1" width="100%" class=menue border="1" bordercolor="#640002">
<tr>
<td align="center" width="25%"><b>Rang</b></td>
<td align="center" width="25%"><b>User</b></td>
<td align="center" width="25%"><b>Jackpothöhe</b></td>
<td align="center" width="25%"><b>Zeit</b></td>
</tr>
<?
$rang = 1;
$potdaten = db_query("SELECT * FROM ".$db_prefix."_check_jackpots WHERE beendet = 1 ORDER BY banner_jackpot DESC LIMIT 10");
while ($potliste=mysql_fetch_array($potdaten)) {
echo '
<tr>
<td align="center" width="25%">'. $rang++ .'</td>
<td align="center" width="25%">'.$potliste[uid].'</td>
<td align="center" width="25%">'.number_format($potliste[banner_jackpot],0,",",".").'</td>
<td align="center" width="25%" nowrap>'.date("d.m.Y H:i:s",$potliste[zeit]).'</td>
</tr>
';
}
?>
</table>
<?foot();?>



Danke euch