Beispiel #1
0
<?php

if (check_perms('users_mod') || $OwnProfile || Donations::is_visible($UserID)) {
    ?>
	<div class="box box_info box_userinfo_donor_stats">
		<div class="head colhead_dark">Donor Statistics</div>
		<ul class="stats nobullet">
			<li>
				Total donor points: <?php 
    echo Donations::get_total_rank($UserID);
    ?>
			</li>
			<li>
				Current donor rank: <?php 
    echo Donations::render_rank(Donations::get_rank($UserID), true);
    ?>
			</li>
			<li>
				Last donated: <?php 
    echo time_diff(Donations::get_donation_time($UserID));
    ?>
			</li>
		</ul>
	</div>
<?php 
}