Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/6d7440d4a9a87b05f0310b4ab6b4ea89.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e($blog->seo_title); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <meta name="description" content="<?php echo e($blog->seo_description); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('frontend-content'); ?> <!--===BREADCRUMB PART START====--> <section class="wsus__breadcrumb" style="background: url(<?php echo e($setting->breadcrumb_image ? asset($setting->breadcrumb_image) : ''); ?>);"> <div class="wsus_bread_overlay"> <div class="container"> <div class="row"> <div class="col-12 text-center"> <h4><?php echo e(__('Blog')); ?></h4> <nav style="--bs-breadcrumb-divider: '-';" aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>"><?php echo e(__('Home')); ?></a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('Blog')); ?></li> </ol> </nav> </div> </div> </div> </div> </section> <!--===BREADCRUMB PART END====--> <!--=====BLOG DETAILS START=====--> <section class="wsus__blog_details mt_45 mb_45 xs_mb_20"> <div class="container"> <div class="row"> <div class="col-xl-8 col-lg-7"> <div class="wsus__blog_det_area"> <div class="wsus__blog_det_img"> <img src="<?php echo e(asset($blog->image)); ?>" alt="blod images" class="img-fluid w-100" loading="lazy"> <p> <span><i class="fal fa-user-clock"></i> <?php echo e($blog->admin->name); ?></span> <span><i class="fal fa-comment-alt-dots"></i> <?php echo e($blog->comments->where('status', 1)->count()); ?> <?php echo e(__('Comments')); ?></span> <span><i class="far fa-eye"></i><?php echo e($blog->views); ?> <?php echo e(__('Views')); ?></span> </p> </div> <h3><?php echo e($blog->translation->title); ?></h3> <?php echo clean($blog->translation->description); ?> <div class="wsus__blog_comment"> <h3><?php echo e($blog->comments->where('status', 1)->count()); ?> <?php echo e(__('Comments')); ?></h3> <?php $__currentLoopData = $blogComments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="wsus__single_comment"> <div class="wsus__comm_img"> <img src="<?php echo e(asset($setting->default_avatar)); ?>" alt="comment img" class="img-fluid img-thumbnail" loading="lazy"> </div> <div class="wsus__comm_text"> <h4><?php echo e($comment->name); ?></h4> <span><?php echo e($comment->created_at->format('d M Y')); ?></span> <p><?php echo e($comment->comment); ?></p> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="col-12"> <?php echo e($blogComments->links('custom_paginator')); ?> </div> <h3 class="border-0 pt-0"><?php echo e(__('Submit Comment')); ?></h3> <form action="<?php echo e(route('blog.comment',$blog->id)); ?>" method="POST"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-xl-6"> <input type="text" name="name" placeholder="<?php echo e(__('Name')); ?>"> </div> <div class="col-xl-6"> <input type="email" name="email" placeholder="<?php echo e(__('Email')); ?>"> </div> <div class="col-xl-12"> <textarea cols="3" rows="4" placeholder="<?php echo e(__('Comment')); ?>" name="comment"></textarea> <?php if($setting->recaptcha_status == 'active'): ?> <p class="g-recaptcha mb-3" data-sitekey="<?php echo e($setting->recaptcha_site_key); ?>"></p> <?php endif; ?> <button class="common_btn" type="submit"><?php echo e(__('Submit')); ?></button> </div> </div> </form> </div> </div> </div> <div class="col-xl-4 col-lg-5"> <div class="wsus__property_sidebar mb-0" id="sticky_sidebar"> <div class="wsus__blog_search"> <h5><?php echo e(__('Search Blog')); ?></h5> <form action="<?php echo e(route('blog')); ?>" method="GET"> <input type="text" placeholder="<?php echo e(__('Type')); ?>" name="search" required> <button class="common_btn" type="submit"><i class="fal fa-search"></i></button> </form> </div> <div class="wsus__search_categoy"> <h5><?php echo e(__('Categories')); ?></h5> <ul> <?php $__currentLoopData = $blogCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a href="<?php echo e(route('blog',['category' => $category->slug])); ?>"><?php echo e($category->translation->title); ?> <span><?php echo e($category->posts->where('status', 1)->count()); ?></span></a></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <div class="wsus__blog_post"> <h5><?php echo e(__('Popular Blog')); ?></h5> <div class="row"> <?php $colorId=1; ?> <?php $__currentLoopData = $popularBlogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $popular_blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($index %4 ==0){ $colorId=1; } $color=""; if($colorId==1){ $color=""; }else if($colorId==2){ $color="oreangr"; }else if($colorId==3){ $color="gren"; }else if($colorId==4){ $color="blur"; } ?> <div class="col-xl-12 col-md-6 col-lg-12"> <div class="wsus__single_blog"> <div class="wsus__blog_img"> <img src="<?php echo e(asset($popular_blog->image)); ?>" alt="blog items" class="img-fluid w-100" loading="lazy"> <span class="category <?php echo e($color); ?>"><?php echo e($popular_blog->category?->title); ?></span> </div> <div class="wsus__blog_text"> <p class="blog_date"> <span><?php echo e($popular_blog->created_at->format('d')); ?></span> <span><?php echo e($popular_blog->created_at->format('m')); ?></span> <span><?php echo e($popular_blog->created_at->format('Y')); ?></span> </p> <span class="comment"><i class="fal fa-comment-dots"></i> <?php echo e($popular_blog->comments->where('status', 1)->count()); ?></span> <div class="wsus__blog_header d-flex flex-wrap align-items-center justify-content-between"> <div class="blog_header_images d-flex flex-wrap align-items-center w-100"> <img src="<?php echo e($popular_blog->admin->image ? asset($popular_blog->admin->image) : asset($setting->default_avatar)); ?>" alt="bloger" class="img-fluid img-thumbnail" loading="lazy"> <span><?php echo e($popular_blog->admin->name); ?></span> </div> </div> <a href="<?php echo e(route('blog.details',$popular_blog->slug)); ?>" class="blog_title"><?php echo e($popular_blog->title); ?></a> <p><?php echo e($popular_blog->translation->short_description); ?></p> </div> </div> </div> <?php $colorId ++; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> </div> </section> <!--=====BLOG DETAILS END=====--> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layout1', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/blog-details.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка