53 lines
1.4 KiB
PHP
53 lines
1.4 KiB
PHP
|
@if(isset($show))
|
||
|
|
||
|
<div class="{{$css}}">
|
||
|
<div class="row">
|
||
|
@php
|
||
|
|
||
|
$Countries = MPCMS::getDemandCountries();
|
||
|
@endphp
|
||
|
|
||
|
@if ($Countries && count($Countries) > 0)
|
||
|
@foreach ($Countries as $Country)
|
||
|
<div class="col-md-3 text-center">
|
||
|
<a href="{{site_url('country/'.$Country->alias)}}">
|
||
|
<img class="img-fluid" src="{{site_url($Country->image_thumb)}}" alt="">
|
||
|
</a>
|
||
|
<a href="{{site_url('country/'.$Country->alias)}}">
|
||
|
<p class="custom-text2 mt-3 text-center">{!! $Country->title !!}</p>
|
||
|
</a>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
@else
|
||
|
|
||
|
Country not added or published.
|
||
|
|
||
|
@endif
|
||
|
</div>
|
||
|
</div>
|
||
|
@else
|
||
|
<div class="{{$css}}">
|
||
|
<div class="row">
|
||
|
@php
|
||
|
$JobDemands = MPCMS::getPaperDemands();
|
||
|
@endphp
|
||
|
|
||
|
@if ($JobDemands && count($JobDemands) > 0)
|
||
|
@foreach ($JobDemands as $JobDemand)
|
||
|
<div class="col-md-3 text-center">
|
||
|
<a href="{{site_url('demand/'.$JobDemand->alias)}}">
|
||
|
<img class="img-fluid" src="{{site_url($JobDemand->thumb)}}" alt="">
|
||
|
</a>
|
||
|
<a href="{{site_url('demand/'.$JobDemand->alias)}}">
|
||
|
<p class="custom-text2 mt-3 text-center">{!! $JobDemand->title !!}</p>
|
||
|
</a>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
@else
|
||
|
|
||
|
Country not added or published.
|
||
|
|
||
|
@endif
|
||
|
</div>
|
||
|
</div>
|
||
|
@endif
|