<?php

global $javo_this_single_page_type, $javo_tso, $javo_animation_fixed, $javo_custom_item_label;
$javo_rating = new javo_Rating(get_the_ID());
echo apply_filters('javo_shortcode_title', __($javo_custom_item_label->get('ratings', 'Ratings'), 'javo_fr'), get_the_title());
?>

<!-- total rating result start -->
<div class="total-rating">
	<div class="row total-rating-top-wrap">
		<div class="col-xs-12 col-md-6 col-sm-6 javo-animation javo-left-to-right-999 <?php 
echo $javo_animation_fixed;
?>
">
			<div class="well well-sm">
				<div class="total-rating-title">
					<h3><?php 
printf(__('Total %s', 'javo_fr'), $javo_custom_item_label->get('ratings', __('Ratings', 'javo_fr')));
?>
</h3>
				</div> <!-- total-rating-title -->
				<div class="row">
					<div class="col-xs-4 col-md-5 col-sm-5 text-center">
						<h1 class="rating-num"><?php 
echo $javo_rating->parent_rating_average;
?>
</h1>
						<div class="rating">
							<span class="<?php 
echo $javo_rating->parent_rating_average_star[0];
?>