403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/successkpi/wp-content/themes/successkpi/blocks/additional-links-with-image/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/successkpi/wp-content/themes/successkpi/blocks/additional-links-with-image/index.php
<?php
if (function_exists('render_block_preview_image') && render_block_preview_image($block, 'Additional Links With Image Preview')) {
    return;
}

$className = 'security-resource-center-block sk-section-spacing ' . ($block['className'] ?? '');
?>

<section class="<?php echo esc_attr(trim($className)); ?>">
    <div class="container">
        <div class="security-resource-center-wrapper">
            <div class="security-resource-center-content">
                <?php
                $heading = get_field('heading');
                if (isset($heading) && !empty($heading)) : ?>
                    <h2><?php echo esc_html($heading); ?></h2>
                <?php endif;
                $description = get_field('description');
                if (isset($description) && !empty($description)) :
                    echo wp_kses_post($description);
                endif;
                if (have_rows('resource_cards_link')) :  ?>
                    <div class="security-resources-links">
                        <?php while (have_rows('resource_cards_link')) : the_row();
                            $card_link = get_sub_field('card_link'); ?>
                  <a href="<?php echo !empty($card_link['url']) ? esc_url($card_link['url']) : '#';  ?>"  target="_blank" class="resource-link">
                                <?php $card_image = get_sub_field('card_image');
                                if (isset($card_image) && !empty($card_image)) : ?>
                                    <img src="<?php echo esc_url($card_image['url']); ?>" alt="<?php echo (isset($card_image['alt']) && !empty($card_image['alt'])) ? esc_attr($card_image['alt']) : ''; ?>">
                                <?php endif; ?>
                                <div class="resource-link-content">
                                    <?php
                                    $card_heading = get_sub_field('card_heading');
                                    if (isset($card_heading) && !empty($card_heading)) : ?>
                                        <h4><?php echo esc_html($card_heading); ?></h4>
                                    <?php endif;
                                    $card_description = get_sub_field('card_description');
                                    if (isset($card_description) && !empty($card_description)) :
                                        echo wp_kses_post($card_description);
                                    endif; ?>
                                </div>
                            </a>
                        <?php endwhile; ?>
                    </div>
                <?php endif; ?>
            </div>
            <div class="security-resource-center-media">
                <?php
                $right_image = get_field('right_image');
                if (isset($right_image['url']) && !empty($right_image['url'])) : ?>
                    <img src="<?php echo esc_url($right_image['url']); ?>" alt="<?php echo (isset($right_image['alt']) && !empty($right_image['alt'])) ? esc_attr($right_image['alt']) : ''; ?>">
                <?php endif; ?>
            </div>
        </div>
    </div>
</section>

Youez - 2016 - github.com/yon3zu
LinuXploit