This commit is contained in:
tanch0
2024-06-21 13:29:04 +05:45
parent 5b3c44aa33
commit 25760ad989
50 changed files with 1180 additions and 111 deletions

View File

@ -75,14 +75,14 @@
<div class="col-lg-3">
<aside class="widget-area mt-50">
@foreach ($adsWithChildren as $items)
@if ($items->ad_categories_id == 7)
@if ($items->ad_categories_id == 7 && now()->isBefore($items->valid_till))
<section class="widget widget_featured_reports">
<img src="{{ asset($items->thumb) }}" alt="{{ $items->title }}" class="img-fluid">
</section>
@endif
@if ($items->children->isNotEmpty())
@foreach ($items->children as $item)
@if ($item->ad_categories_id == 7)
@if ($item->ad_categories_id == 7 && now()->isBefore($item->valid_till))
<section class="widget widget_featured_reports">
<img src="{{ asset($item->thumb) }}" alt="{{ $item->title }}"
class="img-fluid">
@ -104,7 +104,7 @@
<div class="col-lg-12">
@if ($ads->isNotEmpty())
@foreach ($ads as $ad)
@if ($ad->ad_categories_id == 6)
@if ($ad->ad_categories_id == 6 && now()->isBefore($ad->valid_till))
<a href="{{ $ad->link }}">
<img src="{{ asset($ad->thumb) }}" alt="{{ $ad->title }}" class="img-fluid">
</a>