Danke.
Aber Ich finde diese Codes nicht in weristonline.php:
PHP-Code:
<?
// Scriptet by Ische2k www.Body-Sig.de
$zeit = (5 * 60); // Sekunden seit der letzten Aktivität
$np = $domain.'/?content=/nickpage&id='; // Nickpagelink
$online = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_online ")); //Auslesen Der Datenbank
$rallyk = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_klickralley ORDER BY klicks DESC LIMIT 1 ")); //Klickrally Auslesen aus Der Datenbank
$rallya = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_aktivralley ORDER BY punkte DESC LIMIT 1 ")); //Aktiv Rally Auslesen aus Der Datenbank
// verhindern, dass die Datei direkt aufgerufen wird
if (!function_exists ("db_query")) die ("Kein Direktaufruf");
$sql = db_query ('SELECT k.uid, u.nickname FROM '.$db_prefix.'_kontodaten k LEFT JOIN '.$db_prefix.'_userdaten u ON u.uid = k.uid WHERE k.last_active >= '.(time()-$zeit));
if (mysql_num_rows ($sql) == 0) echo '<span style="font-style: italic;">keiner</span>';
else {
$nr = 1;
while ($user = mysql_fetch_assoc ($sql)){
//Aktiv Rally farbe
if ($user['uid'] == $rallya ['uid'] )
{
echo '<a href="'.$np.$user['uid'].'"><font color="'.$online ['aktivfarbe'].'">'.$user['nickname'].'</font></a>';
}
// Klickrally Farbe
elseif ($user['uid'] == $rallyk ['uid'] )
{
echo '<a href="'.$np.$user['uid'].'"><font color="'.$online ['klickfarbe'].'">'.$user['nickname'].'</font></a>';
}
// Admin Farbe
if ($user['nickname'] == $online ['admin'] )
{
echo '<a href="'.$np.$user['uid'].'"><font color="'.$online ['adminfarbe'].' ">'.$user['nickname'].'</font></a>';
}
//Co admin Farbe
if ($user['nickname'] == $online ['co'] )
{
echo '<a href="'.$np.$user['uid'].'"><font color="'.$online ['cofarbe'].' ">'.$user['nickname'].'</font></a>';
}
// Doppel Schutz
if ($user['nickname'] !== $online ['admin'])
if ($user['nickname'] !== $online ['co'])
if ($user['uid'] !== $rallya ['uid'])
if ($user['uid'] !== $rallyk ['uid'])
{
echo '<a href="'.$np.$user['uid'].'"><font color="'.$online ['userfarbe'].'">'.$user['nickname'].'</font></a>';
}
if ($nr < mysql_num_rows ($sql)) echo ', ';
$nr++;
}
}
?>
<table width="100%" align="center">
<tr>
<td width="20" valign="top" align="center"><b>Bedeutung</b> </td><td width="5" valign="top" align="left"><b>Farbe</b></td>
<tr>
<td width="5" valign="top" align="left">Admin</td>
<td width="5" valign="top" align="left"><font color=" <?= $online ['adminfarbe']; ?> ">|||||||</td></font>
<tr>
<td width="5" valign="top" align="left">Co Admin</td>
<td width="5" valign="top" align="left"><font color="<?= $online ['cofarbe']; ?> ">|||||||</td></font>
<tr>
<td width="5" valign="top" align="left">Klickrally</td>
<td width="5" valign="top" align="left"><font color="<?= $online ['klickfarbe']; ?> ">|||||||</td></font>
<tr>
<td width="5" valign="top" align="left">Aktivrally </td>
<td width="5" valign="top" align="left"><font color="<?= $online ['aktivfarbe']; ?>">|||||||</td></font>
<tr>
<td width="5" valign="top" align="left">User</td>
<td width="5" valign="top" align="left"><font color="<?= $online ['userfarbe']; ?>">|||||||</td></font>
<tr>
</table>
<font size="1">Powered by <a href="http://www.Body-Sig.de">Body-Sig.de</a></font>
Oder bin ich blöd ?