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



<div id="container-content">



  <article id="content">



    <div class="container-fluid">



      <div class="row welcome-container">



        <div class="container-inner">



          <div class="col-lg-4 visible-lg welcome-img-cont">



            <!-- Carousel



              ================================================== -->



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



                <!-- Indicators -->



                <ol class="carousel-indicators">



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



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



                  <?php endforeach; ?>



                </ol>



                <div class="carousel-inner" role="listbox">



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



                  <div class="item center-block <?php if($k==0): ?>active <?php endif; ?>"> 



                    <img src="<?php echo e(url($item->link)); ?>" alt="<?php echo e($item->title); ?>"/> 



                  </div>



                  <?php endforeach; ?>



                </div>



                <a class="left carousel-control" href="#IntroduceCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#IntroduceCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>



                <!-- /.carousel -->



              </div>



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



                <section id="welcome">



                  <article>



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



                    <p>



                        <?php echo Helper::getDescription(@$page_home->content,35); ?>







                      <a class="readmore btn btn-lg btn-default" href="<?php echo e(url(@$page_home->alias)); ?>"><?php if(Session::get('lang')=='vi'): ?> đọc tiếp <?php else: ?> View all <?php endif; ?>                                                                       </a>



                    </p>



                  </article>



                </section>



              </div>



            </div>



          </div>



          <div class="row main-content">







            <div class="col-xs-12 col-md-4 col-md-push-4">



              <section id="our-products">



                <h3><span><?php echo e(@$cate_home->name); ?></span></h3>



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



                <div>



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



                  <div class="media product-intro col-sm-6 col-md-12 col-equal">



                    <div class="media-left media-middle"> <a href="<?php echo e(url($item->alias)); ?>" title="<?php echo e($item->name); ?>"><img class="media-object" src="<?php echo e(url($item->image)); ?>" width="70" height="70" alt="<?php echo e($item->name); ?>"/></a> </div>



                    <div class="media-body">



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



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



                    </div>



                  </div>



                  <?php endforeach; ?>



                </div>



              </section>



            </div>







            <div class="col-xs-12 col-md-4 col-md-pull-4">



              <section id="latest-news" class="row">







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



                <?php $i=0 ?>



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



                  <article>



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



                    <p>



                      <ul>



                       <?php foreach($all_news as $k=>$list): ?>







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



                       <?php $i++ ?>



                       <?php if($i<=3)  {?>



                       <li><span class="date"> <?php echo e(date('d-m-Y',$list->time)); ?> </span><a href="<?php echo e(url($list->alias)); ?>" title="<?php echo e($list->title); ?>"> <?php echo e($list->title); ?></a></li>



                       <?php } ?>



                       <?php endif; ?>







                       <?php endforeach; ?>



                     </ul>



                   </p>



                 </article>



               </div>



               <?php endforeach; ?>



             </section>



           </div>



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



            <section id="our-forpolio" class="row"/>



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



              <article id="our-customers">



                <h3><?php if(Session::get('lang') == 'vi'): ?> Khách hàng của Chúng tôi <?php else: ?> Our customer



 <?php endif; ?></h3>



              <p><!-- Carousel



              ================================================== -->



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



                <!-- Indicators -->



                <ol class="carousel-indicators">



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



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



                  <?php endforeach; ?>



                </ol>



                <div class="carousel-inner" role="listbox">



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



                  <div class="item center-block <?php if($k==0): ?>active <?php endif; ?>"> 



                    <img src="<?php echo e(url($item->link)); ?>" alt="<?php echo e($item->title); ?>"/> 



                  </div>



                  <?php endforeach; ?>



                </div>



                <a class="left carousel-control" href="#LogoCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#LogoCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>



                <!-- /.carousel -->



                </p>



              </article>



            </div>



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



              <article id="our-projects">



                <h3><?php if(Session::get('lang')=='vi'): ?> Dự án của Chúng tôi <?php else: ?> Our project <?php endif; ?></h3>



              <p><!-- Carousel



              ================================================== -->



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



                <!-- Indicators -->



                <ol class="carousel-indicators">



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



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



                  <?php endforeach; ?>



                </ol>



                <div class="carousel-inner" role="listbox">



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



                  <div class="item center-block <?php if($k==0): ?>active <?php endif; ?>"> 



                    <img src="<?php echo e(url($item->link)); ?>" alt="<?php echo e($item->title); ?>"/> 



                  </div>



                  <?php endforeach; ?>



                </div>



                <a class="left carousel-control" href="#ProjectCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#ProjectCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>



                <!-- /.carousel -->



                  



                </p>



              </article>



            </div>



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



              <article id="our-video">



                <h3><?php if(Session::get('lang') == 'vi'): ?> Video giới thiệu Phú Điền <?php else: ?> Introduction video NTL <?php endif; ?></h3>



                <div class="jumbotron">



                  <img src="<?php echo e(url($video_home->thumb)); ?>" alt="{@$item->title}" style="max-width: 100%">



                  



                  </div>



                </article>



              </div>



            </section>



          </div>



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