<?php
   /**
    * ratingStars
    *
    * @package Wojo Framework
    * @author wojoscripts.com
    * @copyright 2023
    * @version 5.50: ratingStars.tpl.php, v1.00 11/18/2023 12:22 PM Gewa Exp $
    *
    */
   if (!defined('_WOJO')) {
      die('Direct access to this location is not allowed.');
   }
?>
<div class="wojo stars" data-tooltip="<?php echo $this->row->ratings; ?>">
   <?php for ($x = 1;$x <= $this->row->stars;$x++): ?>
      <span class="star active"><i class="icon star full"></i></span>
   <?php endfor; ?>
   <?php while ($x <= 5): ?>
      <span class="star"><i class="icon star"></i></span>
      <?php $x++; ?>
   <?php endwhile; ?>
   <a href="#pMore" data-scroll="true">
      <span class="rcounter"><?php echo $this->row->comments; ?></span>
      <?php echo strtolower(Language::$word->FRONT_CREVIEW); ?>
   </a>
</div>