getAvailableExpansionTraining(); $totalSlots = ($slots['settlers'] ?? 0) + ($slots['chiefs'] ?? 0); if ($totalSlots > 0): ?>