Updated themes
Updated buildings Updated shipyard page (ships & defense) Added Buildings building queue display & cancel build action. Added research lab Added navigation block structure Removed old code Updated registration Added files to .gitignore Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
ddfb36efa5
commit
8f0f7a4d46
147 changed files with 3488 additions and 2468 deletions
|
|
@ -295,7 +295,7 @@ if (isset($_POST) && !empty($_POST)) {
|
|||
// Rajout d'une barre pourcentage
|
||||
// Calcul du pourcentage de remplissage
|
||||
// Barre de remplissage
|
||||
$size = Math::floor(Math::div($planet->getBuildingFields(), $planet->getUsedFields()) * 100);
|
||||
$size = Math::floor(Math::div($planet->getUsedFields(), $planet->getBuildingFields()) * 100);
|
||||
// Couleur de la barre de remplissage
|
||||
$parse['case_pourcentage'] = $size . $lang['o/o'];
|
||||
if (Math::comp($size, 100) > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue