@extends('layouts/app') @section('title', "List of saved user's search") @section('description', 'www.WebMoto.us – Online Motorcycle Trader! List of saved user search!' ) @section('og:url', request()->url()) @section('header_styles') @endsection @section('content')
@if (!$paramsobj->data)
You still have no saved search!
@else
MY SEARCH
@foreach($paramsobj->data as $items)
@php $dt = \Carbon\Carbon::parse($items->created_at); // \Carbon\Carbon::setLocale('bg'); // setlocale(LC_TIME, 'bg'); @endphp {{ $dt->formatLocalized('%d') }} {{ $dt->formatLocalized('%b %Y') }}

{{ $items->title }}

@if ($items->marka) Make: {{ $items->marka }} , @endif @if ($items->condition) Condition: {{ $items->condition }} ,  @endif @if ($items->categories) Category: {{ $items->categories }} ,  @endif @if ($items->cena_ot) Price from: {{ $items->cena_ot }},  @endif @if ($items->cena_do) Price to: {{ $items->cena_do }},  @endif @if ($items->godina_ot) Year from: {{ $items->godina_ot }} ,  @endif @if ($items->godina_do) Year to: {{ $items->godina_do }} ,  @endif @if ($items->location) City: {{ $items->location }} ,  @endif @if ($items->sort) Sort by: {{ $items->sort }},   @endif

@endforeach
@endif
@if ($paramsobj->data) {{ $paramsobj->data->appends(request()->input())->links() }} @endif
@include('layouts.sidebar', ['hotlinks' => true, 'sidemenucats' => false]) @include('layouts.banners', ['banner' => '300x250x1']) @include('layouts.sidebar', ['hotlinks' => false, 'sidemenucats' => true])
@include('layouts.catsbox') @endsection @section('footer_scripts') @endsection