@php
    if (isset($lemars_option)) {
        extract($lemars_option);
    }
    $requiredFieldIndicator = config('Discussion.name_email_require') ? DzHelper::requiredFieldIndicator() : '';
    $isRequired = config('Discussion.name_email_require') ? 'required' : '';
    $comment_author = !empty($_COOKIE['comment_author_'.config('constants.comment_cookie_hash')]) ? $_COOKIE['comment_author_'.config('constants.comment_cookie_hash')] : '';
    $comment_email = !empty($_COOKIE['comment_email_'.config('constants.comment_cookie_hash')]) ? $_COOKIE['comment_email_'.config('constants.comment_cookie_hash')] : '';
    $comment_url = !empty($_COOKIE['comment_website_'.config('constants.comment_cookie_hash')]) ? $_COOKIE['comment_website_'.config('constants.comment_cookie_hash')] : '';

    $post_layout = !empty($post_layout)?$post_layout:'standard'; 
@endphp
@extends('layout.default')

@section('content')

    @include('elements.banner-inner')


    @if($post_layout == 'standard')
        @include('elements.post_template.post_standard');   

    @elseif($post_layout == 'corner_post')     
        @include('elements.post_template.post_cornerimage');    

    @elseif($post_layout == 'link_post')       
        @include('elements.post_template.post_link');   

    @elseif($post_layout == 'video_post')      
        @include('elements.post_template.post_video');  

    @elseif($post_layout == 'audio_post')      
        @include('elements.post_template.post_audio');  

    @elseif($post_layout == 'slider_post_1')                       
        @include('elements.post_template.post_slider_1');   

    @elseif($post_layout == 'slider_post_2')       
        @include('elements.post_template.post_slider_2');   

    @elseif($post_layout == 'slider_post_3')       
        @include('elements.post_template.post_slider_3');   

    @elseif($post_layout == 'quote_post')      
        @include('elements.post_template.post_quote');  
    
    @else
        @include('elements.post_template.post_standard');   
        
    @endif

@endsection