File: //var/www/hobbyistgarage/storage/framework/views/f6383757c42f79fa467b675a03f5c2a89b317f8c.php
<?php $__env->startSection('content'); ?>
<!-- Start page content -->
<div id="page-content" class="page-wrapper">
<div class="zm-section single-post-wrap bg-white ptb-40 xs-pt-30">
<div class="container">
<div class="row">
<!-- Start left side -->
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 columns">
<div class="row mb-40">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="section-title">
<?php $__currentLoopData = $article->categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(is_object($category)): ?>
<a class="h6 header-color inline-block uppercase" href="<?php echo e(url('/category/'.$category->short_url)); ?>"><?php echo e($category->name); ?></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class="row">
<!-- Start single post image formate-->
<div class="col-md-12 border-bottom">
<article class="zm-post-lay-single">
<?php if($article->video): ?>
<div class="zm-post-video zm-video-lay-a" data-dark-overlay="2.5">
<div class="zm-video-thumb" >
<img src="<?php echo e(url('/media/'.$article->banner_url)); ?>" alt="video">
<a class="video-activetor" href="<?php echo e($article->video_url); ?>">
<i class="fa fa-play-circle-o"></i>
</a>
</div>
</div>
<?php else: ?>
<div class="zm-post-thumb">
<a href="#"><img src="<?php echo e(url('/media/'.$article->banner_url)); ?>" alt="img"></a>
</div>
<?php endif; ?>
<div class="zm-post-dis">
<div class="zm-post-header">
<h2 class="zm-post-title h2"><a href="#"><?php echo e($article->title); ?></a></h2>
<div class="zm-post-meta">
<ul>
<li class="s-meta"><a href="#" class="zm-date"><?php echo e(date("l, F d, Y", strtotime($article->published_at))); ?></a></li>
</ul>
</div>
</div>
<div class="zm-post-content">
<?php echo $article->article; ?>
</div>
<div class="entry-meta-small clearfix ptb-40 mtb-40 border-top">
<div class="meta-list pull-left">
<span class="post-title">Tags</span>
<?php $__currentLoopData = $article->tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(is_object($tag)): ?>
<a href="<?php echo e(url('/tag/'.$tag->short_url)); ?>" rel="tag"><?php echo e($tag->name); ?></a>
<?php if(!$loop->first && !$loop->last): ?> , <?php endif; ?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<div class="share-social-link pull-right">
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(urlencode(url()->current())); ?>"><i class="ti-facebook"></i></a>
<a target="_blank" href="http://twitter.com/share?text=<?php echo e(urlencode($article->title)); ?>&url=<?php echo e(urlencode(url()->current())); ?>"><i class="ti-twitter-alt"></i></a>
<a target="_blank" href="http://reddit.com/submit?url=<?php echo e(urlencode(url()->current())); ?>&title=<?php echo e(urlencode($article->title)); ?>"><i class="ti-reddit"></i></a>
<a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo e(urlencode(url()->current())); ?>&title=<?php echo e(urlencode($article->title)); ?>&summary=<?php echo e(urlencode($article->description)); ?>&source=LinkedIn"><i class="ti-linkedin"></i></a>
<a target="_blank" href="http://pinterest.com/pin/create/button/?media=<?php echo e(urlencode(url('/media/'.$article->banner_url))); ?>&url=<?php echo e(urlencode(url()->current())); ?>&description=<?php echo e(urlencode($article->title)); ?>"><i class="ti-pinterest"></i></a>
<a target="_blank" href="mailto:?to=&subject=<?php echo e($article->title); ?>&body=A friend has shared an article with you, check it out: <?php echo e(url()->current()); ?>"><i class="ti-email"></i></a>
</div>
</div>
</div>
</article>
</div>
<!--Start Similar post -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 ptb-40 mtb-40">
<aside class="zm-post-lay-a2-area">
<div class="post-title mb-40">
<h2 class="h6 inline-block">Similar Posts For You</h2>
</div>
<div class="row">
<div class="zm-posts clearfix">
<?php if(isset($related_articles)): ?>
<?php $__currentLoopData = $related_articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4">
<article class="zm-post-lay-a2">
<div class="zm-post-thumb">
<a href="<?php echo e(url('/article/'.$article->short_url)); ?>"><img src="<?php echo e(url('/media/'.$article->banner_url)); ?>" alt="img"></a>
</div>
<div class="zm-post-dis">
<div class="zm-post-header">
<h2 class="zm-post-title h2"><a href="<?php echo e(url('/article/'.$article->short_url)); ?>"><?php echo e($article->title); ?></a></h2>
<div class="zm-post-meta">
<ul>
<li class="s-meta"><a href="<?php echo e(url('/article/'.$article->short_url)); ?>" class="zm-date"><?php echo e(date("l, F d, Y", strtotime($article->published_at))); ?></a></li>
</ul>
</div>
</div>
</div>
</article>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</div>
</div>
</aside>
</div>
<!-- End similar post -->
<!-- Start comment form -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="comment-form-area">
<div class="post-title mb-40">
<h2 class="h6 inline-block">leave a comment</h2>
</div>
<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
var disqus_config = function () {
this.page.url = '<?php echo e(url()->current()); ?>'; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = '<?php echo e($article->short_url); ?>'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://hobbyistgarage.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>
</div>
<!-- End comment form -->
</div>
</div>
<!-- End left side -->
<!-- Start Right sidebar -->
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 sidebar-warp columns">
<div class="row">
<!-- Start Subscribe From -->
<div class="col-md-12 col-lg-12 col-sm-6 sm-mb-50">
<aside class="subscribe-form bg-dark text-center sidebar">
<h3 class="uppercase zm-post-title">Get Email Updates</h3>
<p>Join our awesome subscribers and update yourself with our exclusive news.</p>
<?php echo $__env->make('znews._partials.newsletter', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</aside>
</div>
<!-- End Subscribe From -->
<!-- Start post layout E -->
<aside class="zm-post-lay-e-area col-sm-6 col-md-12 col-lg-12 mt-70">
<?php if($trending): ?>
<div class="row mb-40">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="section-title">
<h2 class="h6 header-color inline-block uppercase">Trending</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="zm-posts">
<?php $__currentLoopData = $trending; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<!-- Start single post layout E -->
<article class="zm-post-lay-e zm-single-post clearfix">
<div class="zm-post-thumb f-left">
<a href="<?php echo e(url('article/'.$article->short_url)); ?>"><img src="<?php echo e(url('/media/'.$article->banner_url )); ?>" alt="img"></a>
</div>
<div class="zm-post-dis f-right">
<div class="zm-post-header">
<h2 class="zm-post-title"><a href="<?php echo e(url('article/'.$article->short_url)); ?>"><?php echo e($article->title); ?></a></h2>
<div class="zm-post-meta">
<ul>
<li class="s-meta"><a href="<?php echo e(url('article/'.$article->short_url)); ?>" class="zm-date"><?php echo e(date("l, F d, Y", strtotime($article->published_at))); ?></a></li>
</ul>
</div>
</div>
</div>
</article>
<!-- Start single post layout E -->
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<?php endif; ?>
</aside>
<!-- End post layout E -->
<aside class="zm-post-lay-f-area col-sm-6 col-md-12 col-lg-12 mt-70">
<?php if($populars): ?>
<div class="row mb-40">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="section-title">
<h2 class="h6 header-color inline-block uppercase">Popular</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="zm-posts">
<?php $__currentLoopData = $populars; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<!-- Start single post layout E -->
<article class="zm-post-lay-e zm-single-post clearfix">
<div class="zm-post-thumb f-left">
<a href="<?php echo e(url('article/'.$article->short_url)); ?>"><img src="<?php echo e(url('/media/'.$article->banner_url )); ?>" alt="img"></a>
</div>
<div class="zm-post-dis f-right">
<div class="zm-post-header">
<h2 class="zm-post-title"><a href="<?php echo e(url('article/'.$article->short_url)); ?>"><?php echo e($article->title); ?></a></h2>
<div class="zm-post-meta">
<ul>
<li class="s-meta"><a href="<?php echo e(url('article/'.$article->short_url)); ?>" class="zm-date"><?php echo e(date("l, F d, Y", strtotime($article->published_at))); ?></a></li>
</ul>
</div>
</div>
</div>
</article>
<!-- Start single post layout E -->
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<?php endif; ?>
</aside>
</div>
</div>
<!-- End Right sidebar -->
</div>
</div>
</div>
</div>
<!-- End page content -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('znews.layout.blog', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/hobbyistgarage/resources/views/newsandreviews/show.blade.php ENDPATH**/ ?>