<?php $__env->startSection('title'); ?> <?php echo $cate_current->title_seo; ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('site_name'); ?> <?php echo $cate_current->title; ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('url'); ?> <?php echo e(url($cate_current->alias)); ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('description'); ?> <?php echo $cate_current->description_seo; ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('keywords'); ?> <?php echo $cate_current->keyword_seo; ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('image'); ?> <?php echo url($cate_current->image); ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<div id="body">

  <div class="container">

    <hr class="mt0 mb80">

    <div class="article-list">

      <div class="row">

        <div class="col-sm-3 col-md-2">

          <div class="article-filter">

            <?php if(@$cate_root): ?>

            <ul class="list-unstyled mb30 hidden-xs">

              <li> <a class="ts16 tl" href="<?php echo e(url($cate_root->alias)); ?>" title="All"> All </a>

              </li>

              <?php foreach($list_cate_news as $item): ?>

              <?php if($item->parent_id == $cate_root->id): ?>

              <li> <a class="ts16 tl " href="<?php echo e(url($item->alias)); ?>"> <?php echo e($item->title); ?> </a> </li>

              <?php endif; ?>

              <?php endforeach; ?>

            </ul>

            <?php else: ?>

            <ul class="list-unstyled mb30 hidden-xs">

              <li> <a class="ts16 tl" href="<?php echo e(url($cate_current->alias)); ?>" title="All"> All </a>

              </li>

              <?php foreach($list_cate_news as $item): ?>

              <?php if($item->parent_id == $cate_current->id): ?>

              <li> <a class="ts16 tl " href="<?php echo e(url($item->alias)); ?>"> <?php echo e($item->title); ?> </a> </li>

              <?php endif; ?>

              <?php endforeach; ?>

            </ul>

            <?php endif; ?>

            <div class="clearfix"></div>

          </div>

        </div>

        <div class="col-sm-9 col-md-10">

          <div class="row mb60">

            <div class="col-sm-12">

              <section class="textarea-content title-content ts32 tb lh42"><?php echo e($cate_current->title); ?></section>

            </div>

          </div>

          <div class="row">



            <?php foreach($news as $item): ?>

            <div class="col-sm-6 mb50">

              <div class="article-item thumbnail nop br0 bra0">

                <a title="<?php echo e($item->title); ?>" href="<?php echo e(url($item->alias)); ?>">

                  <div class="img-with-css transition b-cover v-center" style="background:url('<?php echo e($item->thumb); ?>') no-repeat">

                    <img class="op0 bra0 nop" src="<?php echo e(url($item->thumb)); ?>" alt="<?php echo e($item->title); ?>">

                  </div>

                </a>

                <div class="caption nop mt15">

                  <p class="nom ts14"><?php echo e(date('d/m/Y',$item->time)); ?></p>

                  <a title="<?php echo e($item->title); ?>" href="<?php echo e(url($item->alias)); ?>">

                    <h3 class="tb tc1 mt10 mb10 ts20 text-capitalize lh32"><?php echo e($item->title); ?></h3>

                  </a>

                  <p class="nom"><?php foreach($tags as $tag): ?> <?php if($item->id == $tag->id_news): ?><a title=" <?php echo e($tag->name); ?>" href="<?php echo e(url('tag')); ?>/<?php echo e($tag->alias); ?>"><?php echo e($tag->name); ?></a> <?php endif; ?> <?php endforeach; ?></p>

                </div>

              </div>

            </div>

            <?php endforeach; ?>

            <div class="col-sm-12 pagination">

              <?php echo str_replace('/?','?',$news->render()); ?>



            </div>

              </div>

            </div>

          </div>

        </div>

        <div class="project-mobile-navigate visible-xs w100">

          <div class="row">

            <div class="col-xs-12"> <button type="button" class="btn bcn btn-block" data-toggle="modal" data-target="#CategoryTemplate"> Category </button> </div>

          </div>

        </div>

        <div class="modal fade" id="CategoryTemplate" tabindex="-1" role="dialog" aria-labelledby="CategoryTemplate" aria-hidden="true">

          <div class="modal-dialog modal-xl modal-fullscreen">

            <div class="modal-content">

              <div class="modal-section category-popup">

                <div class="modal-header br0"> <button type="button" class="close btn bcn ts30" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

                  <h4 class="modal-title tb ts20">Category</h4>

                </div>

                <div class="modal-body">

                  <ul class="list-unstyled">

                    <?php if(@$cate_root): ?>

                    <ul class="list-unstyled">

                      <li class="nav-item"> <a href="<?php echo e(url($cate_root->alias)); ?>" title="All">

                      All </a> </li>

                      <?php foreach($list_cate_news as $item): ?>

                      <?php if($item->parent_id == $cate_root->id): ?>

                      <li class="nav-item"> <a class="nav-link text-capitalize tb ts11 tc1 " href="<?php echo e(url($item->alias)); ?>"> <?php echo e($item->title); ?> </a> </li>

                      <?php endif; ?>

                      <?php endforeach; ?>

                    </ul>

                    <?php else: ?> 

                    <ul class="list-unstyled">

                      <li class="nav-item"> <a href="<?php echo e(url($cate_current->alias)); ?>" title="All">

                      All </a> </li>

                      <?php foreach($list_cate_news as $item): ?>

                      <?php if($item->parent_id == $cate_current->id): ?>

                      <li class="nav-item"> <a class="nav-link text-capitalize tb ts11 tc1 " href="<?php echo e(url($item->alias)); ?>"> <?php echo e($item->title); ?> </a> </li>

                      <?php endif; ?>

                      <?php endforeach; ?>

                    </ul>

                    <?php endif; ?>

                  </ul>

                </div>

              </div>

            </div>

          </div>

        </div>

      </div>

    </div>

    <?php $__env->stopSection(); ?> 

<!--<?php echo str_replace('/?','?',$news->render()); ?>-->

<?php echo $__env->make('frontend.layout.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>