@php $phone_numbers = !empty($userContact->contact_numbers) ? explode(',', $userContact->contact_numbers) : []; $emails = !empty($userContact->contact_mails) ? explode(',', $userContact->contact_mails) : []; @endphp @if (count($phone_numbers) > 0) @foreach ($phone_numbers as $phone_number) @if ($loop->last) {{ $phone_number }} @endif @endforeach @endif @if (count($emails) > 0) @foreach ($emails as $email) @if ($loop->last) {{ $email }} @endif @endforeach @endif @if (isset($social_medias)) @if (in_array('Ecommerce', $packagePermissions) || in_array('Hotel Booking', $packagePermissions) || in_array('Donation Management', $packagePermissions) || in_array('Course Management', $packagePermissions)) @guest('customer') {{ $keywords['Login'] ?? __('Login') }} {{ $keywords['Signup'] ?? __('Signup') }} @endguest @auth('customer') {{ $keywords['Dashboard'] ?? __('Dashboard') }} {{ $keywords['Logout'] ?? __('Logout') }} @endauth @endif @endif @php $links = json_decode($userMenus, true); @endphp @foreach ($links as $link) @php $href = getUserHref($link); @endphp @if (!array_key_exists('children', $link)) {{ $link['text'] }} @else {{ $link['text'] }} @foreach ($link['children'] as $level2) @php $l2Href = getUserHref($level2); @endphp {{ $level2['text'] }} @endforeach @endif @endforeach @csrf @foreach ($userLangs as $userLang) id == $userLang->id ? 'selected' : '' }} value="{{ $userLang->code }}"> {{ convertUtf8($userLang->name) }} @endforeach