Guten Abend ich habe das Problem aber auch bei meiner Online Box
Würde die sich mal jmd angucken wäre echt mehr als dankbar dafür
hier mal die php:
<table width="900" height="40" border="0" cellspacing="2">
<tr>
<td><!---
# ######################## #
#### © Shooter112 ####
# ######################## #
--->
<?php
if (!defined('main')) {die("no direct access");}
// Farben für Ränge definieren
$farbeAdmin = '#ff0000';
$farbeCoAdmin = '#950000';
$farbeSiteAdmin = '#FF6600';
$farbeLeader = '#0000ff';
$farbeCoLeader = '#000069';
$farbeMember = '#00b700';
$farbeTrialMember = '#ba7500';
$farbeSuperUser = '#e2c500';
$farbeUser = '#FFFFFF';
$farbeGast = '#ffffff';
$dif = date('Y-m-d H:i:s', time() - 1200);
$abf = "SELECT uid FROM `ic1_online` WHERE uptime > '". $dif."'";
$resultID = db_query($abf);
$brk='';
$uid = array();
$guests = 0;
$guestn = $lang['guests'];
$content='';
while ($row = db_fetch_object($resultID)) {
if ($row->uid != 0 AND $brk!=$row->uid) {
$name=@db_result(db_query('SELECT name FROM ic1_user WHERE id='.$row->uid),0);
$recht=@db_result(db_query('SELECT recht FROM ic1_user WHERE id='.$row->uid),0);
if ($recht == -9) {$farbe = $farbeAdmin;}
elseif ($recht == -8) {$farbe = $farbeCoAdmin;}
elseif ($recht == -7) {$farbe = $farbeSiteAdmin;}
elseif ($recht == -6) {$farbe = $farbeLeader;}
elseif ($recht == -5) {$farbe = $farbeCoLeader;}
elseif ($recht == -4) {$farbe = $farbeMember;}
elseif ($recht == -3) {$farbe = $farbeTrialmember;}
elseif ($recht == -2) {$farbe = $farbeSuperuser;}
elseif ($recht == -1) {$farbe = $farbeUser;}
else {$farbe = $farbeGast;}
$content.= '';
$content.='<td><a href="index.php?user-details-'.$row->uid.'"><font style="color:'.$farbe.'">'.$name.',</font> </a></td>'."";
$uid[] = $row->uid;
}
if ($row->uid == 0) { $guests++; }
$brk=$row->uid;
}
if ($guests == 1) { $guestn = $lang['guest']; }
if (empty($content)) { $content.='<td><font color="#666666">0 User </font></td>'.""; }
// $content.='<td colspan="0"><hr style="height: 0px; border: dashed #9AB1C8 0px; border-top-width: 0px;"></td>'."";
$where = (count($uid)>0) ? 'WHERE id NOT IN ('.implode(', ', $uid).')' : '';
$abf2 = 'SELECT * FROM ic1_user '.$where.' ORDER BY llogin DESC LIMIT 0,0';
$erg2 = db_query($abf2);
while ($row2 = db_fetch_object($erg2)) {
if ($row2->recht == -9) {$farbe = $farbeAdmin;}
elseif ($row2->recht == -8) {$farbe = $farbeCoAdmin;}
elseif ($row2->recht == -7) {$farbe = $farbeSiteAdmin;}
elseif ($row2->recht == -6) {$farbe = $farbeLeader;}
elseif ($row2->recht == -5) {$farbe = $farbeCoLeader;}
elseif ($row2->recht == -4) {$farbe = $farbeMember;}
elseif ($row2->recht == -3) {$farbe = $farbeTrialmember;}
elseif ($row2->recht == -2) {$farbe = $farbeSuperuser;}
elseif ($row2->recht == -1) {$farbe = $farbeUser;}
else {$farbe = $farbeGast;}
$datum = date('H:i d.m.y',$row2->llogin);
$user = $row2->name;
$content.='<td><a href="index.php?user-details-'.$row2->id.'" title="'.$lang['lasttimeonline'].$datum.'">'.$user.'</a></td>'."";
}
if ($guests == 0) {
$content.= '<td colspan="0"><hr style="height: 0px; border: dashed #666666 0px; border-top-width: 0px";></td>'."".'
<td><font size="-1" color="'.$farbeGast.'">0 '.$lang['guests'].'</td>'."";
} else {
$content.= '
<td><font size="1" color="'.$farbeGast.'">'.$guests.' '.$guestn.'</font></td>'."";
}
?>
<table border="0" cellpadding="0" cellspacing="0" >
<?php echo $content; ?>
</table></td>
</tr>
</table>
schonal Danke für die Hilfe
ach ja Ilch Version 1.1 N inkl Update