'; } else { $badge_html = 'LV' . esc_html((string) $current_level) . ''; } $avatar_html = function_exists('aksrt_get_avatar_html') ? aksrt_get_avatar_html($user_id, 48, ['class' => 'avatar-mini']) : get_avatar($user_id, 48); $next_need = max(0, (int) ($progress['next_need'] ?? 0)); $integral = max(0, (int) ($progress['integral'] ?? 0)); $remaining = max(0, (int) ($progress['remaining'] ?? 0)); $percentage = max(0, min(100, (int) ($progress['progress'] ?? 0))); ?>
/
/
$current_level ? ' is-future' : ''); ?>
alt="" title="" decoding="async">LV
$default_value) : if ($key === 'day_max') { continue; } $value = in_array($key, ['checkin', 'shop_gift'], true) ? 0 : ($key === 'referral' ? (int) $default_value : \AKSRT\User\Level::task_points($key)); if ($value <= 0 && !in_array($key, ['checkin', 'shop_gift'], true)) { continue; } ?>
0 ? '+' . esc_html((string) $value) : esc_html__('动态', 'aksrt'); ?>