Initial commit
This commit is contained in:
10
playarea/templates/reviews/battery.php
Normal file
10
playarea/templates/reviews/battery.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php $score = intval($variables["score"]); ?>
|
||||
<ul class="rev-names__rating row align-items-center justify-content-between">
|
||||
<?php for($i = 1; $i <= 5; $i++) { ?>
|
||||
<?php if($score >= $i) { ?>
|
||||
<li><img src="<?= $b->pa_get_assets_dir() ?>main/images/otziv_battery_active.svg" alt="" /></li>
|
||||
<?php } else { ?>
|
||||
<li><img src="<?= $b->pa_get_assets_dir() ?>main/images/otziv_battery.svg" alt="" /></li>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user