@php $u = auth()->user(); $likesCount = 0; $attractionCount = 0; $interestCount = 0; if ($u) { $likesCount = cache()->remember("nav_cnt_likes_{$u->id}", 60, fn() => \App\Models\UserInteraction::where('target_id', $u->id)->where('type', 'like')->count()); $attractionCount = cache()->remember("nav_cnt_attractions_{$u->id}", 60, fn() => \App\Models\UserInteraction::where('target_id', $u->id)->where('type', 'attraction_start')->count()); $interestCount = cache()->remember("nav_cnt_interests_{$u->id}", 60, fn() => \App\Models\Interest::where('target_user_id', $u->id)->count()); } @endphp
زواجنت
لوحة التحكم البحث الرسائل التوافقات المعجبون بي @if(optional(auth()->user())->is_paid) {{ ($likesCount ?? 0) > 99 ? '99+' : ($likesCount ?? 0) }} @endif الانجذاب نحوي {{ ($attractionCount ?? 0) > 99 ? '99+' : ($attractionCount ?? 0) }} المهتمون بي {{ ($interestCount ?? 0) > 99 ? '99+' : ($interestCount ?? 0) }} الإشعارات

{{ auth()->user()->name ?? 'زائر' }}

{{ auth()->user()->email ?? '' }}

@if(auth()->user() && auth()->user()->is_paid) Premium @endif
ملفي الشخصي تعديل الملف التفضيلات المحفظة العضوية
@csrf
لوحة التحكم البحث الرسائل التوافقات المعجبون بي @if(optional(auth()->user())->is_paid) {{ ($likesCount ?? 0) > 99 ? '99+' : ($likesCount ?? 0) }} @endif الانجذاب نحوي {{ ($attractionCount ?? 0) > 99 ? '99+' : ($attractionCount ?? 0) }} المهتمون بي {{ ($interestCount ?? 0) > 99 ? '99+' : ($interestCount ?? 0) }} الإشعارات