Skip to content

Commit

Permalink
Issue rtfmcorp#156 : Profile XP Counter
Browse files Browse the repository at this point in the history
  • Loading branch information
xor72000 committed Aug 21, 2017
1 parent 5c5e755 commit 71461d6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions system/views/components/player/playerRoleplayProfil.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,9 @@
$clv = $baseLevelPlayer * (pow(2, ($player_playerRoleplayProfil->getLevel() - 2)));
$prc = ((($exp - $clv) * 200) / $nlv);

echo '<div class="number-box">';
echo '<span class="label">expérience</span>';
echo '<span class="value">' . Format::numberFormat($exp) . '</span>';
echo '</div>';

echo '<div class="number-box grey">';
echo '<span class="label">expérience nécessaire pour le prochain niveau</span>';
echo '<span class="value">' . Format::numberFormat($nlv) . '</span>';
echo '<span class="label">Expérience / Expérience nécessaire pour le prochain niveau</span>';
echo '<span class="value">'. Format::numberFormat($exp) . ' / ' . Format::numberFormat($nlv) . '</span>';
echo '<span class="progress-bar">';
echo '<span style="width:' . $prc . '%;" class="content"></span>';
echo '</span>';
Expand Down

0 comments on commit 71461d6

Please sign in to comment.