@extends('master') @section('title'){{ config('app.name') }} @stop @section('description', 'This is description tag') @section('content') @if (Session::has('payment_message')) @php $response = Session::get('payment_message') @endphp
{{{ $response['message'] }}}
@endif @php if (Schema::hasTable('users')){ $slide_unserialize_array = App\Models\SiteManagement::getMetaValue('slides'); $welcome_slide_unSerialize_array = App\Models\SiteManagement::getMetaValue('welcome_slides'); $published_articles = App\Models\Article::getPublishedArticle(); $page_slug = App\Models\SiteManagement::getMetaValue('pages'); $page_data = App\Models\Page::getPageData($page_slug[0]); if(!empty($page_data)){ $welcome_desc = preg_replace("/]+\>/i", " ", $page_data->body); }else{ $welcome_desc = ""; } } @endphp @if (!empty($slide_unserialize_array)) @endif @if (!empty($page_data))
@if (!empty($welcome_slide_unSerialize_array))
@endif
{{{$page_data->sub_title}}}

{{{$page_data->title}}}

@php echo Illuminate\Support\Str::limit(stripslashes($welcome_desc), 500, '') @endphp
@endif
@if (!empty($published_articles))

Editions

View All
@if (!empty($published_articles)) @foreach ($published_articles as $article) @php $edition_image = App\Models\Helper::getEditionImage($article->edition_id,'medium') ;@endphp @endforeach @endif
@include('includes.widgetsidebar')
@endif
@endsection