@extends('layouts/app') @section('title', 'List of personal / business ads') @section('description', 'www.WebMoto.us – Online Motorcycle Trader! List of personal / business ads!' ) @section('og:url', request()->url()) @section('content') {{-- {{ dd($paramsobj->motoadds && !$vendoradds) }}--}}
@if(!$paramsobj->motoadds)
@else
{{----}} {{----}}
@if($paramsobj->vendorusers)
@endif
@foreach($paramsobj->motoadds as $items)
  • @if ($items->status == 'suspend') {{ $items->title }} @else {{ $items->title }} @endif
    @if (strtotime($items->updated_at) > strtotime(\Carbon\Carbon::now()->subDays(5))) NEW @endif @if (!$items->addpromoplans->isEmpty()) FEATURED @endif Archived @if ($items->status == 'suspend') Not approve @endif
    @if ($items->status == 'suspend')

    {{ @str_limit($items->title, 30) }}

    @else

    {{ @str_limit($items->title, 30) }}

    @endif
    @if ($items->promo_price) {{ $items->price .' '. @head($items->valuta)->value}} @endif @if ($items->promo_price) {{ $items->promo_price.' '. @head($items->valuta)->value }} @else {{ $items->price }} @if (array_has(@head($items->valuta), 'value')) {{ @head($items->valuta)->value }} @else $. @endif @endif
    {{--
    --}}
    @if ($items->addgodina) {{ $items->addgodina }} yr. | @endif @if ($items->addkilometri) {{ $items->addkilometri }} mi. | @endif @if ($items->addkubatura) {{ $items->addkubatura }} .cc @endif @if ($items->tirewidth) {{ @head($items->tirewidth)->name }} / @endif @if ($items->tireheight) {{ @head($items->tireheight)->name }} @endif @if ($items->tirediameter) ZR-{{ @head($items->tirediameter)->name }} @endif @if ($items->tireposition) -{{ @head($items->tireposition)->name }} @endif
    {{ @$items->imagescount }}{{ @$items->video }}
    @if(count($items->categoryname->parents) != '0') @if(count($items->categoryname->parents) == '1') {{ array_first($items->categoryname->parents)->name }} | @else @foreach(array_sort_recursive($items->categoryname->parents) as $catsitems) {{ $catsitems->name }} | @endforeach @endif @endif {{ $items->categoryname->name }} {{-- {{ @str_limit($items->description, 60) }}--}} @if(!$items->addpromoplans->isEmpty()) @foreach($items->addpromoplans as $promoitems) @php $dt = \Carbon\Carbon::parse($promoitems->end_at); @endphp {{ $promoitems->name }} (to {{ $dt->toDateString() }}) | @endforeach @endif
    @if ($items->status != 'suspend')
    private seller: @if (!$items->vendor_id && $paramsobj->vendorusers) @endif
    @endif
    Seen: {{ $items->visit }} | Saved: {{ $items->favcount }} | Valid for: {{ $items->daysleft }}

