echo MMRPG_SETTINGS_CURRENT_FIELDTYPE;
?>
">Leaderboard Players Index</h2>
<div class="subbody">
  <p class="text">The <strong>Mega Man RPG World</strong> currently has <?php 
echo !empty($this_leaderboard_count) ? $this_leaderboard_count == 1 ? '1 player' : $this_leaderboard_count . ' players' : 0;
?>
 and that number is growing all the time.  Throughout the course of the game, players collect Battle Points on completion of missions and those points build up to unlock new abilities and other new content.  Not all players are created equal, however, and some clearly stand above the rest in terms of their commitment to the game and their skill at exploiting the battle system's mechanics.  In the spirit of competition, all players have been ranked by their total Battle Point scores and listed from highest to lowest.  Use the numbered links at the top and bottom of the page to navigate and <a href="contact/">contact me</a> if you have any questions or concerns.</p>
</div>
<?php 
// Print out any online players if they exist
if (!empty($this_leaderboard_online_players)) {
    ?>
  <div class="subbody online_players">
    <div class="text event players"><?php 
    echo rpg_website::print_online($this_leaderboard_online_players);
    ?>
</div>
    <strong class="text label"><?php 
    echo (count($this_leaderboard_online_players) == 1 ? '1 Player' : count($this_leaderboard_online_players) . ' Players') . ' Online';
    ?>
</strong>
  </div>
  <?php 
}
?>

<div class="leaderboard">
  <div class="wrapper">
  <?php 
// Print out the generated leaderboard markup
        }
        ?>

            </form>

            <?php 
    } else {
        // Define the display text for the online player section
        $this_online_label = 'Browsing';
        $this_online_tooltip = 'A ranked leaderboard profile list of any online players who recently viewed this community category or any of its threads.';
    }
    ?>
    </div>
    <?php 
    // Print out any online viewers if they exist
    $temp_markup = !empty($temp_viewing_userids) ? rpg_website::print_online($this_leaderboard_online_players, $temp_viewing_userids) : '';
    if (!empty($temp_markup)) {
        ?>
        <div class="subbody online_players">
            <p class="text desc"><?php 
        echo $this_online_tooltip;
        ?>
</p>
            <div class="text event players"><?php 
        echo $temp_markup;
        ?>
</div>
            <strong class="text label"><?php 
        echo (count($temp_viewing_userids) == 1 ? '1 Player' : count($temp_viewing_userids) . ' Players') . ' ' . $this_online_label;
        ?>
</strong>