File manager - Edit - /home/linknsbh/linkat.online/storage/framework/views/b79b5f0bd3fdedfc4a38b606efaf71087eac3b7d.php
Back
<?php $__env->startSection('tab-title'); ?> <?php echo e($keywords['Blog'] ?? 'Blog'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta-description', !empty($userSeo) ? $userSeo->blogs_meta_description : ''); ?> <?php $__env->startSection('meta-keywords', !empty($userSeo) ? $userSeo->blogs_meta_keywords : ''); ?> <?php $__env->startSection('page-name'); ?> <?php echo e($keywords['Blog'] ?? 'Blog'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('br-name'); ?> <?php echo e($keywords['Blog'] ?? 'Blog'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!--====== Blog Section Start ======--> <section class="blog-section section-gap"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-8"> <?php if(count($blogs) == 0): ?> <div class="bg-light py-5"> <h3 class="text-center"><?php echo e($keywords['No_Post_Found'] ?? __('No Post Found')); ?>!</h3> </div> <?php else: ?> <!-- Blog loop(Standard) --> <div class="blog-loop standard-blog row"> <!-- Single Post --> <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(auth()->guard('customer')->check()): ?> <?php $postBookmarked = 0; foreach ($bookmarkPosts as $bookmarkPost) { if ($bookmarkPost->post_id == $blog->id) { $postBookmarked = 1; break; } } ?> <?php endif; ?> <!-- Single Post --> <div class=" <?php if($userBs->theme === 'home_thirteen'): ?> col-6 <?php else: ?> col-12 <?php endif; ?> "> <div class="single-post-box"> <a class="post-thumb d-block" href="<?php echo e(route('front.user.blog.detail', [getParam(), $blog->slug, $blog->id])); ?>"> <img class="w-100 lazy" data-src="<?php echo e(asset('assets/front/img/user/blogs/' . $blog->image)); ?>" alt="Image"> </a> <?php $date = \Carbon\Carbon::parse($blog->created_at); ?> <div class="post-meta"> <ul> <li><i class="fal fa-folder-tree"></i><a href="<?php echo e(route('front.user.blogs', getParam()) . '?category=' . $blog->bcategory->id); ?>"><?php echo e($blog->bcategory->name); ?></a> </li> <li><i class="far fa-calendar-alt"></i><a href="#"><?php echo e(date_format($date, 'F d, Y')); ?></a> </li> <?php if($userBs->theme === 'home_thirteen'): ?> <li> <a href="<?php echo e(route('front.user.make_bookmark', ['id' => $blog->id, getParam()])); ?>" class="love_btn post-info-<?php echo e($blog->id); ?> <?php echo e(Auth::guard('customer')->check() == true && $postBookmarked == 1 ? 'post-bookmarked' : ''); ?>"><i class="fas fa-heart"></i></a> </li> <?php endif; ?> </ul> </div> <div class="post-content"> <h3 class="title"> <a href="<?php echo e(route('front.user.blog.detail', [getParam(), $blog->slug, $blog->id])); ?>"><?php echo e(strlen($blog->title) > 50 ? mb_substr($blog->title, 0, 50, 'UTF-8') . '...' : convertUtf8($blog->title)); ?></a> </h3> <a href="<?php echo e(route('front.user.blog.detail', [getParam(), $blog->slug, $blog->id])); ?>" class="<?php if($userBs->theme === 'home_four' || $userBs->theme === 'home_five'): ?> template-btn <?php elseif($userBs->theme === 'home_nine'): ?> btn filled-btn <?php else: ?> main-btn <?php endif; ?> "> <?php echo e($keywords['Learn_More'] ?? 'Learn More'); ?> </a> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <!-- Pagination --> <div> <?php echo e($blogs->appends(['term' => request()->input('term'), 'category' => request()->input('category')])->links()); ?> </div> <?php endif; ?> </div> <div class="col-lg-4 col-md-8"> <!-- sidebar --> <div class="sidebar"> <!-- Search Widget --> <div class="widget search-widget"> <form action="<?php echo e(route('front.user.blogs', getParam())); ?>" method="GET"> <input type="hidden" name="category" value="<?php echo e(request()->input('category')); ?>"> <input type="text" placeholder="<?php echo e($keywords['Search_your_keyword'] ?? 'Search your keyword'); ?>..." name="term" value="<?php echo e(request()->input('term')); ?>"> <button type="submit"><i class="far fa-search"></i></button> </form> </div> <!-- Cat Widget --> <div class="widget cat-widget"> <h4 class="widget-title"><?php echo e($keywords['Categories'] ?? 'Categories'); ?></h4> <?php if(count($blog_categories) == 0): ?> <h4><?php echo e($keywords['No_Blog_Category_Found'] ?? __('No Blog Category Found')); ?> !</h4> <?php else: ?> <ul> <li class="<?php if(empty(request()->input('category'))): ?> active <?php endif; ?>"> <a href="<?php echo e(route('front.user.blogs', getParam())); ?>"><?php echo e($keywords['All'] ?? 'All'); ?> <span>(<?php echo e($allCount); ?>)</span></a> </li> <?php $__currentLoopData = $blog_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bc): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="<?php if($bc->id == request()->input('category')): ?> active <?php endif; ?>"><a href="<?php echo e(route('front.user.blogs', getParam()) . '?category=' . $bc->id); ?>"><?php echo e($bc->name); ?> <span>(<?php echo e($bc->blogs()->count()); ?>)</span></a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <?php endif; ?> </div> </div> </div> </div> </div> </section> <!--====== Blog Section End ======--> <?php $__env->stopSection(); ?> <?php echo $__env->make('user-front.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/linknsbh/linkat.online/resources/views/user-front/blog/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 6.16 |
proxy
|
phpinfo
|
Settings