관리-도구
편집 파일: 369725bcbf711c261d0fc2aa56a28414.php
<?php $__env->startSection('meta_title', $seo_setting['blog_page']['seo_title']); ?> <?php $__env->startSection('meta_description', $seo_setting['blog_page']['seo_description']); ?> <?php $__env->startSection('contents'); ?> <!-- breadcrumb-area --> <?php if (isset($component)) { $__componentOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c = $attributes; } ?> <?php $component = App\View\Components\Frontend\Breadcrumb::resolve(['title' => __('Blog'),'links' => [ ['url' => route('home'), 'text' => __('Home')], ['url' => route('blogs'), 'text' => __('Blog')], ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Frontend\Breadcrumb::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c)): ?> <?php $attributes = $__attributesOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c; ?> <?php unset($__attributesOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c); ?> <?php endif; ?> <?php if (isset($__componentOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c)): ?> <?php $component = $__componentOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c; ?> <?php unset($__componentOriginalcc52fffb9c918b8f3f4cf5faa6f3a53c); ?> <?php endif; ?> <!-- breadcrumb-area-end --> <!-- blog-area --> <section class="blog-area section-py-120"> <div class="container"> <div class="row"> <div class="col-xl-9 col-lg-8"> <div class="row gutter-20"> <?php $__empty_1 = true; $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <div class="col-xl-4 col-md-6"> <div class="blog__post-item shine__animate-item"> <div class="blog__post-thumb"> <a href="<?php echo e(route('blog.show', $blog->slug)); ?>" class="shine__animate-link blog"><img src="<?php echo e(asset($blog->image)); ?>" alt="img"></a> <a href="<?php echo e(route('blogs', ['category' => $blog->category->slug])); ?>" class="post-tag"><?php echo e($blog->category->translation->title); ?></a> </div> <div class="blog__post-content"> <div class="blog__post-meta"> <ul class="list-wrap"> <li><i class="flaticon-calendar"></i><?php echo e(formatDate($blog->created_at)); ?></li> <li><i class="flaticon-user-1"></i><?php echo e(__('by')); ?> <a href="javascript:;"><?php echo e(truncate($blog->author->name, 14)); ?></a> </li> </ul> </div> <h4 class="title"><a href="<?php echo e(route('blog.show', $blog->slug)); ?>"><?php echo e(truncate($blog->translation->title, 50)); ?></a></h4> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <p class="text-center"><?php echo e(__('No Data Found')); ?></p> <?php endif; ?> </div> <nav class="pagination__wrap mt-25"> <?php echo e($blogs->links()); ?> </nav> </div> <div class="col-xl-3 col-lg-4"> <aside class="blog-sidebar"> <div class="blog-widget widget_search"> <div class="sidebar-search-form"> <form action="<?php echo e(route('blogs')); ?>" method="get"> <input type="text" placeholder="<?php echo e(__('Search here')); ?>" name="search" value="<?php echo e(request('search')); ?>"> <button type="submit"><i class="flaticon-search"></i></button> </form> </div> </div> <div class="blog-widget"> <h4 class="widget-title"><?php echo e(__('Categories')); ?></h4> <div class="shop-cat-list"> <ul class="list-wrap"> <?php $__empty_1 = true; $__currentLoopData = $categories->sortBy('translation.title'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <li> <a href="<?php echo e(route('blogs', ['category' => $category->slug])); ?>"><i class="flaticon-angle-right"></i><?php echo e($category->translation->title); ?></a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <li> <?php echo e(__('No Category Found')); ?> </li> <?php endif; ?> </ul> </div> </div> <div class="blog-widget"> <h4 class="widget-title"><?php echo e(__('Popular Posts')); ?></h4> <?php $__empty_1 = true; $__currentLoopData = $popularBlogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <div class="rc-post-item"> <div class="rc-post-thumb"> <a href="<?php echo e(route('blog.show', $blog->slug)); ?>"> <img class="h_60px" src="<?php echo e(asset($blog->image)); ?>" alt="img"> </a> </div> <div class="rc-post-content"> <span class="date"><i class="flaticon-calendar"></i> <?php echo e(formatDate($blog->created_at)); ?></span> <h4 class="title"><a href="<?php echo e(route('blog.show', $blog->slug)); ?>"><?php echo e(truncate($blog->translation->title, 30)); ?></a> </h4> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <p class=""><?php echo e(__('No latest post yet')); ?>.</p> <?php endif; ?> </div> </aside> </div> </div> </div> </section> <!-- blog-area-end --> <?php $__env->stopSection(); ?> <?php echo $__env->make('frontend.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/inprosysltd/public_html/skill.inprosysltd.com/resources/views/frontend/pages/blog.blade.php ENDPATH**/ ?>