HEX
Server: LiteSpeed
System: Linux premium221.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: //home/madepabj/public_html/wp-content/themes/rehub-theme/inc/top/reviewcolumn.php
<?php if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly
}?>
<?php 
    global $post;
	$rating_circle = $row['top_review_circle'];	
	if ($rating_circle ==''){$exerptvalue = '1';};	    
?>
<div class="rating_col">
<?php if ($rating_circle =='1'):?>

    <?php if ('product' == $post->post_type) :?>
        <?php $rating_score_clean = get_post_meta($post->ID, 'rehub_review_overall_score', true) ?>
    <?php else :?>
        <?php $rating_score_clean = rehub_get_overall_score(); ?>
    <?php endif ;?>

    <div class="top-rating-item-circle-view">
    <div class="radial-progress" data-rating="<?php echo ''.$rating_score_clean?>">
        <div class="circle">
            <div class="mask full">
                <div class="fill"></div>
            </div>
            <div class="mask half">
                <div class="fill"></div>
                <div class="fill fix"></div>
            </div>
            
        </div>
        <div class="inset">
            <div class="percentage"><?php echo ''.$rating_score_clean?></div>
        </div>
    </div>
    </div>

<?php elseif ($rating_circle =='2') :?> 
    <div class="score square_score"> <span class="it_score"><?php echo rehub_get_overall_score() ?></span></div>       
<?php else :?>
    <div class="score"> <span class="it_score"><?php echo rehub_get_overall_score() ?></span></div>    
<?php endif ;?>
<a href="<?php the_permalink();?>" class="read_full" target="_blank"><?php if(rehub_option('rehub_review_text') !='') :?><?php echo rehub_option('rehub_review_text') ; ?><?php else :?><?php esc_html_e('Read review', 'rehub-theme'); ?><?php endif ;?></a>
</div>