Weak hands cannot be planted, meager skills have no foundation. Shallow wisdom is futile, how can one hope for a good name?扰扰从役倦，屑屑身事微。少壮轻年月，迟暮惜光辉。
<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

if (!defined('ABSPATH')) exit; // Exit if accessed directly

use WP_STATISTICS\Menus;
use WP_Statistics\Utils\Request;

$authorId = Request::get('author_id');
$userData = get_userdata($authorId);

$hasUserData = !empty($userData);

$roles    = $hasUserData ? $userData->roles : [];
$userRole = !empty($roles) ? ucfirst($roles[0]) : esc_html__('No role', 'wp-statistics');

$registeredDate = $hasUserData ? $userData->user_registered : '';
$formattedDate  = $registeredDate ? date_i18n('F j, Y g:i A', strtotime($registeredDate)) : esc_html__('Unknown Date', 'wp-statistics');

$displayName = $hasUserData ? $userData->display_name : esc_html__('Unknown User', 'wp-statistics');
$email       = $hasUserData ? $userData->user_email : '';
?>
<div class="wps-author-analytics--header">
    <div class="wps-author-analytics--header__img">
        <img src="<?php echo esc_url(get_avatar_url($authorId)); ?>" alt="<?php echo esc_html($displayName); ?>">
    </div>
    <div class="wps-author-analytics--header__desc">
        <div class="wps-author-analytics--header__title">
            <h2 class="wps_title" title="<?php echo esc_html($displayName); ?>"><?php echo esc_html($displayName); ?></h2>
            <span><?php echo esc_html($userRole); ?></span>
        </div>
        <div class="wps-author-analytics--header__info">
            <span class="wps-author-analytics--header__joine