{{--{{ dd($paramsobj,$motoadd,$vendordata) }}--}} @extends('layouts/app') @php // if ($motoadd->type == '1' || $motoadd->type == '3') { $pagetitle = $motoadd->model .' '. $motoadd->title; } else { $pagetitle = $paramsobj->marka .' - '; if ($motoadd->model) { $pagetitle .= $motoadd->model; } else { $pagetitle = $motoadd->title; } } $pagetitle = ($motoadd->title) ? $motoadd->title : null; $sectorname = ($paramsobj->sector) ? $paramsobj->sector->name : null; $sectorslug = ($paramsobj->sector) ? $paramsobj->sector->slug : null; $keywords = $pagetitle.','. $paramsobj->godina.','. $sectorname .','. (($paramsobj->category) ? $paramsobj->category->name : null); @endphp @section('header_styles') @endsection @section('keywords', $keywords) @section('description', 'www.WebMoto.us – Online Motorcycle Trader! Ad '.$pagetitle .' - '. $paramsobj->godina) @section('og:title', $pagetitle .' '. $paramsobj->godina) @section('og:url', request()->url()) @section('og:image', array_first($paramsobj->addimage)) @section('title', $pagetitle .' '. $paramsobj->godina) @section('content')
@if($motoadd->status == 'offline')
Attention! This ad is INACTIVE You can find similar ads in category - @if($paramsobj->category) {{ $paramsobj->category->name }}@endif @if($motoadd->user_id == Auth::id()) You can activate the ad or edit it @endif
@endif
@if($motoadd->user_id == Auth::id()) @endif @if ($paramsobj->isfavoriadd) @else @endif @admin @endadmin
@if ($motoadd['promo_price']) {{ $motoadd['price'] }} @if ($paramsobj->valuta) {{ @head($paramsobj->valuta)->value }} @else $. @endif {{ $motoadd['promo_price'] }} @if ($paramsobj->valuta) {{ @head($paramsobj->valuta)->value }} @else $. @endif @else {{ $motoadd['price'] }}@if ($paramsobj->valuta) {{ @head($paramsobj->valuta)->value }} @else $. @endif @endif

@for($i=0; $i < $countstr; $i++) {{ $split[$i] }} @endfor
@if ($paramsobj->godina){{ $paramsobj->godina }} yr. | @endif @if ($paramsobj->addkubatura){{ $paramsobj->addkubatura }} cc | @endif @if ($paramsobj->addkilometri){{ $paramsobj->addkilometri }} mi. @endif @if($motoadd['type'] == '164') @if ($paramsobj->tirewidth) {{ @head($paramsobj->tirewidth)->name }} / @endif @if ($paramsobj->tireheight) {{ @head($paramsobj->tireheight)->name }} @endif @if ($paramsobj->tirediameter) ZR-{{ @head($paramsobj->tirediameter)->name }} @endif @if ($paramsobj->tireposition) | {{ @head($paramsobj->tireposition)->name }} @endif @endif

{{ @str_limit($motoadd['description'], 300) }}


@if($motoadd->vendor_id)

@if(strtotime($motoadd['created_at']) > strtotime(\Carbon\Carbon::now()->subDays(5))) NEW @endif @if($paramsobj->addpromoplans->first()) FEATURED @endif

{{ $vendordata->title }}

dealer ad
@if($vendordata->weburl) @else @endif
{{ $paramsobj->vendorlocation }}
{{ $vendordata->address }}

PHONE

The number is hidden because of security reason.

MESSAGE


Added: {{ @$motoadd['created_at'] }}

@else

PRIVATE AD
@if(strtotime($motoadd['created_at']) > strtotime(\Carbon\Carbon::now()->subDays(5))) NEW @endif @if($paramsobj->addpromoplans->first()) FEATURED @endif

{{ $userdata->name }} - {{ $paramsobj->location }}

PHONE

The number is hidden because of security reason.

MESSAGE


Publish: {{ @$motoadd['created_at'] }}

@endif
@if($specialslist->count() > 0)

Specific parameters

@foreach($specialslist as $specitems)
{{ $specitems->name }}
@endforeach
@endif

{{ @$motoadd['description'] }}

@if ($paramsobj->category) @endif @if ($paramsobj->marka) @endif @if ($motoadd['model']) @endif @if ($paramsobj->godina) @endif @if ($motoadd->kilometri) @endif @if ($motoadd->kubatura) @endif @if ($paramsobj->skorosti) @endif @if ($paramsobj->dvigatel) @endif @if ($motoadd->power) @endif @if ($paramsobj->condition) @endif @if ($motoadd->vin) @endif @if ($motoadd->partnumber) @endif @if ($motoadd->cviat) @endif @if($motoadd['type'] == '164') @if ($paramsobj->tirewidth) @endif @if ($paramsobj->tireheight) @endif @if ($paramsobj->tirewidth) @endif @if ($paramsobj->tirewidth) @endif @endif
Name Value
Category {{ $paramsobj->category->name }}
Make {{ $paramsobj->marka }}
Model {{ $motoadd['model'] }}
Year {{ $paramsobj->godina }}
Mileage {{ $motoadd->kilometri }}
Engine Size {{ $motoadd->kubatura }}
Gear Shifting {{ @head($paramsobj->skorosti)->value }}
Engine Type {{ @head($paramsobj->dvigatel)->value }}
Power {{ $motoadd->power }} h.p.
Condition {{ @head($paramsobj->condition)->value }}
VIN {{ $motoadd->vin }}
Part Number {{ $motoadd->partnumber }}
Color {{ $motoadd->cviat }}
Width {{ @head($paramsobj->tirewidth)->name }}
Height {{ @head($paramsobj->tireheight)->name }}
Diameter {{ @head($paramsobj->tirediameter)->name }}
Placement {{ @head($paramsobj->tireposition)->name }}
@if(!$paramsobj->ratings->isEmpty()) @foreach ($paramsobj->ratings as $items)

{{ $items->fromuser->name }} – {{ $items->created }} @for($i=0; $i<$items->rating; $i++) @endfor @for($ii=0; $ii<=4-$items->rating; $ii++) @endfor

{{ $items->message }}

@endforeach @endif @if(auth()->id() != $motoadd->user_id)
@endif @if(!$paramsobj->ratings->isEmpty()) @if($motoadd->vendor_id) @else @endif @else
No rating for this seller yet!
@endif
@if($paramsobj->addvideo) @endif
@include('layouts.banners', ['banner' => '300x250x1'])

@include('layouts.morefromcat')
@if($morefromuser)
@include('layouts.morefromuser')
@include('layouts.sidebar', ['hotlinks' => true, 'sidemenucats' => false]) @include('layouts.banners', ['banner' => '300x250x2']) @include('layouts.sidebar', ['hotlinks' => false, 'sidemenucats' => true])
@else
@include('layouts.banners', ['banner' => '600x300x1'])
@include('layouts.sidebar', ['hotlinks' => true, 'sidemenucats' => false])
@endif {{-- @include('layouts.catsbox')--}} @endsection @section('footer_scripts') @endsection