| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 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 wp_enqueue_script('rhflexslider'); wp_enqueue_script('flexinit');wp_enqueue_style('flexslider');?>
<div class="flexslider post_slider media_slider blog_slider egg_cart_slider loading">
<ul class="slides">
<?php foreach ($items as $item): ?>
<?php $offer_post_url = $item['url'] ;?>
<?php $afflink = apply_filters('rh_post_offer_url_filter', $offer_post_url );?>
<?php $aff_thumb = $item['img'] ;?>
<?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 $offer_title = wp_trim_words( $item['title'], 20, '...' ); ?>
<?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 ;?>
<?php $percentageSaved = (!empty($item['percentageSaved'])) ? $item['percentageSaved'] : '';?>
<?php $availability = (!empty($item['availability'])) ? $item['availability'] : '';?>
<?php $offer_price = (!empty($item['price'])) ? $item['price'] : ''; ?>
<?php $offer_price_old = (!empty($item['priceOld'])) ? $item['priceOld'] : ''; ?>
<?php $currency = (!empty($item['currency'])) ? $item['currency'] : ''; ?>
<?php $currency_code = (!empty($item['currencyCode'])) ? $item['currencyCode'] : ''; ?>
<?php $description = (!empty($item['description'])) ? $item['description'] : '';?>
<?php $features = (!empty($item['extra']['itemAttributes']['Feature'])) ? $item['extra']['itemAttributes']['Feature'] : ''?>
<?php $keyspecs = (!empty($item['extra']['keyspecs'])) ? $item['extra']['keyspecs'] : ''?>
<?php $showtitle = 1; ?>
<?php $merchanttext = \ContentEgg\application\helpers\TemplateHelper::getShopInfo($item);?>
<li>
<?php include(rh_locate_template('inc/ce_common/data_bigcartcontent.php')); ?>
</li>
<?php endforeach; ?>
</ul>
</div>