<?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="pl-204" class="maincontent">



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



 <div class="breadcrumb-wrap">



    <div class="container">



      <div class="row">



        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pd5  ">



          <ol class="breadcrumb breadcrumb-arrow">



            <li><a href="<?php echo e(url()); ?>" target="_self">Trang chủ</a></li>



            <li class="active"><span><?php echo e($cate_current->title); ?></span></li>



          </ol>



        </div>



      </div>



    </div>



  </div>



  <div class="page-services">



    <section class="best-construction">



      <div class="container">



        <div class="section-title">



          <div class="subtitle"><?php echo e($site_option->name); ?></div>



          <h2 class="widget-title"><?php echo e($cate_current->title); ?></h2>



          <div class="title-description">



            <p><?php echo e($cate_current->description); ?></p>



          </div>



        </div>



        <div class="section-content">



          <div class="row">



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



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



              <div class="item-services"> <span class="icon"><img src="<?php echo e(url($item->image)); ?>"></span>



                <h6>



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



                </h6>



                <div>



                  <p class="ts-excerpt"><?php echo $item->content; ?></p>



                </div>



              </div>



            </div>



		  <?php endforeach; ?>



          </div>



        </div>



      </div>



    </section>



    <section class="customer-construction bg-arrow">



      <div class="container">



        <div class="section-title">



          <h2 class="widget-title">Thư viện hình ảnh</h2>



        </div>



        <div class="section-content">



          <div class="gallery-services filter-tab">



            <div class="ul-gallery">



              <ul class="controls-filter ">



                <?php foreach($gallery as $k=>$item): ?>



             	 <li class="filter item-tab <?php if($k==0): ?>active <?php endif; ?>"> <a data-toggle="tab" href="#project_<?php echo e($item->id); ?>"> <?php echo e($item->title); ?> </a> </li>



                 <?php endforeach; ?>



               </ul>



            </div>



            <div class="tab-content row row-6">



           <?php foreach($gallery as $k=>$item): ?>



            <div id ="project_<?php echo e($item->id); ?>" class="grid-content gallery tab-pane <?php if($k==0): ?>active <?php endif; ?>">



            <?php foreach($in_gallery as $in): ?>



            <?php if($item->id == $in->id_gallery): ?>



              <div class="gallery-col col-lg-3 col-xs-6 item-8 " >



                <div class="gallery-item">



                  <div class="gallery-thumb"  style="background: #404040 url('<?php echo e(url($in->link)); ?>') no-repeat scroll center center / cover;">



                    <div class="gallery-ovelay">



                      <div class="overlay_icon"> <i class="fa fa-link"></i> </div>



                      <a class="fancybox_gallery lightbox" href="<?php echo e(url($in->link)); ?>" data-imagelightbox-thumbnail  rel="gallery1" title="" ></a> </div>



                  </div>



                </div>



              </div>



            <?php endif; ?>



            <?php endforeach; ?>



            </div>



           <?php endforeach; ?>     



          </div>



            <div style="clear: both;"></div>



          </div>



        </div>



      </div>



    </section>







  </div>



  <?php else: ?>



  <div class="breadcrumb-wrap breadcrumb-wrap-margin">



    <div class="container">



      <div class="row">



        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pd5  ">



          <ol class="breadcrumb breadcrumb-arrow">



            <li><a href="<?php echo e(url()); ?>" target="_self">Trang chủ</a></li>



            <li class="active"><span><?php echo e($cate_current->title); ?></span></li>



          </ol>



        </div>



      </div>



    </div>



  </div>



  <div class="blog-wrap" id="blog">



    <div class="container">



      <div class="main-content row">



        <div class="col-md-9" id="blog-container">



          <div class="">



            <div class="col-md-12 articles clearfix" id="layout-page"> 



              



              <!-- Begin: Nội dung blog -->



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



              <article class="news-article col-md-6">



                <div class="entry-content">



                  <div class="img-article"> <a href="<?php echo e(url($item->alias)); ?>"> <img src="<?php echo e(url($item->thumb)); ?>"  alt="<?php echo e($item->title); ?>"> </a> </div>



                  <div class="entry-body">



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



                    <p><?php echo Helper::getDescription($item->description,50); ?></p>



                  </div>



                </div>



                <div class="entry-meta"> <span class="posted-on"> <i class="fa fa-clock-o"></i> <?php echo e(date('d-m-Y',$item->time)); ?> </span> <span class="cat-links"> <i style="position: relative;" class="fa fa-file-text-o"></i> <?php echo e($item->cate_title); ?> </span> </div>



              </article>



              <?php endforeach; ?>              



              <!-- End: Nội dung blog --> 



              



            </div>



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



              <!-- Begin: Phân trang blog -->



              <div id="pagination" class="">



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



              </div>



              <!-- End: Phân trang blog --> 



            </div>



          </div>



        </div>



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



      </div>



    </div>



  </div>



  <?php endif; ?>



</div>



<script>



var owl =	$("#people_say");



owl.owlCarousel({



	slideSpeed : 100,



	paginationSpeed : 400,



	loop:true,



	responsiveClass:true,nav:false,dots:true,



	items : 1,



	itemsDesktop : [1000,1], 



	itemsDesktopSmall : [900,1], 



	itemsTablet: [600,1],



	autoPlay :  true,



	itemsMobile : false,



});



</script>



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



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