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/b39ae1b889baa59be2fcf2e62482d6f8.php
<?php $__env->startPush('vite-head'); ?>
  <?php echo app('Illuminate\Foundation\Vite')(['resources/css/pages/partenaires.scss', 'resources/js/pages/partenaires.ts']); ?>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
  <?php
    $categories = get_terms([
      'taxonomy' => 'partenaire_categorie',
      'hide_empty' => true,
    ]);
    if (! is_wp_error($categories)) {
      usort($categories, function ($a, $b) {
        $ordre_a = (int) get_field('ordre', 'partenaire_categorie_' . $a->term_id);
        $ordre_b = (int) get_field('ordre', 'partenaire_categorie_' . $b->term_id);
        return $ordre_a <=> $ordre_b;
      });
    }
    $partenaires_par_categorie = [];
    if (! is_wp_error($categories)) {
      foreach ($categories as $term) {
        if ($term->slug === 'grand-partenaire') {
          continue;
        }
        $query = new WP_Query([
          'post_type' => 'partenaire',
          'posts_per_page' => -1,
          'tax_query' => [
            [
              'taxonomy' => 'partenaire_categorie',
              'field' => 'term_id',
              'terms' => $term->term_id,
            ],
          ],
          'orderby' => 'title',
          'order' => 'ASC',
        ]);
        $partenaires_par_categorie[] = [
          'term' => $term,
          'partenaires' => $query->posts,
        ];
        wp_reset_postdata();
      }
    }
  ?>

  <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
    $unGiteUneGamelle = get_field('un_gite_une_gamelle');
  ?>

  <?php if(! empty($unGiteUneGamelle)): ?>
    <section class="container bottom-wave">
      <?php if (isset($component)) { $__componentOriginal779c4a065c68def1e03ffb1d604ccb58 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal779c4a065c68def1e03ffb1d604ccb58 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.columns','data' => ['colElements' => [
          'img'     => $unGiteUneGamelle['image'] ?? null,
          'titre'   => $unGiteUneGamelle['titre'] ?? '',
          'texte'   => $unGiteUneGamelle['texte'] ?? '',
          'boutons' => $unGiteUneGamelle['boutons'] ?? [],
        ],'btn1Class' => 'bg-secondary arrow-primary','imgPosition' => 'img-right']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('columns'); ?>
<?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(['col_elements' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
          'img'     => $unGiteUneGamelle['image'] ?? null,
          'titre'   => $unGiteUneGamelle['titre'] ?? '',
          'texte'   => $unGiteUneGamelle['texte'] ?? '',
          'boutons' => $unGiteUneGamelle['boutons'] ?? [],
        ]),'btn_1_class' => 'bg-secondary arrow-primary','img_position' => 'img-right']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal779c4a065c68def1e03ffb1d604ccb58)): ?>
