changes
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user