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

if ( wpj_get_seller_rating_percent( $uid ) != 0 ) { ?>

	<div class="user-info-subtitle db">

		<span class="user-reputation-wrapper"><?php echo sprintf( __( '%s%% Reputation', 'wpjobster' ), wpj_get_seller_rating_percent( $uid ) ); /* '%%' is the percent sign for sprintf */ ?></span>

		<div class="user-rating user-profile">

			<?php wpj_display_user_unresponsive_label(); wpj_display_user_rating_stars( $uid ); wpj_display_user_reviews_number( $uid ); ?>

		</div>

	</div>

<?php } else { ?>

	<?php _e( "New user", "wpjobster" ); ?>

<?php }