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

<!-- Head BEGIN -->
<head>
  <title>News | Milijuli</title>
<?php echo $__env->make('Client.Parts.MetaCSS', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <link rel="stylesheet" href="<?php echo e(url('css/eric-calendar.css')); ?>">
</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">News</h2>

      <div class="page-links">
        <a href="<?php echo e(url("$data")); ?>">Home</a>
        <span>News</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>News</h1>
            <div class="content-page">
              <div class="row">
                <!-- BEGIN LEFT SIDEBAR -->
                <div class="col-md-12 col-sm-12 blog-posts">
                  <?php $__currentLoopData = $news; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $new): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <div class="row">
                    <div class="col-md-4 col-sm-6">
                      <img class="img-responsive" alt="" src="<?php echo e(url('img/News/'.$new->token)); ?>.jpg?t=<?php echo e(rand()); ?>">
                    </div>
                    <div class="col-md-6 col-sm-6">
                      <h2><a href="blog-item.html"><?php echo e($new->title); ?></a></h2>
                       <?php
                          $mydate = strtotime($new->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>
                       
                      </ul>
                      <p><?php echo implode(" ", array_slice(explode(" ",strip_tags($new->description)), 0, 50)); ?>...</p>
                      <a href="news/<?php echo e($new->title); ?>?id=<?php echo e($new->token); ?>" class="more">Read more <i class="icon-angle-right"></i></a>
                    </div>
                    <div class="col-md-2 hidden-xs hidden-sm">
                      <time datetime="" class="icon">
							            <em><?php echo e($date[3]); ?></em>
                          <strong> <?php echo e($date[1]); ?> </strong>
                          <span><?php echo e($date[4]); ?></span>
							          </time>
                    </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>
