{{-- * 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->name }} !

{{ t('You last logged in at') }}: {{ \App\Helpers\Date::format($user->last_login_at, 'datetime') }}
{{-- PHOTO --}}
@php $photoPanelClass = ''; $photoPanelClass = request()->filled('panel') ? (request()->get('panel') == 'photo' ? 'show' : $photoPanelClass) : ((old('panel')=='' || old('panel') =='photo') ? 'show' : $photoPanelClass); @endphp
{{-- USER --}}
@php $userPanelClass = ''; $userPanelClass = request()->filled('panel') ? (request()->get('panel') == 'user' ? 'show' : $userPanelClass) : ((old('panel') == '' || old('panel') == 'user') ? 'show' : $userPanelClass); @endphp
{!! csrf_field() !!} {{-- gender_id --}}
{{-- name --}}
{{-- 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
{{-- 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')>  {{ t('Hide') }}
{{-- country_code --}}
{{-- 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 {{-- password --}}
{{-- password_confirmation --}}
@if ($user->accept_terms != 1) {{-- accept_terms --}}
accept_terms) == '1') >
@endif {{-- accept_marketing_offers --}}
accept_marketing_offers) == '1') >
{{-- time_zone --}}
@if (auth()->user()->can(\App\Models\Permission::getStaffPermissions())) {!! t('admin_preferred_time_zone_info', [ 'frontTz' => config('country.time_zone'), 'country' => config('country.name'), 'adminTz' => config('app.timezone'), ]) !!} @else {!! t('preferred_time_zone_info', [ 'frontTz' => config('country.time_zone'), 'country' => config('country.name'), ]) !!} @endif
{{-- button --}}
@endsection @section('after_styles') @if (config('lang.direction') == 'rtl') @endif @endsection @section('after_scripts') @endsection