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/related-resources-cards/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/successkpi/wp-content/themes/successkpi/blocks/related-resources-cards/index.php
<?php
if (function_exists('render_block_preview_image') && render_block_preview_image($block, 'text with image link cards preview')) {
  return;
}
$className = 'addition-resources sk-section-spacing' . ($block['className'] ?? '');
?>
<section class="<?php echo esc_attr(trim($className)); ?>">
  <div class="container">
    <?php $heading = get_field('heading');
    if (isset($heading) && !empty($heading)) : ?>
      <h2><?php echo esc_html($heading); ?></h2>
    <?php endif;
    if (have_rows('experience_cards')) : ?>
      <div class="addition-resources-cards">
        <?php while (have_rows('experience_cards')) : the_row();
          $card_link = get_sub_field('card_link');
          if (isset($card_link['url']) && !empty($card_link['url'])) : 
          $link_target = isset($card_link['target']) && !empty($card_link['target'])
  ? $card_link['target']
  : '_self'; ?>
            <a href="<?php echo esc_url($card_link['url']); ?>" class="addition-resource-card" target="<?php echo esc_attr($link_target); ?>">
              <?php
              $card_image = get_sub_field('card_image');
              if (isset($card_image) && !empty($card_image)) : ?>
                <div class="addition-resource-img">
                  <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']) : ''; ?>">
                </div>
              <?php endif; ?>
              <div class="addition-resource-content">
                <?php
                $card_heading = get_sub_field('card_heading');
                if (isset($card_heading) && !empty($card_heading)) : ?>
                  <h3><?php echo esc_html($card_heading); ?></h3>
                <?php endif; ?>
                <?php
                $card_description = get_sub_field('card_description');
                if (isset($card_description) && !empty($card_description)) :
                  echo wp_kses_post($card_description);
                endif; ?>
                <span class="addition-resource-link">
                  <?php echo esc_html($card_link['title']); ?>
                </span>
              </div>
            </a>
        <?php endif;
        endwhile; ?>
      </div>
    <?php endif; ?>
  </div>
</section>

Youez - 2016 - github.com/yon3zu
LinuXploit