@endforeach
{{ $paramsobj->motoadds->appends(request()->input())->links() }}
@endif
@if(!$vendoradds)
@else
{{----}} {{----}}
    @foreach($vendoradds as $items)
  • @if ($items->status == 'suspend') {{ $items->markaname .' '. @$items->model }} @else {{ $items->markaname .' '. @$items->model }} @endif
    @if (strtotime($items->updated_at) > strtotime(\Carbon\Carbon::now()->subDays(5))) NEW @endif @if (!$items->addpromoplans->isEmpty()) FEATURED @endif @if ($items->status == 'offline') Archieved @endif @if ($items->status == 'suspend') Not approve @endif
    @if ($items->status == 'suspend')

    @if($items->type == '1' || $items->type == '3') @if($items->title) {{ @str_limit($items->title, 30) }} @else {{ $items->model }} @endif @else {{ $items->markaname }}   @if ($items->model) {{ @str_limit($items->model, 30) }} @else {{ @str_limit($items->title, 30) }} @endif @endif

    @else

    @if($items->type == '1' || $items->type == '3') @if($items->title) {{ @str_limit($items->title, 30) }} @else {{ $items->model }} @endif @else {{ $items->markaname }}   @if ($items->model) {{ @str_limit($items->model, 30) }} @else {{ @str_limit($items->title, 30) }} @endif @endif

    @endif
    @if ($items->promo_price) {{ $items->price .' '. @head($items->valuta)->value}} @endif @if ($items->promo_price) {{ $items->promo_price.' '. @head($items->valuta)->value }} @else {{ $items->price }} @if (array_has(@head($items->valuta), 'value')) {{ @head($items->valuta)->value }} @else $. @endif @endif
    {{--
    --}}
    @if ($items->addgodina) {{ $items->addgodina }} yr. | @endif @if ($items->addkilometri) {{ $items->addkilometri }} mi. | @endif @if ($items->addkubatura) {{ $items->addkubatura }} .cc @endif @if ($items->tirewidth) {{ @head($items->tirewidth)->name }} / @endif @if ($items->tireheight) {{ @head($items->tireheight)->name }} @endif @if ($items->tirediameter) ZR-{{ @head($items->tirediameter)->name }} @endif @if ($items->tireposition) -{{ @head($items->tireposition)->name }} @endif
    {{ @$items->imagescount }}{{ @$items->video }}
    @if(count($items->categoryname->parents) != '0') @if(count($items->categoryname->parents) == '1') {{ array_first($items->categoryname->parents)->name }} | @else @foreach(array_sort_recursive($items->categoryname->parents) as $catsitems) {{ $catsitems->name }} | @endforeach @endif @endif {{ $items->categoryname->name }} {{-- {{ @str_limit($items->description, 60) }}--}} @if(!$items->addpromoplans->isEmpty()) @foreach($items->addpromoplans as $promoitems) @php $dt = \Carbon\Carbon::parse($promoitems->end_at); @endphp {{ $promoitems->name }} (to {{ $dt->toDateString() }}) | @endforeach @endif
    @if ($items->vendor) @else private seller: @endif @if ($items->status == 'offline')@else @endif
    Seen: {{ $items->visit }} | Saved: {{ $items->favcount }} | Valid for: {{ $items->daysleft }}

  • @endforeach
{{ $vendoradds->appends(request()->input())->links() }}
@endif
motoadds) style="display: block" @else style="display: none" @endif>

PERSON
@if(strtotime($user['created_at']) > strtotime(\Carbon\Carbon::now()->subDays(20))) NEW @endif

{{ $user->name }} - {{ $user->locationname }}

PHONE

The number is hidden because of security reason.


At WebMoto.us from: {{ $user->created_at }}

@if($paramsobj->vendors) @if($paramsobj->vendors->count() == 1)
motoadds) style="display: block" @else style="display: none" @endif>

BUSINESS PROFILE
@if(strtotime($paramsobj->vendorusers->created_at) > strtotime(\Carbon\Carbon::now()->subDays(20))) NEW @endif

{{ $paramsobj->vendorusers->title }}
{{ $paramsobj->vendorusers->locationname }}
{{ $paramsobj->vendorusers->address }}
@if($paramsobj->vendorusers->skype) {{ $paramsobj->vendorusers->skype }}
@endif @if($paramsobj->vendorusers->description) {{ $paramsobj->vendorusers->description }}
@endif

PHONE

The number is hidden because of security reason.

At WebMoto.us from: {{ $paramsobj->vendorusers->from }}


@else
motoadds && $vendoradds) style="display: block" @else style="display: none" @endif>

BUSINESS PROFILES

@foreach(array_pluck($paramsobj->vendors, 'vendor') as $items)

{{ $items->title }}

{{ $items->locationname }}
{{ $items->vendorphone }}
@endforeach
@endif @endif @include('layouts.sidebar', ['hotlinks' => true, 'sidemenucats' => false]) @include('layouts.banners', ['banner' => '300x250x1']) @include('layouts.sidebar', ['hotlinks' => false, 'sidemenucats' => false])
@include('layouts.catsbox') @endsection @section('footer_scripts') @endsection