Leeching: =$UserPeerStats[0] === false ? "hidden" : number_format($UserPeerStats[0])?>
Seeding: =$UserPeerStats[1] === false ? "hidden" : number_format($UserPeerStats[1])?>
} elseif (!empty($MainStats)) { foreach ($MainStats as $Key => $Value) { if (is_numeric($Value)) { if (substr($Key, 0, 6) === "bytes ") { $Value = Format::get_size($Value); $Key = substr($Key, 6); } else { $Value = number_format($Value); } } ?> ="$Value $Key
\n"?> } } elseif (isset($TorrentPass)) { ?> Failed to get stats for user =$_GET['userid']?> } elseif (isset($_GET['userid'])) { ?> User =$_GET['userid']?> doesn't exist } else { ?> Failed to get tracker info } ?>