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



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



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



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



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



<div id="container-content">



  <article id="content">



    <div class="container-fluid">



      <div class="row main-content">



        <div class="hidden-xs hidden-sm visibility-md col-md-3">



          <section id="sidebar">







            <div id="sidebar-container">



              <div id="side">



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



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



                <div class="block">



                  <div class='secondnav'><h3><?php echo e($item->title); ?></h3><ul class="navigation">



                    <?php foreach($cate_news_sub as $sub): ?>



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



                    <li <?php if($cate_current->alias == $sub->alias): ?> class="active" <?php endif; ?> >



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



                    </li>



                    <?php endif; ?>



                    <?php endforeach; ?>



                  </ul>



                </div>



                <?php endif; ?>



                <?php endforeach; ?>







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







                <div class="block">



                  <div class='secondnav'><h3><?php echo e($item->name); ?></h3><ul class="navigation">



                    <?php foreach($cate_product_sub as $sub): ?>



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



                    <li <?php if($cate_current->alias == $sub->alias): ?> class="active" <?php endif; ?> >



                      <a href="<?php echo e(url($sub->alias)); ?>"><?php echo e($sub->name); ?></a>



                    </li>



                    <?php endif; ?>



                    <?php endforeach; ?>



                  </ul>



                </div>



                <?php endforeach; ?>



              </section>



            </div>



            <div class="col-xs-12 col-md-9">



              <section id="main-article">



                <article>



                  <div id="breadcrumbs">



                    <ul class="breadcrumb" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">



                     <li><a itemprop="url" href="<?php echo e(url()); ?>"  <?php if(Session::get('lang') == 'vi'): ?> title="Trang chủ" <?php else: ?> title="Home" <?php endif; ?>><span itemprop="title" class="first"><?php if(Session::get('lang') == 'vi'): ?>Trang chủ <?php else: ?> <?php endif; ?></span></a></li>



                     <?php if($cate_current->parent_id > 0 && $cate_root): ?>



                     <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="<?php echo e(url(@$cate_root->alias)); ?>" title="<?php echo e(@$cate_root->title); ?>"><span itemprop="title"><?php echo e(@$cate_root->title); ?></span></a></li>



                     <?php endif; ?>



                     <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="<?php echo e(url(@$cate_current->alias)); ?>" title="<?php echo e(@$cate_current->title); ?>"><span itemprop="title"><?php echo e(@$cate_current->title); ?></span></a></li>







                     <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title" class="last"><?php echo e($news->title); ?></span></li>



                   </ul>



                 </div>                 



                 <article>



                  <div itemscope itemtype="http://schema.org/Article">



                    <h2 class="article-title" itemprop="name"><span><?php echo e($news->title); ?></span></h2>



                    <div class="container-fluid">



                      <div class="row">



                        <div itemtype="articleBody" class="col-xs-12">



                          <?php echo $news->content; ?>







                        </div>



                        <div class="row">



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



                            <h2>Bài cũ hơn</h2>



                            <ul>



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



                              <li>



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



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



                                 <?php echo e($item->title); ?>  </a>



                               </li>



                               <?php endforeach; ?>



                             </ul>



                           </div>



                         </div>



                       </div>                  



                     </article>



                   </div>  



                 </section>



               </div>



             </div>



           </div>



         </article>



       </div>



     </div>



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



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