<?php
/**
 * @var $uid
 * @var $rating_count
 */

if ( wpj_get_seller_reviews_number( $uid ) >= $rating_count ) {?>

	<div class="user-stars-wrapper">

		<a href="#all-reviews-section">

			<?php echo '<span>' . number_format( wpj_get_seller_rating_avg( $uid ), 1 ) . '</span> (' . wpj_get_seller_reviews_number( $uid ) . " " .  _n( "review", "reviews", wpj_get_seller_reviews_number( $uid ), "wpjobster" ) . ')'; ?>

		</a>

	</div>

<?php } ?>