<?php $__env->startSection('title'); ?> <?php echo $site_option->name; ?> <?php $__env->stopSection(); ?>



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



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



<?php $__env->startSection('keyword'); ?> <?php echo $site_option->keyword_seo; ?> <?php $__env->stopSection(); ?>



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



<main>



  <div class="container">



    <div class="slide-main">



      <div id="carousel-id" class="carousel slide" data-ride="carousel">



        <ol class="carousel-indicators">



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



          <li data-target="#carousel-id" data-slide-to="<?php echo e($k); ?>" <?php if($k==0): ?>class="active" <?php endif; ?>></li>



          <?php endforeach; ?>



        </ol>



        <div class="carousel-inner">



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



          <div class="item <?php if($k==0): ?>active <?php endif; ?>"> <img alt="<?php echo e($item->title); ?>" src="<?php echo e(url($item->link)); ?>"> </div>



        <?php endforeach; ?>



        </div>



        <a class="left carousel-control" href="#carousel-id" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" href="#carousel-id" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> </div>



    </div>



    <div class="main-content">



      <div class="row">



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



        <div class="box-right">



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



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



            <div class="list-news-right">



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



              <div class="box-news-right row">



              <?php $i=0; ?>



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



              <?php if($news->id == $news->news_id && $item->id == $news->to_cate): ?>



              <?php $i++; ?>



             	<?php if($i==1): ?>



                <div class="firt-box">



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



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



                    <div class="info-news-right">



                      <div class="title-new-right"><a href="<?php echo e(url($news->alias)); ?>"><?php echo e($news->title); ?></a></div>



                      <p><?php echo e(Helper::getDescription($news->description,37)); ?></p>



                    </div>



                  </div>



                </div>



               <?php endif; ?>



              <?php endif; ?>



              <?php endforeach; ?>



                <div class="sc-box">



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



                    <div class="list-sc-box">



                    <?php $y=0; ?>



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



              	     <?php if($news->id == $news->news_id && $item->id == $news->to_cate): ?>



                      <?php $y++; ?>



              	     <?php if($y >1 && $y<=4): ?>



                      <div class="item">



                        <div class="title-item"> <a href="<?php echo e(url($news->alias)); ?>"><i class="fa fa-caret-right"></i> <?php echo e($news->title); ?></a> </div>



                        <p><?php echo e(Helper::getDescription($news->description,30)); ?></p>



                      </div>



                     <?php endif; ?>



              	     <?php endif; ?>



              		<?php endforeach; ?> 



                    </div>



                  </div>



                </div>



              </div>



            </div>



          <?php endforeach; ?>  



          </div>



        </div>



      </div>



    </div>



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



  </div>



</main>



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



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