<?php $attributes = $__attributesOriginal779c4a065c68def1e03ffb1d604ccb58; ?>
<?php unset($__attributesOriginal779c4a065c68def1e03ffb1d604ccb58); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal779c4a065c68def1e03ffb1d604ccb58)): ?>
<?php $component = $__componentOriginal779c4a065c68def1e03ffb1d604ccb58; ?>
<?php unset($__componentOriginal779c4a065c68def1e03ffb1d604ccb58); ?>
<?php endif; ?>
    </section>

    <section class="bg-primary container">
      <div class="mt mb">
        <?php if (isset($component)) { $__componentOriginal445d7f0c89b2b071d327361ea6d94e83 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal445d7f0c89b2b071d327361ea6d94e83 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.major-partners','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('major-partners'); ?>
<?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($__attributesOriginal445d7f0c89b2b071d327361ea6d94e83)): ?>
<?php $attributes = $__attributesOriginal445d7f0c89b2b071d327361ea6d94e83; ?>
<?php unset($__attributesOriginal445d7f0c89b2b071d327361ea6d94e83); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal445d7f0c89b2b071d327361ea6d94e83)): ?>
<?php $component = $__componentOriginal445d7f0c89b2b071d327361ea6d94e83; ?>
<?php unset($__componentOriginal445d7f0c89b2b071d327361ea6d94e83); ?>
<?php endif; ?>
      </div>
    </section>
  <?php endif; ?>

  <?php $__currentLoopData = $partenaires_par_categorie; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if(! empty($item['partenaires'])): ?>
      <?php
        $mod = $loop->index % 4;
        $sectionClass = 'container' . ($mod === 1 ? ' bg-secondary' : ($mod === 3 ? ' bg-primary' : ''));
        if ($loop->index % 2 === 0) {
          $sectionClass .= ' top-wave' . ($loop->last ? '' : ' bottom-wave');
        }
        $titleClass = 'center' . (in_array($mod, [1, 3]) ? ' text-light' : '');
      ?>

      <?php if($loop->index % 2 === 1): ?>
        <section class="<?php echo e($sectionClass); ?>">
          <div class="mt mb">
            <h2 class="<?php echo e($titleClass); ?>">
              <?php echo e(get_field('titre', 'partenaire_categorie_' . $item['term']->term_id) ?: $item['term']->name); ?>

            </h2>

            <div class="partners-container">
              <?php $__currentLoopData = $item['partenaires']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $partenaire): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php
                  $logo = get_field('logo', $partenaire->ID);
                  $lien = get_field('lien', $partenaire->ID);
                ?>
                <?php if($logo): ?>
                  <div class="logo-container">
                    <div class="box-shadow"></div>
                    <?php if(! empty($lien)): ?>
                      <a href="<?php echo e(esc_url($lien)); ?>" target="_blank" rel="noopener">
                        <img
                          class="wave-img"
                          src="<?php echo e($logo['url']); ?>"
                          alt="<?php echo e($logo['alt'] ?? $partenaire->post_title); ?>"
                          loading="lazy"
                          decoding="async"
                        />
                      </a>
                    <?php else: ?>
                      <img
                        class="wave-img"
                        src="<?php echo e($logo['url']); ?>"
                        alt="<?php echo e($logo['alt'] ?? $partenaire->post_title); ?>"
                        loading="lazy"
                        decoding="async"
                      />
                    <?php endif; ?>
                  </div>
                <?php endif; ?>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
          </div>
        </section>
      <?php else: ?>
        <section class="<?php echo e($sectionClass); ?>">
          <h2 class="<?php echo e($titleClass); ?>">
            <?php echo e(get_field('titre', 'partenaire_categorie_' . $item['term']->term_id) ?: $item['term']->name); ?>

          </h2>

          <div class="partners-container">
            <?php $__currentLoopData = $item['partenaires']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $partenaire): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <?php
                $logo = get_field('logo', $partenaire->ID);
                $lien = get_field('lien', $partenaire->ID);
              ?>
              <?php if($logo): ?>
                <div class="logo-container">
                  <div class="box-shadow"></div>
                  <?php if(! empty($lien)): ?>
                    <a href="<?php echo e(esc_url($lien)); ?>" target="_blank" rel="noopener">
                      <img
                        class="wave-img"
                        src="<?php echo e($logo['url']); ?>"
                        alt="<?php echo e($logo['alt'] ?? $partenaire->post_title); ?>"
                        loading="lazy"
                        decoding="async"
                      />
                    </a>
                  <?php else: ?>
                    <img
                      class="wave-img"
                      src="<?php echo e($logo['url']); ?>"
                      alt="<?php echo e($logo['alt'] ?? $partenaire->post_title); ?>"
                      loading="lazy"
                      decoding="async"
                    />
                  <?php endif; ?>
                </div>
              <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
        </section>
      <?php endif; ?>
    <?php endif; ?>
  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

  <section class="top-wave container">
    <?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>

  <div
    id="devenir-partenaire"
    class="partner-modal"
    aria-hidden="true"
    role="dialog"
    aria-modal="true"
  >
    <div class="partner-modal__backdrop" data-partner-modal-close></div>
    <div class="partner-modal__content" role="document">
      <button
        type="button"
        class="partner-modal__close"
        aria-label="<?php echo e(__('Fermer le formulaire', 'anes-tetues')); ?>"
        data-partner-modal-close
      >
        &times;
      </button>
      <h2 class="partner-modal__title"><?php echo e(__('Devenir partenaire', 'anes-tetues')); ?></h2>
      <div class="partner-modal__form">
        <?php echo do_shortcode('[contact-form-7 id="44769f4" title="Devenir Partenaire"]'); ?>

      </div>
    </div>
  </div>
<?php $__env->stopSection(); ?>

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