File: //home/bdedition/www/core/storage/framework/views/2ea7fab9b28c873d76d7f1c72c17de7a.php
<div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 mb-30">
<div class="sidebar custom-sidebar">
<div class="news-tab mb-30">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<button class="nav-link active" id="latest-tab" data-bs-toggle="tab" data-bs-target="#latest"
type="button" role="tab" aria-controls="latest" aria-selected="true">
<?php echo app('translator')->get('Latest'); ?>
</button>
<button class="nav-link" id="read-tab" data-bs-toggle="tab" data-bs-target="#read" type="button"
role="tab" aria-controls="read" aria-selected="false">
<?php echo app('translator')->get('Must Read'); ?>
</button>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="latest">
<div class="widget">
<ul class="small-news-list">
<?php $__empty_1 = true; $__currentLoopData = $bannerLatestNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $latestNewsItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<li class="small-single-news">
<div class="thumb">
<a href="<?php echo e(route('news.details', ['category' =>$latestNewsItem->category->slug, 'news' => $latestNewsItem->id])); ?>">
<img src="<?php echo e(getImage(getFilePath('news') . '/' . $latestNewsItem->image, getFileSize('news'))); ?>" alt="item">
</a>
</div>
<div class="content">
<h5 class="title">
<a href="<?php echo e(route('news.details', ['category' =>$latestNewsItem->category->slug, 'news' => $latestNewsItem->id])); ?>">
<?php echo e(__(@$latestNewsItem->title)); ?>
</a>
<div class="news-time py-1 fs-9">
<i class="fa-regular fa-clock me-1"></i> <?php echo e(bn_number(diffForHumans($latestNewsItem->created_at))); ?>
</div>
</h5>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<?php endif; ?>
</ul>
</div>
</div>
<div class="tab-pane fade" id="read">
<div class="widget">
<ul class="small-news-list">
<?php $__empty_1 = true; $__currentLoopData = $bannerMustRead; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bannerMustReadItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<li class="small-single-news">
<div class="thumb">
<img src="<?php echo e(getImage(getFilePath('news') . '/' . $bannerMustReadItem->image, getFileSize('news'))); ?>"
alt="item">
</div>
<div class="content">
<h5 class="title">
<a href="<?php echo e(route('news.details', ['category' =>$bannerMustReadItem->category->slug, 'news' => $bannerMustReadItem->id])); ?>">
<?php echo e(__(@$bannerMustReadItem->title)); ?>
</a>
</h5>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<?php endif; ?>
</ul>
</div>
</div>
</div>
</div>
<div class="widget mb-30">
<h3 class="widget-title"><?php echo app('translator')->get('News Live'); ?></h3>
<div class="live-thumb">
<iframe width="100%" height="200px" src="<?php echo e(gs('live_news_link')); ?>" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</div>
<?php if($bannerLastTrending): ?>
<div class="widget">
<h3 class="widget-title"><?php echo app('translator')->get('Trending'); ?></h3>
<div class="trending-item">
<div class="trending-thumb">
<a href="<?php echo e(route('news.details', ['category' =>$bannerLastTrending->category->slug, 'news' => $bannerLastTrending->id])); ?>">
<img src="<?php echo e(getImage(getFilePath('news') . '/' . $bannerLastTrending->image, getFileSize('news'))); ?>" alt="news-banner">
</a>
</div>
<div class="trending-content">
<h4 class="title">
<a href="<?php echo e(route('news.details', ['category' =>$bannerLastTrending->category->slug, 'news' => $bannerLastTrending->id])); ?>">
<?php echo e(strLimit(@$bannerLastTrending->title, 100)); ?>
</a>
</h4>
<p><?php echo e(strLimit(@$bannerLastTrending->short_description, 300)); ?></p>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php /**PATH /home/bdedition/public_html/core/resources/views/templates/basic/partials/banner_sidebar.blade.php ENDPATH**/ ?>