{{-- * LaraClassifier - Classified Ads Web Application * Copyright (c) BeDigit. All Rights Reserved * * Website: https://laraclassifier.com * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of the above copyright notice. If you Purchased from CodeCanyon, * Please read the full License from here - http://codecanyon.net/licenses/standard --}} @extends('layouts.master') @php $stats ??= []; $countThreads = data_get($stats, 'threads.all') ?? 0; $postsVisits = data_get($stats, 'posts.visits') ?? 0; $countPosts = (data_get($stats, 'posts.published') ?? 0) + (data_get($stats, 'posts.archived') ?? 0) + (data_get($stats, 'posts.pendingApproval') ?? 0); $countFavoritePosts = data_get($stats, 'posts.favourite') ?? 0; @endphp @section('content') @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer'])
@includeFirst([ config('larapen.core.customizedViewPath') . 'account.inc.sidebar', 'account.inc.sidebar', ])
@include('flash::message') @if (isset($errors) && $errors->any())
{{ t('oops_an_error_has_occurred') }}
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ t('Hello') }} {{ $user->username }} !

{{ t('You last logged in at') }}: {{ \App\Helpers\Date::format($user->last_login_at, 'datetime') }}
{{-- PHOTO --}}
{!! csrf_field() !!}
{{-- Account Details --}}
{!! csrf_field() !!} {{-- username --}}
{{-- auth_field (as notification channel) --}} @php $authFields = getAuthFields(true); $authFieldError = isset($errors) && $errors->has('auth_field') ? ' is-invalid' : ''; $usersCanChooseNotifyChannel = isUsersCanChooseNotifyChannel(true); $authFieldValue = $user->auth_field ?? getAuthField(); $authFieldValue = $usersCanChooseNotifyChannel ? old('auth_field', $authFieldValue) : $authFieldValue; @endphp @if ($usersCanChooseNotifyChannel)
@foreach ($authFields as $iAuthField => $notificationType)
@endforeach
{{ t('notifications_channel_hint') }}
@else @endif @php $forceToDisplay = isBothAuthFieldsCanBeDisplayed() ? ' force-to-display' : ''; @endphp {{-- email --}} @php $emailError = isset($errors) && $errors->has('email') ? ' is-invalid' : ''; @endphp
@if ($user->email_verified_at) Verified @else Not Verified @endif
{{-- phone --}} @php $phoneError = isset($errors) && $errors->has('phone') ? ' is-invalid' : ''; $phoneValue = $user->phone ?? null; $phoneCountryValue = $user->phone_country ?? config('country.code'); $phoneValue = phoneE164($phoneValue, $phoneCountryValue); $phoneValueOld = phoneE164( old('phone', $phoneValue), old('phone_country', $phoneCountryValue), ); @endphp
phone_hidden) == '1') data-bs-toggle="tooltip" title="Select the Hide option if you would like to hide your phone number from being visible on your profile.">   {{ t('Hide') }}
{{-- country_code --}}
{{-- button --}}
{{-- Password --}}
@php $passwordPanelClass = ''; $passwordPanelClass = request()->filled('panel') ? (request()->get('panel') == 'password' ? 'show' : $passwordPanelClass) : (old('panel') == 'password' ? 'show' : $passwordPanelClass); @endphp
{!! csrf_field() !!} {{-- current password --}}
{{-- password --}}
{{-- password_confirmation --}}
{{-- button --}}
{{-- SETTINGS --}}
@php $settingsPanelClass = ''; $settingsPanelClass = request()->filled('panel') ? (request()->get('panel') == 'settings' ? 'show' : $settingsPanelClass) : (old('panel') == 'settings' ? 'show' : $settingsPanelClass); @endphp
{!! csrf_field() !!} @if (config('settings.single.activation_facebook_comments') && config('services.facebook.client_id')) {{-- disable_comments --}}
disable_comments == 1)>
@endif {{-- @if ($user->accept_terms != 1) --}} {{-- accept_terms --}}
accept_terms) == '1') @disabled(old('accept_terms', $user->accept_terms) == '1')>
{{-- @endif --}} {{-- accept_marketing_offers --}}
accept_marketing_offers) == '1')>
{{-- button --}}
@if (!$user->email_verified_at) Resend Verification @endif
@endsection @section('after_styles') @if (config('lang.direction') == 'rtl') @endif @endsection @section('after_scripts') @endsection