mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
peer location relative to privacy
This commit is contained in:
@@ -312,7 +312,11 @@ tr_small($lang_userdetails['row_forum_posts'], ($forumposts && ($user["id"] == $
|
||||
if ($user["id"] == $CURUSER["id"] || get_user_class() >= $viewhistory_class) {
|
||||
if (\App\Models\HitAndRun::getIsEnabled()) {
|
||||
$hrStatus = (new \App\Repositories\HitAndRunRepository())->getStatusStats($user['id']);
|
||||
tr_small('H&R', sprintf('<a href="%s/myhr.php?userid=%s" target="_blank">%s</a>', getSchemeAndHttpHost(), $user['id'], $hrStatus), 1);
|
||||
tr_small('H&R', sprintf('<a href="myhr.php?userid=%s" target="_blank">%s</a>', $user['id'], $hrStatus), 1);
|
||||
}
|
||||
if (\App\Models\Claim::getConfigIsEnabled()) {
|
||||
$states = (new \App\Repositories\ClaimRepository())->getStats($user['id']);
|
||||
tr_small($lang_functions['menu_claim'], sprintf('<a href="claim.php?uid=%s" target="_blank">%s</a>', $user['id'], $states), 1);
|
||||
}
|
||||
tr_small($lang_userdetails['row_karma_points'], number_format($user['seedbonus'], 1), 1);
|
||||
tr_small($lang_functions['text_seed_points'], number_format($user['seed_points'], 1), 1);
|
||||
|
||||
Reference in New Issue
Block a user