mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
19 lines
522 B
PHP
19 lines
522 B
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: <?=Donations::get_total_rank($UserID)?>
|
||
|
</li>
|
||
|
<li>
|
||
|
Current donor rank: <?=Donations::render_rank(Donations::get_rank($UserID), true)?>
|
||
|
</li>
|
||
|
<li>
|
||
|
Last donated: <?=time_diff(Donations::get_donation_time($UserID))?>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<?
|
||
|
}
|