Exemplo n.º 1
0
    echo $Override === 2 || $SupportFor ? ' class="paranoia_override"' : '';
    ?>
>Clients: <?php 
    $DB->query("\n\t\t\tSELECT DISTINCT useragent\n\t\t\tFROM xbt_files_users\n\t\t\tWHERE uid = {$UserID}");
    $Clients = $DB->collect(0);
    echo implode('; ', $Clients);
    ?>
</li>
<?php 
}
?>
			</ul>
		</div>
<?php 
include SERVER_ROOT . '/sections/user/community_stats.php';
DonationsView::render_donor_stats($UserID);
?>
	</div>
	<div class="main_column">
<?php 
if ($RatioWatchEnds != '0000-00-00 00:00:00' && time() < strtotime($RatioWatchEnds) && $Downloaded * $RequiredRatio > $Uploaded) {
    ?>
		<div class="box">
			<div class="head">Ratio watch</div>
			<div class="pad">This user is currently on ratio watch and must upload <?php 
    echo Format::get_size($Downloaded * $RequiredRatio - $Uploaded);
    ?>
 in the next <?php 
    echo time_diff($RatioWatchEnds);
    ?>
, or their leeching privileges will be revoked. Amount downloaded while on ratio watch: <?php