HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bdedition/public_html/core/storage/framework/views/4d77afbdec8490754fde9a6e7b8bfc48.php
<div class="news-blog-area">
    <div class="row justify-content-center mb-30-none">
        <?php $__empty_1 = true; $__currentLoopData = $firstFourCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <?php
                $catNews = $cat->news()->latest()->first();
            ?>
            <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 mb-30">
                <div class="news-blog-item">
                    <div class="news-blog-header">
                        <span class="sub-title">
                            <a href="<?php echo e(route('category.details', $cat->id)); ?>">
                                <?php echo e(__(@$cat->name)); ?> <i class="las la-angle-double-right"></i>
                            </a>
                        </span>
                    </div>
                    <div class="news-blog-thumb">
                        <a href="<?php echo e(route('news.details', ['category' =>$catNews->category->slug, 'news' => $catNews->id])); ?>">
                            <img src="<?php echo e(getImage(getFilePath('news') . '/' . $catNews->image, getFileSize('news'))); ?>" alt="news-blog">
                            </a>
                    </div>
                    <div class="news-blog-content">
                        <h3 class="title">
                            <a href="<?php echo e(route('news.details', ['category' =>$catNews->category->slug, 'news' => $catNews->id])); ?>">
                                <?php echo e(__(@$catNews->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($catNews->created_at))); ?>

                            </div>
                        </h3>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
        <?php endif; ?>
    </div>
</div><?php /**PATH /home/bdedition/public_html/core/resources/views/templates/basic/partials/category_news.blade.php ENDPATH**/ ?>