<div class="bgheadproject hidden-xs" style="background: url('<?php echo e(theme_option('breadcrumb_background') ? RvMedia::url(theme_option('breadcrumb_background')) : Theme::asset()->url('images/banner-du-an.jpg')); ?>')">
    <div class="description">
        <div class="container-fluid w90">
            <h1 class="text-center"><?php echo BaseHelper::clean($post->name); ?></h1>
            <?php echo Theme::partial('breadcrumb'); ?>

        </div>
    </div>
</div>

<div class="container padtop50">
    <?php echo apply_filters('ads_render', null, 'post_detail_before'); ?>


    <div class="row">
        <div class="col-sm-9">
            <?php echo Theme::partial('post-meta', compact('post')); ?>

            <div class="scontent">
                <?php echo apply_filters('before_single_content_detail', null, $post); ?>


                <div class="ck-content"><?php echo BaseHelper::clean($post->content); ?></div>
                <?php echo apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, theme_option('facebook_comment_enabled_in_post', 'yes') == 'yes' ? Theme::partial('comments') : null); ?>


                <?php echo apply_filters('after_single_content_detail', null, $post); ?>


                <?php if($post->tags->count()): ?>
                    <div class="ps-tags">
                        <p>
                            <strong><?php echo e(__('Tags')); ?></strong>: <?php $__currentLoopData = $post->tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <a href="<?php echo e($tag->url); ?>"><?php echo e($tag->name); ?></a><?php if(!$loop->last): ?>, <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </p>
                    </div>
                <?php endif; ?>
                <br>
                <?php echo Theme::partial('share', ['title' => __('Share this post'), 'description' => $post->description]); ?>

            </div>
            <div class="clearfix"></div>
            <?php $relatedPosts = get_related_posts($post->id, 2); ?>

            <?php if($relatedPosts->count()): ?>
                <br>
                <h5><strong><?php echo e(__('Related posts')); ?></strong>:</h5>
                <div class="blog-container">
                    <div class="row">
                        <?php $__currentLoopData = $relatedPosts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $relatedItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-md-6 col-sm-6 container-grid">
                                <div class="grid-in">
                                    <div class="grid-shadow grid-shadow-gray">
                                        <div class="hourseitem" style="margin-top: 0;">
                                            <div class="blii">
                                                <div class="img"><img style="border-radius: 0" class="thumb" data-src="<?php echo e(RvMedia::getImageUrl($relatedItem->image, 'small', false, RvMedia::getDefaultImage())); ?>" src="<?php echo e(RvMedia::getImageUrl($relatedItem->image, 'small', false, RvMedia::getDefaultImage())); ?>" alt="<?php echo e($relatedItem->name); ?>">
                                                </div>
                                                <a href="<?php echo e($relatedItem->url); ?>" class="linkdetail"  title="<?php echo e($relatedItem->name); ?>"></a>
                                            </div>
                                        </div>
                                        <div class="grid-h">
                                            <div class="blog-title">
                                                <a href="<?php echo e($relatedItem->url); ?>">
                                                    <h2><?php echo e($relatedItem->name); ?></h2></a>
                                                <div class="post-meta"><p class="d-inline-block"><?php echo e($relatedItem->created_at->translatedFormat('d M, Y')); ?></p> - <p class="d-inline-block"><i class="fa fa-eye"></i> <?php echo e(number_format($relatedItem->views)); ?></p></div>
                                            </div>
                                            <div class="blog-excerpt">
                                                <p><?php echo e(Str::words($relatedItem->description, 40)); ?></p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            <?php endif; ?>
        </div>
        <div class="col-sm-3">
            <?php echo apply_filters('ads_render', null, 'blog_sidebar_before'); ?>


            <?php echo dynamic_sidebar('primary_sidebar'); ?>


            <?php echo apply_filters('ads_render', null, 'blog_sidebar_after'); ?>

        </div>
    </div>

    <?php echo apply_filters('ads_render', null, 'post_detail_after'); ?>

</div>
<br>
<br>
<?php /**PATH /home/gyannewsoftware/public_html/realestate13_FlexHome/platform/themes/flex-home/views/post.blade.php ENDPATH**/ ?>