<?php $__env->startSection('title'); ?> Tìm kiếm <?php $__env->stopSection(); ?>



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



<div class="search-input component">



  <form method="GET" action="<?php echo e(url('search-news')); ?>" class="search">



    <input required placeholder="Tìm kiếm bài viết ..." type="text" name="search_news"/>



    <span class="submit"></span>



    <input type="submit"/>



  </form>



</div>



<?php if(count($list_news) >0): ?>



<div class="news-list component" id="news_news-list">



  <h1 class="title"> Kết quả tìm kiếm </h1>



  <div class="boxes">



  <?php foreach($list_news as $items): ?>



  <a data-category="" href="<?php echo e(url($items->alias)); ?>.html" class="box" title="<?php echo e($items->title); ?>">



    <div class="date"><?php echo e(date('d-m-Y',$items->time+7*3600)); ?></div>



    <img alt=""  src="<?php echo e(url($items->thumb)); ?>"/>



    <div class="details">



      <h3 class="articleTitle"><?php echo e($items->title); ?></h3>



      <div class="description"><?php echo e($items->description); ?> </div>



    </div>



    </a> 



  <?php endforeach; ?>



    </div>



  <div class="pagination">



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







  </div>



</div>



  <?php else: ?>



  <div class="news-list component" id="news_news-list">



    <h1 class="title"> Không tìm thấy kết quả nào </h1>



  </div>



  <?php endif; ?>



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







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