@if ($mainUser)
{!! user_avatar($user) !!}
{{ $user->name }}
@else
{!! user_avatar($user, 'sm') !!}
{{ $user->username }}
@endif
@if (!$mainUser)
{{ $user->name }}
@if ($user->status!='active')
@endif
{{ the_uid($user->id) }} / {{$user->email }}
{{ __("Joined Date") }}: {{ show_date($user->created_at) }}
{{ __("Total Earned") }}: {{ $user->referral_bonus_earned }} {{ base_currency() }}
@if ($members)
{{ __("Total Referral") }}: {{ ($members >= 2) ? __(":num Members", ['num' => $members]) : __(":num Member", ['num' => $members]) }}
@endif
@endif
@if($treeCollapse && ($members > 0))
@endif