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