@extends('frontend.master') @php $pageTitle = isset($course->title) ? $course->title : $page->page_name; $pageTitle .= " | BICM"; @endphp @section('og_title', $pageTitle) @section('og_description',isset($course->shortDescription) ? $course->shortDescription : $page->short_description) @php if(isset($course->id) && isset($course->banner)) $bannerImage = 'storage/uploads/courses/'.$course->id.'/banner/'.$course->banner; elseif(isset($page->id) && isset($page->banner)) $bannerImage = 'storage/uploads/pages/'.$page->id.'/banner/'.$page->banner; else $bannerImage = ''; $socialImage = $bannerImage; if($bannerImage == '') $socialImage = 'assets/frontend/images/bicm-banner-default.jpg'; @endphp @section('og_image', asset($socialImage)) @section('og_url', url()->current()) @section('content') @include('frontend.include.pageBanner', ['image' => asset('storage/uploads/pages/'.$page->id.'/banner/'.$page->banner), 'pageName' => $page->page_name ])
@include('frontend.include.socialLink', ['title' => $pageTitle])

{!! $page->heading ? $page->heading : $page->page_name !!}

{!! nl2br(htmlspecialchars_decode($page->short_description)) !!}
{!! nl2br(htmlspecialchars_decode($page->description)) !!}
@if(!empty($listSettings))
@foreach($listSettings as $key=>$contentInfo) @if($key+1 % 3 == 1)
@endif
{!! $contentInfo->title !!}
{!! $contentInfo->title !!}

{!! $contentInfo->sub_title !!}

    @php $contactLinks = explode(',',$contentInfo->contact_link) @endphp @if(is_array($contactLinks)) @foreach($contactLinks as $keys=>$contactLink) @if($keys == 0)
  • @elseif($keys == 1)
  • @elseif($keys == 2)
  • @endif @endforeach @endif
@if($key+1 % 3 ==0 || !isset($listSettings[$key+1]))
@endif @endforeach
@endif @if($page && $page->tab_status == 1 && isset($page->tab_content))
@endif @if($page && $page->form_status == 1 && isset($contentDetails['formList'])) @php $formList = $contentDetails['formList']; @endphp
@include('frontend.include.applicationFormBlock', ['pageViewType' => 'writeView'])
@endif
@if(!empty($sideBar)) @endif
@if(!empty($contentDetails))
@endif
@endsection @section('customScript') @if($page->type == 1 && $page->form_status == 1) @include('frontend.include.formScript') @endif @endsection