
 Zitat von 
Dyman
					
				 
				..
Mein frage ist ob man die Userliste.php so erweitern kann das sie mir anzeigt kann wie in der Refübersicht....
			
		 
	 
 Die Frage ist nicht "ob", sondern "wie" 
Bspw.:
	PHP-Code:
	
<?php
// Variablen Status
$gfx_status[0] = '<img src="images/gelb.gif" width="15" height="15" border="0" alt="Nicht freigeschaltet">';
$gfx_status[1] = '<img src="images/gruen.gif" width="15" height="15" border="0" alt="Aktiv">';
$gfx_status[2] = '<img src="images/rot.gif" width="15" height="15" border="0" alt="Gesperrt">';
head("Angemeldete User dieser Seite");
?>
<table>
<tr>
<th>Klamm ID</th>
<th>Nickname</th>
<th>Angemeldet</th>
<th>Userstatus</th>
<th>Aktivität</th>
</tr>
<?php
$i=0;
$kontodaten = db_query("SELECT k.uid,k.last_active,k.status,u.nickname,u.angemeldet_seit 
                FROM ".$db_prefix."_kontodaten AS k 
                LEFT JOIN ".$db_prefix."_userdaten AS u ON u.uid=k.uid 
                ORDER BY k.uid ASC");
while ($ausgabe = mysql_fetch_array($kontodaten)) {
  if ($ausgabe['last_active'] >= (time()-(86400*7))) $refstatus = '<img src="./images/gruen.gif" width="15" height="15" border="0" alt="'.date("d.m.y - H:i",$ausgabe['last_active']).'">';
  if ($ausgabe['last_active'] < (time()-(86400*7))) $refstatus = '<img src="./images/gelb.gif" width="15" height="15" border="0" alt="'.date("d.m.y - H:i",$ausgabe['last_active']).'">';
  if ($ausgabe['last_active'] <= (time()-(86400*30))) $refstatus = '<img src="./images/rot.gif" width="15" height="15" border="0" alt="'.date("d.m.y - H:i",$ausgabe['last_active']).'">';
echo'
<tr class="tr_row'.($i++%2).'">
<td><a href="http://www.klamm.de/?nickpage='.$ausgabe['uid'].'" target="_blank">'.$ausgabe['uid'].'</a></td>
<td>'.$ausgabe['nickname'].'</td>
<td>'.date("d.m.y - H:i",$ausgabe['angemeldet_seit']).'</td>
<td>'.$gfx_status[$ausgabe['status']].'</td>
<td>'.$refstatus.'</td>
</tr>
';
}
?>
</table>
<br><hr width="90%"><br><center>
<table width="60%" cellpadding="3" cellspacing="1" border="0"><tr><td><center>
<b>Infos zur Aktivität:</b><br><br>
<img src="images/rot.gif"> User war mind. 30 Tage nicht mehr aktiv.<br>
<img src="images/gelb.gif"> User war mind. 7 Tage nicht mehr aktiv.<br>
<img src="images/gruen.gif"> User war in den letzen 7 Tagen aktiv.<br></center>
</td></tr></table></center>
<?php
foot();
?>