<!-- BEGIN RECENT WORKS -->
<?php
  $data=session('lng');
?>
<div class="row recent-work margin-bottom-40">
  <div class="col-md-6">
    <h2 style="text-align: center;margin-bottom: 30px"><a href="portfolio.html">News & Notice</a></h2>
  
    <div class="col-md-8" style="padding-top:5px">
      <?php $__currentLoopData = $new; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $news): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

      <?php
             $mydate = strtotime($news->date);
             $ss =date('d F Y l j', $mydate);
             $date=explode(" ", $ss);
      ?>

      <div class="recent-work-item" style="width:100%;margin-bottom: 15px;">
        <em>
          <img src="<?php echo e(url('img/News/'.$news->token)); ?>.jpg?t=<?php echo e(rand()); ?>" alt="Img" class="img-responsive" style="margin:0 auto" width="85%">
          <a href="<?php echo e($data); ?>/news/<?php echo e($news->title); ?>?id=<?php echo e($news->token); ?>"><i class="fa fa-link"></i></a>
          <a href="<?php echo e(url('img/News/'.$news->token)); ?>.jpg?t=<?php echo e(rand()); ?>" class="fancybox-button" title="<?php echo e($news->title); ?>" data-rel="fancybox-button"><i class="fa fa-search"></i></a>
        </em>
        <a class="recent-work-description" href="javascript:;">
          <strong><?php echo e($news->title); ?></strong>
          <b><?php echo e($date[4]); ?> <?php echo e($date[1]); ?> <?php echo e($date[2]); ?></b>
        </a>
      </div>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
  </div>

<!-- END RECENT WORKS -->


<div class="col-md-6">
            <h2 style="text-align: center;margin-bottom: 30px;">Events</h2>
            <?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-md-6 col-sm-4" style="padding-bottom: 75px">
              <!-- BEGIN CAROUSEL -->
              <div class="front-carousel">
                <div class="carousel slide" id="myCarouselE">
                  <!-- Carousel items -->
                  <div class="carousel-inner">
                    <div class="item" style="display: block;">
                      <img alt="" src="<?php echo e(url('img/Event/'.$event->file_name)); ?>" >
                    </div>
                   
                  </div>
                  <!-- Carousel nav -->
            
                </div>
              </div>
              <!-- END CAROUSEL -->
            </div>
            <div class="col-md-6 col-sm-8">
              <h3><a href="blog-item.html"><?php echo e($event->title); ?></a></h3>
              <ul class="blog-info">
                 <?php
                  $mydate = strtotime($event->date);
                  $ss =date('Y m d', $mydate);
                  $date=explode(" ", $ss);
                ?>
                <li><i class="fa fa-calendar"></i> <?php echo e($date[0]); ?>/<?php echo e($date[1]); ?>/<?php echo e($date[2]); ?></li>
            
                <li><i class="fa fa-tags"></i> <?php echo e($event->location); ?></li>
              </ul>
              <p><?php echo implode(" ", array_slice(explode(" ",strip_tags($event->description)), 0, 25)); ?>...</p>
              <a href="<?php echo e($data); ?>/event/<?php echo e($event->title); ?>?id=<?php echo e($event->token); ?>" class="more">Read more <i class="icon-angle-right"></i></a>
            </div>
            <div class="clearfix"></div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

          </div>
</div>
          <hr class="blog-post-sep">

       