403Webshell
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/content-egg-templates/Amazon/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/rehub-theme/content-egg-templates/Amazon/data_reviews.php
<?php
/*
  Name: Reviews from Amazon (DEPRECATED!!!!)
 */
use ContentEgg\application\helpers\TemplateHelper;
?>

<?php
wp_enqueue_style('eggrehub');
$item = reset($items);
if (!empty($item['extra']['customerReviews'])) {$import_comments = $item['extra']['customerReviews'];}
?>
<?php if (!empty ($import_comments['reviews']) || !empty ($import_comments['HasReviews'])) :?>
    <div class="affrev">
        <?php if ($import_comments['HasReviews'] == 'true'): ?>
            <iframe src='<?php echo esc_url($import_comments['IFrameURL']); ?>' width='100%' height='500'></iframe>    
        <?php elseif (!empty($import_comments['reviews'])): ?>                     
            <?php foreach ($import_comments['reviews'] as $review): ?>
                <div class="helpful-review black">
                    <div class="quote-top"><i class="rhicon rhi-quote-left"></i></div>
                    <div class="quote-bottom"><i class="rhicon rhi-quote-right"></i></div>
                    <div class="text-elips">
                        <em><?php echo esc_html($review['Summary']); ?></em><br />
                        <span class="ce_rating rating_small">
                            <?php echo str_repeat("<span>&#x2605</span>", (int) $review['Rating']); ?><?php echo str_repeat("<span>☆</span>", 5 - (int) $review['Rating']); ?>
                        </span><br />                                    
                        <span><?php echo esc_html($review['Content']); ?></span>
                    </div>
                    <span class="helpful-date"><?php echo date(get_option('date_format'), $review['Date']); ?></span>
                </div>
            <?php endforeach; ?>
            <?php if (!empty($item['extra']['itemLinks'][5])): ?>
                <span class="ce_customer_reviews">
                    <a href="<?php echo esc_url($item['extra']['itemLinks'][5]['URL']);?>" <?php echo ce_printRel();?> target="_blank" > <?php echo esc_attr($item['extra']['itemLinks'][5]['Description']);?></a>
                </span>
            <?php endif; ?>            
        <?php endif; ?>
    </div>
<?php endif ;?>
<div class="clearfix"></div>      

Youez - 2016 - github.com/yon3zu
LinuXploit