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_once 'app/OpenSim.php'; $opensim = new OpenSim(); while ($row = $statement->fetch()) { if ($entryColor) { $entry = ''; } else { $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']).'
'; } ?>