@extends($activeTheme.'layouts.main') @section('title', $user->username.' '.___('Profile')) @section('content')
{{ $user->name }}

{{ $user->name }}

{{ $user->username }}
{{ $user->about }}
    @if($user->facebook)
  • @endif @if($user->twitter)
  • @endif @if($user->google)
  • @endif @if($user->linkden)
  • @endif @if($user->instagram)
  • @endif @if($user->youtube)
  • @endif

{{ ___('We found').' '.$user->posts->count().' '.___('Ads Listings') }}

@csrf

{{ ___('Search Results') }}

{{ ___('We Found') }} {{ $user->posts->count() }} {{ ___('Listings') }}
{{ ___('Sort by') }}
@if ($posts->count() > 0) @foreach($posts as $post)
@php $picture = explode(',' ,$post->images); if($picture[0] != ""){ $main_picture = $picture[0]; }else{ $main_picture = "default.png"; } @endphp

{{ $post->title }} @if($post->featured == '1') {{ ___('Featured') }} @endif @if($post->urgent == '1') {{ ___('Urgent') }} @endif @if($post->highlight == '1') {{ ___('Highlight') }} @endif

@if($post->custom_field_data->count() > 0)
    @foreach ($post->custom_field_data as $customdata) @if($customdata->type == 'drop-down' || $customdata->type == 'radio-buttons') @php $option = get_customOptions_by_id($customdata->pivot->field_data); @endphp @if($option)
  • {{ $customdata->get_translated_title() }}: {{ $option->get_translated_title() }}
  • @endif @elseif($customdata->type == 'text-field' || $customdata->type == 'textarea')
  • {{ $customdata->get_translated_title() }}: {{ $customdata->pivot->field_data }}
  • @endif @endforeach
@else @endif
@endforeach
@else
{{ ___('Nothing found') }}
@endif
{{ $posts->links($activeTheme.'pagination/default') }}
@push('scripts_at_bottom') @endpush @endsection