<div id="stars" class="starrr"
    <?php if(isset($require_comment) and $require_comment) { ?> data-require-comment=true <?php } ?>
     data-rating='<?php print $ratings ?>'
     data-rel-type="<?php print $rel_type ?>"
     data-rel-id="<?php print $rel_id ?>">

</div>
