You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/vendor/starter-kit/component/siteSideLeft.blade.php

8 lines
257 B
PHTML

@foreach(\App\Adv::where('active',1)->get() as $ad)
<div class="mb-2">
<a href="{{route('goadv',$ad->id)}}" class="adv">
<img src="{{$ad->imgUrl()}}" alt="[{{$ad->title}}]" title="{{$ad->title}}">
</a>
</div>
@endforeach