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 ''; $entryColor = TRUE; while($row = $statement->fetch()) { if($entryColor == TRUE) $entry = ''; if($entryColor == FALSE) $entry = ''; echo $entry; $entryColor = !$entryColor; } echo '
NameRegion
'.trim($RUNTIME['OPENSIM']->getUserName($row['UserID'])).''.$RUNTIME['OPENSIM']->getRegionName($row['RegionID']).'
'.trim($RUNTIME['OPENSIM']->getUserName($row['UserID'])).''.$RUNTIME['OPENSIM']->getRegionName($row['RegionID']).'
'; } ?>