}
    }
}
//Sort stats
ksort($otherStats);
ksort($blockStats);
?>
<div id="header">
    <?php 
echo createPlayerWidget($playerId, 64);
?>
</div>
<div id="listing-wrapper">
    <div class="listing">
        <p class="date">Last online: <?php 
echo formatDate(getPlayerLastOnline($playerId));
?>
</p>
        <?php 
if ($inactive) {
    ?>
                    <p class="inactive">This player has been inactive for over <?php 
    echo (int) ($inactiveTime / 86400);
    ?>
 days.</p>
                <?php 
}
?>
        <p>Raw craft, use/place and mine/destroy statisitcs:</p>
        <table class="listing">
            <colgroup>
Esempio n. 2
0
function isPlayerInactive($uuid)
{
    return isInactive(getPlayerLastOnline($uuid));
}