403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.216.159
Web Server : Apache
System : Linux webm003.cluster130.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 : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www/wp-content/themes/verseau/templates/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www/wp-content/themes/verseau/templates/pages/cibles.php
<!-- section 2 (modèle .verseau-3) ------------------------------------------------------------------------------------ -->
<?php if (have_rows('info_cible')) : ?>
    <?php while (have_rows('info_cible')) : the_row(); ?>
        <section id="export" class="verseau-3">
            <div class="container">
                <div class="row">
                    <?php $image_1 = get_sub_field('image_1'); ?>
                    <?php if ($image_1) : ?>
                        <img src="<?php echo esc_url($image_1['url']); ?>" alt="<?php echo esc_attr($image_1['alt']); ?>" />
                    <?php endif; ?>
                    <div class="group-text">
                        <h2><?php the_sub_field('titre_section'); ?></h2>
                        <p><?php the_sub_field('texte_section'); ?></p>
                        <div class="picture-group">
                            <!-- groupe 2 images -->
                            <?php $image_2 = get_sub_field('image_2'); ?>
                            <?php if ($image_2) : ?>
                                <img src="<?php echo esc_url($image_2['url']); ?>" alt="<?php echo esc_attr($image_2['alt']); ?>" />
                            <?php endif; ?>
                            <?php $image_3 = get_sub_field('image_3'); ?>
                            <?php if ($image_3) : ?>
                                <img src="<?php echo esc_url($image_3['url']); ?>" alt="<?php echo esc_attr($image_3['alt']); ?>" />
                            <?php endif; ?>
                        </div>
                        <div class="picture-group">
                            <!-- goupe 2 images -->
                            <?php $image_4 = get_sub_field('image_4'); ?>
                            <?php if ($image_4) : ?>
                                <img src="<?php echo esc_url($image_4['url']); ?>" alt="<?php echo esc_attr($image_4['alt']); ?>" />
                            <?php endif; ?>
                            <?php $image_5 = get_sub_field('image_5'); ?>
                            <?php if ($image_5) : ?>
                                <img src="<?php echo esc_url($image_5['url']); ?>" alt="<?php echo esc_attr($image_5['alt']); ?>" />
                            <?php endif; ?>
                        </div>
                        <a class="button button-devis" href="https://verseau-nettoyage.com/contact">Je demande un devis</a>

                    </div>
                </div>
            </div>
        </section>
    <?php endwhile; ?>
<?php endif; ?>

<!-- nos prestations  section 3 modèle #verseau-2------------------------------------------------------------------------------------- -->
<?php if (have_rows('nos_prestations')) : ?>
    <?php while (have_rows('nos_prestations')) : the_row(); ?>
        <?php $titre_prestations = get_sub_field('titre_prestations'); ?>
        <?php if ($titre_prestations) : ?>
            <section id="verseau-2">
                <div class="container">
                    <div class="row">
                        <h2><?php echo $titre_prestations; ?></h2>
                        <div class="choice-group">
                            <?php while (have_rows('ajouter_une_prestation')) : the_row(); ?>
                                <div class="choice-item">
                                    <?php $image = get_sub_field('image'); ?>
                                    <?php if ($image) : ?>
                                        <img src="<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>" />
                                    <?php endif; ?>
                                    <h3><?php the_sub_field('description'); ?></h3>
                                </div>
                            <?php endwhile; ?>
                        </div>
                    </div>
                </div>
            </section>
        <?php endif; ?>
    <?php endwhile; ?>
<?php endif; ?>


<!-- section recycle section 4 modèle #verseau-3  appel vers un autre service ?? -->




<?php
// Inclure le fichier wp-load.php pour avoir accès aux fonctionnalités de WordPress
require_once(ABSPATH . 'wp-load.php');

// Récupérer les slugs des pages dans un tableau
$pages = get_pages(array('post_type' => 'page',  'post_status' => 'publish'));
$pageSlugs = array();

// pages à exclure
$excludedSlugs = array('politique-de-confidentialite', 'mentions-legales', '404-2', 'contact', 'entreprise', 'partenaires', get_post_field('post_name', get_post()));
$filteredPages = array_filter($pages, function ($page) use ($excludedSlugs) {
    return !in_array($page->post_name, $excludedSlugs);
});

// prendre une page aléatoire
$randPage = array_rand($filteredPages);
$slugRand = $filteredPages[$randPage]->post_name;
$idRand = $filteredPages[$randPage]->ID;

if (have_rows('exemple_prestation')) : ?>
    <?php while (have_rows('exemple_prestation')) : the_row(); ?>
        <section class="verseau-3">
            <div class="container">
                <div class="row">
                    <?php $image_1 = get_sub_field('image_1'); ?>
                    <?php if ($image_1) : ?>
                        <img src="<?php echo esc_url($image_1['url']); ?>" alt="<?php echo esc_attr($image_1['alt']); ?>" />
                    <?php endif; ?>
                    <div class="group-text">
                        <h2><?php the_sub_field('titre_exemple_prestation'); ?></h2>
                        <div class="picture-group">
                            <?php $image_2 = get_sub_field('image_2'); ?>
                            <?php if ($image_2) : ?>
                                <img src="<?php echo esc_url($image_2['url']); ?>" alt="<?php echo esc_attr($image_2['alt']); ?>" />
                            <?php endif; ?>
                            <?php $image_3 = get_sub_field('image_3'); ?>
                            <?php if ($image_3) : ?>
                                <img src="<?php echo esc_url($image_3['url']); ?>" alt="<?php echo esc_attr($image_3['alt']); ?>" />
                            <?php endif; ?>
                        </div>
                        <p><?php the_sub_field('texte_exemple_prestation'); ?></p>
                            <?php $lien_exemple_prestation = get_sub_field('lien_exemple_prestation'); ?>
                            <?php if ($lien_exemple_prestation) : ?>
                                <a class="button" href="<?php echo esc_url($lien_exemple_prestation['url']); ?>" target="<?php echo esc_attr($lien_exemple_prestation['target']); ?>"><?php echo esc_html($lien_exemple_prestation['title']); ?></a>
                            <?php endif; ?>
                    </div>
                </div>
            </div>
        </section>
    <?php endwhile; ?>
<?php endif; ?>

<!-- section 5 ------------------------------------------------------------------------------------ -->
<?php require_once('wp-content/themes/verseau/templates/demarche.php'); ?>

<!-- section 6 ------------------------------------------------------------------------------------ -->
<?php require_once('wp-content/themes/verseau/templates/confiance.php'); ?>

<!-- section 7 ------------------------------------------------------------------------------------ -->
<?php require_once('wp-content/themes/verseau/templates/contact.php'); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit