$abInfo) {
$abRow = $abState[$abT];
$abLevel = (int) $abRow['level'];
$abNext = $abLevel + 1;
$abCost = AllianceBonus::costFor($abLevel);
$abPool = (float) $abRow['pool'];
$abBusy = $abRow['upgrade_end'] > time();
$abPct = ($abCost > 0) ? max(0, min(100, $abPool / $abCost * 100)) : 100;
$abName = defined($abInfo['lang']) ? constant($abInfo['lang']) : ucfirst($abInfo['key']);
?>
/
effectiveLevel($session->uid, $abT);
$abWait = $abEngine->waitingFor($session->uid, $abT);
?>
+%
:
0) { ?>
–
getTimeFormat($abWait); ?>
= AllianceBonus::MAX_LEVEL) { ?>
–
getTimeFormat($abRow['upgrade_end'] - time()); ?>
/
(:
+%)