HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/anestetues2/web/app/cache/acorn/framework/views/903ab4d219eb5eeefadfffed67cae575.php
<?php $__env->startPush('vite-head'); ?>
  <?php echo app('Illuminate\Foundation\Vite')(['resources/css/pages/line-up.scss', 'resources/js/pages/line-up.ts']); ?>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
  <section>
    <?php if (isset($component)) { $__componentOriginal295798c6835de34f64e3e70bd9d44f6d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal295798c6835de34f64e3e70bd9d44f6d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.top-content','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('top-content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal295798c6835de34f64e3e70bd9d44f6d)): ?>
<?php $attributes = $__attributesOriginal295798c6835de34f64e3e70bd9d44f6d; ?>
<?php unset($__attributesOriginal295798c6835de34f64e3e70bd9d44f6d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal295798c6835de34f64e3e70bd9d44f6d)): ?>
<?php $component = $__componentOriginal295798c6835de34f64e3e70bd9d44f6d; ?>
<?php unset($__componentOriginal295798c6835de34f64e3e70bd9d44f6d); ?>
<?php endif; ?>
  </section>

  <?php
    $line_up_title = get_field('titre');
    $home_id = get_option('page_on_front');
    $line_up = $home_id ? get_field('line_up', $home_id) : null;
    $dateDebut = get_field('date_de_debut', 'option');
    $dateFin = get_field('date_de_fin', 'option');
    $days = [];

    try {
      if ($dateDebut) {
        $start = \Carbon\Carbon::createFromFormat('d/m/Y', $dateDebut);

        if ($dateFin) {
          $end = \Carbon\Carbon::createFromFormat('d/m/Y', $dateFin);

          if ($end->lessThan($start)) {
            [$start, $end] = [$end, $start];
          }

          for ($date = $start->copy(); $date->lte($end); $date->addDay()) {
            $days[] = $date->format('Y-m-d');
          }
        } else {
          $days[] = $start->format('Y-m-d');
        }
      }
    } catch (\Exception $e) {
      $days = [];
    }
  ?>

  <?php if(! empty($days)): ?>
    <?php $__currentLoopData = $days; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $day): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <?php ($bgClass = $index % 2 === 0 ? 'bg-secondary' : 'bg-primary'); ?>
      <?php ($primaryButtonClass =
        $bgClass === 'bg-primary' ? 'btn bg-secondary arrow-primary' : 'btn arrow-secondary'); ?>
      <?php ($dateObj = \Carbon\Carbon::parse($day)->locale('fr')); ?>
      <?php ($line_up_btn = $line_up['bouton'] ?? null); ?>

      <section class="container <?php echo e($bgClass); ?>">
        <div class="line-up-header">
          <h2 class="text-light">
            <?php echo e(ucfirst($dateObj->translatedFormat('l j F'))); ?>

          </h2>

          <?php if(! empty($line_up_btn)): ?>
            <a
              href="<?php echo e($line_up_btn['url']); ?>"
              class="<?php echo e($primaryButtonClass); ?>"
              <?php if(! empty($line_up_btn['target'])): ?> target="<?php echo e($line_up_btn['target']); ?>" <?php endif; ?>
            >
              <?php echo e($line_up_btn['title']); ?>

            </a>
          <?php endif; ?>
        </div>

        <?php if (isset($component)) { $__componentOriginal5bc5a6572174c27bc083d1cfaccc2527 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal5bc5a6572174c27bc083d1cfaccc2527 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.lineup-featured','data' => ['mode' => 'day','day' => $day]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('lineup-featured'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['mode' => 'day','day' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($day)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal5bc5a6572174c27bc083d1cfaccc2527)): ?>
<?php $attributes = $__attributesOriginal5bc5a6572174c27bc083d1cfaccc2527; ?>
<?php unset($__attributesOriginal5bc5a6572174c27bc083d1cfaccc2527); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal5bc5a6572174c27bc083d1cfaccc2527)): ?>
<?php $component = $__componentOriginal5bc5a6572174c27bc083d1cfaccc2527; ?>
<?php unset($__componentOriginal5bc5a6572174c27bc083d1cfaccc2527); ?>
<?php endif; ?>
      </section>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  <?php endif; ?>

  <section class="container top-wave">
    <?php if (isset($component)) { $__componentOriginal471fcb325e864a3eed593a0de81b2246 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal471fcb325e864a3eed593a0de81b2246 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.instagram-feed','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('instagram-feed'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal471fcb325e864a3eed593a0de81b2246)): ?>
<?php $attributes = $__attributesOriginal471fcb325e864a3eed593a0de81b2246; ?>
<?php unset($__attributesOriginal471fcb325e864a3eed593a0de81b2246); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal471fcb325e864a3eed593a0de81b2246)): ?>
<?php $component = $__componentOriginal471fcb325e864a3eed593a0de81b2246; ?>
<?php unset($__componentOriginal471fcb325e864a3eed593a0de81b2246); ?>
<?php endif; ?>
  </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/bnowdpik/anes-tetues/web/app/themes/anes-tetues/resources/views/pages/line-up.blade.php ENDPATH**/ ?>