mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-21 16:03:29 -04:00
19 lines
682 B
PHP
19 lines
682 B
PHP
<?php
|
|
if (check_perms('users_mod') || $OwnProfile || Donations::is_visible($LoggedUser['ID'])) { ?>
|
|
<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($LoggedUser['ID'])?>
|
|
</li>
|
|
<li>
|
|
Current donor rank: <?=Donations::render_rank(Donations::get_rank($LoggedUser['ID']), true)?>
|
|
</li>
|
|
<li>
|
|
Last donated: <?=time_diff(Donations::get_donation_time($LoggedUser['ID']))?>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<?php
|
|
}
|