| Server IP : 5.129.245.98 / Your IP : 216.73.216.246 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/rehub-theme/inc/ce_common/ |
Upload File : |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php foreach ($items as $item): ?>
<?php $domain = $merchant = '';?>
<?php $offer_post_url = $item['url'] ;?>
<?php $afflink = apply_filters('rh_post_offer_url_filter', $offer_post_url );?>
<?php $merchant = (!empty($item['merchant'])) ? $item['merchant'] : ''; ?>
<?php if (!empty($item['domain'])):?>
<?php $domain = $item['domain'];?>
<?php elseif (!empty($item['extra']['domain'])):?>
<?php $domain = $item['extra']['domain'];?>
<?php endif;?>
<?php if(rehub_option('rehub_btn_text') !='') :?><?php $btn_txt = rehub_option('rehub_btn_text') ; ?><?php else :?><?php $btn_txt = \ContentEgg\application\helpers\TemplateHelper::buyNowBtnText(false, $item);?><?php endif ;?>
<div class="text-center mt20 mb20">
<a href="<?php echo esc_url($afflink) ?>" class="re_track_btn wpsm-button rehub_main_btn btn_offer_block" target="_blank" <?php echo ce_printRel();?>>
<span><strong><?php echo esc_html($btn_txt) ?></strong></span>
<?php if($merchant):?>
<span class="aff_tag mtinside">@<?php echo esc_attr($merchant); ?></span>
<?php else:?>
<span class="aff_tag mtinside">@<?php echo esc_attr($domain); ?></span>
<?php endif;?>
</a>
</div>
<?php endforeach; ?>