PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
affegg-templates
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php /* Name: Offers without button */ use Keywordrush\AffiliateEgg\TemplateHelper; ?> <?php wp_enqueue_style('eggrehub'); ?> <div class="rh_deal_block"> <?php $i=0; foreach ($items as $key => $item): ?> <?php $offer_price = (!empty($item['price'])) ? $item['price'] : ''; ?> <?php $offer_price_old = (!empty($item['price'])) ? $item['old_price'] : ''; ?> <?php $offer_post_url = $item['url'] ;?> <?php $afflink = apply_filters('rh_post_offer_url_filter', $offer_post_url );?> <?php $aff_thumb = $item['img'] ;?> <?php $offer_title = wp_trim_words( $item['title'], 10, '...' ); ?> <?php $i++;?> <div class="deal_block_row"> <div class="deal-pic-wrapper"> <a rel="nofollow" target="_blank" class="re_track_btn" href="<?php echo esc_url($afflink) ?>"<?php echo ''.$item['ga_event'] ?>> <?php WPSM_image_resizer::show_static_resized_image(array('src'=> $aff_thumb, 'crop'=> false, 'width'=> 70, 'height'=> 70, 'no_thumb_url' => get_template_directory_uri() . '/images/default/noimage_70_70.png'));?> </a> </div> <div class="rh-deal-details"> <div class="rh-deal-text"> <div class="rh-deal-name"> <h5> <a rel="nofollow" class="re_track_btn" target="_blank" href="<?php echo esc_url($afflink) ?>"<?php echo ''.$item['ga_event'] ?>> <?php echo esc_attr($offer_title); ?> </a> </h5> </div> </div> <div class="rh-deal-left"> <?php if(!empty($offer_price)) : ?> <div class="rh-deal-price"> <ins><?php echo TemplateHelper::formatPriceCurrency($item['price_raw'], $item['currency_code'], '', ''); ?></ins> <?php if(!empty($offer_price_old)) : ?> <del><?php echo ''.$item['old_price_raw'];?></del> <?php endif ;?> </div> <?php endif ;?> <div class="rh-deal-tag"> <?php echo rehub_get_site_favicon($item['orig_url']); ?> </div> </div> </div> </div> <?php endforeach; ?> </div>
[+]
..
[-] egg_item_rehub_compact_dealsextra.php
[edit]
[-] wegg_rehub_offers.php
[edit]
[-] wegg_rehub_offers_nobtn.php
[edit]
[-] egg_item_rehub_sorted_list_simple.php
[edit]
[-] egg_item_rehub_button.php
[edit]
[-] egg_item_rehub_grid_3_col.php
[edit]
[-] egg_item_rehub_sorted_list.php
[edit]
[-] egg_item_rehub_big.php
[edit]
[-] egg_item_rehub_compact.php
[edit]
[-] egg_item_rehub_big_with_extra.php
[edit]
[-] wegg_rehub_offers_grid.php
[edit]
[-] egg_item_rehub_big_no_title.php
[edit]
[-] egg_item_rehub_sorted_list_logo.php
[edit]
[-] egg_item_user_comments.php
[edit]
[-] egg_item_rehub_grid_4_col.php
[edit]
[-] egg_item_rehub_compact_with_extra.php
[edit]
[-] egg_item_rehub_carousel.php
[edit]
[-] egg_item_specification.php
[edit]
[-] egg_item_rehub_big_with_dealsextra.php
[edit]
[-] egg_item_rehub_big_with_extra_no_title.php
[edit]
[-] egg_item_rehub_slider.php
[edit]
[-] egg_item_rehub_logolist_widget.php
[edit]