prepare("SELECT UserID,RegionID FROM Presence WHERE RegionID != '00000000-0000-0000-0000-000000000000' ORDER BY RegionID ASC"); $statement->execute(); if($statement->rowCount() == 0) { echo "
Es ist niemand online!
"; }else{ echo '
Name
Region
'; $entryColor = TRUE; while($row = $statement->fetch()) { if($entryColor == TRUE) $entry = '
'.trim($RUNTIME['OPENSIM']->getUserName($row['UserID'])).'
'.$RUNTIME['OPENSIM']->getRegionName($row['RegionID']).'
'; if($entryColor == FALSE) $entry = '
'.trim($RUNTIME['OPENSIM']->getUserName($row['UserID'])).'
'.$RUNTIME['OPENSIM']->getRegionName($row['RegionID']).'
'; echo $entry; $entryColor = !$entryColor; } echo '
'; } ?>