
<?php $__env->startSection('content'); ?>
<div class="section--sm">
	<div class="container">
		<div class="row g-4 gy-lg-0">
			<div class="col-lg-8">
				<img
					src="<?php echo e(getImage('assets/images/frontend/blog/'.$blog->data_values->image, '855x570')); ?>"
					alt="image"
					class="img-fluid w-100"
				/>
				<h3><?php echo e(__($blog->data_values->title)); ?></h3>

                <ul class="list list--row align-items-center blog-post__info-list">
                    <li>
                        <span class="blog-post__info">
                            <?php echo e(showDateTime($blog->created_at, 'j F Y')); ?>

                        </span>
                    </li>
                    <li>
                        <span class="blog-post__info">
                            <span class="blog-post__info-icon">
                                <i class="lar la-clock"></i>
                            </span>
                            <?php echo e(diffForHumans($blog->created_at)); ?>

                        </span>
                    </li>
                </ul>

				<div>
                    <?php echo $blog->data_values->description ?>
                </div>

                <div class="text-center mt-5 mb-4">
                    <h5 class="caption"><?php echo app('translator')->get('Share This Post'); ?></h5>
                    <ul class="social__links list-unstyled d-flex justify-content-center">
                        <li class="m-2"><a class="p-2 text--dark" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(urlencode(url()->current())); ?>"><i class="fab fa-facebook-f"></i></a></li>
                        <li class="m-2"><a class="p-2 text--dark" href="https://twitter.com/intent/tweet?text=my share text&amp;url=<?php echo e(urlencode(url()->current())); ?>"><i class="fab fa-twitter"></i></a></li>
                        <li class="m-2"><a class="p-2 text--dark" href="https://pinterest.com/pin/create/bookmarklet/?media=<?php echo e(asset('assets/images/frontend/blog').'/'.$blog->data_values->image); ?>&url=<?php echo e(urlencode(url()->current())); ?>&is_video=[is_video]&description=<?php echo e($blog->data_values->title); ?>"><i class="fab fa-pinterest-p"></i></a></li>
                        <li class="m-2"><a class="p-2 text--dark" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=<?php echo e(urlencode(url()->current())); ?>"><i class="fab fa-linkedin-in"></i></a></li>
                    </ul>
                </div>

                <div class="comment-form-area">
                    <div class="fb-comments" data-href="<?php echo e(route('blog.details', [slug($blog->data_values->title), $blog->id])); ?>" data-width="" data-numposts="5"></div>
                </div>
			</div>
			<div class="col-lg-4">
				<div class="sidebar mb-4">
					<div class="sidebar__head">
						<h5 class="sidebar__head-title"><?php echo app('translator')->get('Recent Posts'); ?></h5>
					</div>
					<div class="sidebar__body">
						<ul class="list">
                            <?php $__currentLoopData = $latests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $recent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li>
                                    <div class="recent-post">
                                        <div class="recent-post__img">
                                            <img
                                                src="<?php echo e(getImage('assets/images/frontend/blog/thumb_'.$recent->data_values->image, '415x250')); ?>"
                                                alt="image"
                                                class="recent-post__img-is"
                                            />
                                        </div>
                                        <div class="recent-post__content">
                                            <h5 class="recent-post__title">
                                                <a href="<?php echo e(route('blog.details', [slug($recent->data_values->title), $recent->id])); ?>" class="recent-post__title-link">
                                                    <?php echo e(__($recent->data_values->title)); ?>

                                                </a>
                                            </h5>
                                            <span class="recent-post__date"><?php echo e(showDateTime($recent->craeted_at, 'j F Y')); ?></span>
                                        </div>
                                    </div>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						</ul>
					</div>
				</div>

				<div class="sidebar">
					<div class="sidebar__head">
						<h5 class="sidebar__head-title"><?php echo app('translator')->get('Most Views'); ?></h5>
					</div>
					<div class="sidebar__body">
						<ul class="list">
                            <?php $__currentLoopData = $popular; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $recent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li>
                                    <div class="recent-post">
                                        <div class="recent-post__img">
                                            <img
                                                src="<?php echo e(getImage('assets/images/frontend/blog/thumb_'.$recent->data_values->image, '415x250')); ?>"
                                                alt="image"
                                                class="recent-post__img-is"
                                            />
                                        </div>
                                        <div class="recent-post__content">
                                            <h5 class="recent-post__title">
                                                <a href="<?php echo e(route('blog.details', [slug($recent->data_values->title), $recent->id])); ?>" class="recent-post__title-link">
                                                    <?php echo e(__($recent->data_values->title)); ?>

                                                </a>
                                            </h5>
                                            <span class="recent-post__date"><?php echo e(showDateTime($recent->craeted_at, 'j F Y')); ?></span>
                                        </div>
                                    </div>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						</ul>
					</div>
				</div>

			</div>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('fbComment'); ?>
    <?php echo loadExtension('fb-comment') ?>
<?php $__env->stopPush(); ?>
<?php echo $__env->make($activeTemplate .'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/kutwos5/public_html/core/resources/views/templates/ptc_diamond/blog/details.blade.php ENDPATH**/ ?>