<!DOCTYPE html>
<html lang="en">
<!--<![endif]-->

<!-- Head BEGIN -->
<head>
  <title>Events |   Samuhik Saving & Co-Operative Society Ltd..</title>
<?php echo $__env->make('Client.Parts.MetaCSS', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

</head>
<!-- Head END -->
<?php
  $data=session('lng');
?>
<!-- Body BEGIN -->
<body class="corporate">
  <?php echo $__env->make('Client.Parts.SocialNetwork', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

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

      <!-- Page header -->
<div class="page-top-section margin-bottom-40">
  <div class="overlay"></div>
  <div class="container text-right">
    <div class="page-info">
<h2 style="text-align: center">Events</h2>

      <div class="page-links">
        <a href="<?php echo e(url("$data")); ?>">Home</a>
        <span>Event</span>
      </div>
    </div>
  </div>
</div>
<!-- Page header end-->

    <div class="main">
      <div class="container">
        <!-- BEGIN SIDEBAR & CONTENT -->
        <div class="row margin-bottom-40">
          <!-- BEGIN CONTENT -->
          <div class="col-md-12 col-sm-12">
            <h1>Event</h1>
            <div class="content-page">
              <div class="row">
                <!-- BEGIN LEFT SIDEBAR -->
                <div class="col-md-12 col-sm-12 blog-posts">
                  <?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <div class="row">
                    <div class="col-md-5 col-sm-6">
                      <img class="img-responsive" alt="" src="<?php echo e(url('img/Event/'.$event->file_name)); ?>?t=<?php echo e(rand()); ?>">
                    </div>
                    <div class="col-md-7 col-sm-6">
                      <h2><a href="event/<?php echo e($event->title); ?>?id=<?php echo e($event->token); ?>"><?php echo e($event->title); ?></a></h2>
                       <?php
                          $mydate = strtotime($event->date);
                          $ss =date('d F Y l j', $mydate);
                          $date=explode(" ", $ss);
                      ?>
                      <ul class="blog-info">
                        <li><i class="fa fa-calendar"></i> <?php echo e($date[4]); ?> <?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, 50)); ?>...</p>
                      <a href="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>
                  <hr class="blog-post-sep">
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>
                <!-- END LEFT SIDEBAR -->
              </div>
            </div>
          </div>
          <!-- END CONTENT -->
        </div>
        <!-- END SIDEBAR & CONTENT -->
      </div>
    </div>

<?php echo $__env->make('Client.Parts.FooterJs', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</body>
<!-- END BODY -->
</html>
