?> </b> Blockland servers online with <b><?php echo $ct = StatManager::getMasterServerStats()['users']; ?> </b> <?php echo $ct == 1 ? "user" : "users"; ?> . Of those, <a href="stats/users.php"><?php echo $ct = sizeof(UserLog::getRecentlyActive()); ?> </a> <?php echo $ct == 1 ? "user" : "users"; ?> are running Glass - which equates to <?php $nonglass = StatManager::getMasterServerStats()['users']; $glass = sizeof(UserLog::getRecentlyActive()); $percentage = floor(100 / $nonglass * $glass); if ($percentage > 100) { echo "<b>" . $percentage . "%</b> (how is this happening)"; } else { echo "<b>" . $percentage . "%</b>"; } ?> of Blockland as of this moment. Glass has <b> <?php echo $ct = UserLog::getUniqueCount(); ?> </b> active <?php echo $ct == 1 ? "user" : "users"; ?>
<?php require_once dirname(__DIR__) . "/private/class/GroupManager.php"; require_once dirname(__DIR__) . "/private/class/UserManager.php"; require_once dirname(__DIR__) . "/private/class/UserLog.php"; require_once dirname(__DIR__) . "/private/class/StatUsageManager.php"; $_PAGETITLE = "Blockland Glass | Current Users"; include realpath(dirname(__DIR__) . "/private/header.php"); include realpath(dirname(__DIR__) . "/private/navigationbar.php"); $users = UserLog::getRecentlyActive(); ?> <style> .list td { padding: 10px; } .list tr:nth-child(2n+1) td { background-color: #ddd; } .list tr:first-child td { background-color: #777; color: #fff; font-weight: bold; } .list tr td:first-child { border-radius: 10px 0 0 10px; } .list tr td:last-child {