<?php $__env->startSection('title'); ?> <?php echo $cate_current->title_seo; ?> <?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('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 if($cate_current->position == 1): ?>



                <div class="block">



                  <div class='secondnav'><h3><?php if(Session::get('lang')=='vi'): ?> Giới thiệu <?php else: ?> Introduce <?php endif; ?></h3><ul class="navigation">



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



                   <li>



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



                  </li>



                  <?php endforeach; ?>



                </ul>



              </div>



              <?php else: ?>







              <?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; ?>



              <?php endif; ?>



            </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"><span itemprop="title" class="last"><?php echo e($cate_current->title); ?></span></li>



                </ul>



              </div>                  



              <article>



                <?php if($cate_current->position == 0): ?>



                <div class="newscat">



                  <h2><span><?php echo e($cate_current->title); ?></span></h2> 



                  <div class="container-fluid">



                    <div class="row row-equal-height">



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



                      <div class="col-xs-12 col-sm-6 col-equal news-item" itemscope itemtype="http://schema.org/Article">



                        <div class="row">



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



                            <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>



                           </div>



                         </div>



                         <div class="row">



                          <div class="col-xs-12 news-thumbnail">



                            <img class="center-block img-rounded" itemprop="image" src="<?php echo e(url($item->thumb)); ?>" alt="<?php echo e($item->title); ?>"/>



                          </div>



                          <div class="col-xs-12 news-intro">



                            <p itemprop="description">



                             <?php echo e(Helper::getDescription($item->description,40)); ?>







                           </p>



                         </div>



                       </div>



                     </div>



                     <?php endforeach; ?>



                   </div>



                 </div>



                 <div class="paginator"> 



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







                </div>



                <?php endif; ?>



                <!-- end template news -->



                <?php if($cate_current->position == 1): ?>



                <article>



                  <h2><?php echo e($cate_current->title); ?></h2>



                  <ul class=" navigation sitemapnav">



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



                    <li >



                      <a href="<?php echo e(url($item->url)); ?>"  <?php if(Helper::check_sub('menu',$item->id)): ?> class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" <?php endif; ?>><span><?php echo e($item->name); ?></span> <?php if(Helper::check_sub('menu',$item->id)): ?><span class="caret"></span><?php endif; ?></a>



                       <?php if(Helper::check_sub('menu',$item->id)): ?>



                      <ul >



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



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



                        <li>



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



                           <?php echo e($sub->name); ?>







                          </a>



                        </li>



                        <?php endif; ?>



                        <?php endforeach; ?>



                      </ul>



                      <?php endif; ?>



                    </li>



                    <?php endforeach; ?>



                   </ul>                  



                 </article>



                    <?php endif; ?>



                    <!-- end template sitemap -->







                



                  </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(); ?>