@extends('includes.master') @section('content') @include('includes.header')
@if ($m_hero)
@foreach ($m_hero as $hero)
back_image != '') style="background-image: url('storage/modules/{{ $hero->back_image }}');" @endif > @if ($hero->module_image != '') @endif @if ($hero->body != '')
{!! $hero->body !!}
@endif
@endforeach
@endif @if ($m_awards) @foreach ($m_awards as $award) @php $awards = \App\Post::where('category_id',$award->category_id)->take($award->no_of_posts)->get(); @endphp
@if ($awards)
@foreach ($awards as $award_item)

{{ $award_item->title }}

@endforeach
@endif
{!! $award->body !!}
@endforeach @endif @if ($m_steps) @foreach ($m_steps as $step)

{{ $step->title }}

@php $steps = \App\Post::where('category_id',$step->category_id)->take($step->no_of_posts)->get(); @endphp
@if ($steps)
@php $sCNT = 1; @endphp @foreach ($steps as $step_item)
{!! $step_item->excerpt !!}
{{ $sCNT }}
@php $sCNT++; @endphp @endforeach
@endif
@endforeach @endif @if ($m_shops) @foreach ($m_shops as $shop)

{{ $shop->title }}

{!! $shop->body !!}
@endforeach @endif @if ($m_contest) @foreach ($m_contest as $contest)
{!! $contest->body !!}
@guest @lang('site.title_login_register') @endguest @auth @if(setting('competition.submission_entry') == 1) @lang('site.title_send_receipt') @endif @endauth
@endforeach @endif
@include('includes.footer') @endsection