'; function techno($nom, $niveau, $niveau_ress) { if ($niveau < $niveau_ress) { echo "".$nom." ".$niveau_ress." (".$niveau.")"; } else { echo "".$nom." ".$niveau_ress." (".$niveau.")"; } } include 'bdd.php'; echo'
Batiments | Technologies | Ecole militaire | Chantier terrestre | Chantier spatial
Technologie Niveau Technologies nécessaires (niveau actuel)
IA '.$informatique.' '; @techno('Laboratoire',$labo, 1); echo'
Radar '.$detection.' '; @techno('Laboratoire',$labo, 2); echo'
'; @techno(IA ,$informatique, 2); echo'
Armement '.$armement.' '; @techno('Laboratoire',$labo, 5); echo'
Blindage '.$blindage.' '; @techno('Laboratoire',$labo, 4); echo'
Maitrise de l\'énergie '.$energie_t.' '; @techno('Laboratoire',$labo, 2); echo'
Réacteur à combustion '.$reacteur.' '; @techno('Laboratoire',$labo, 2); echo'
Réacteur à fusion '.$reacteur_f.' '; @techno('Laboratoire',$labo, 4); echo'
'; @techno("Maitrise de l'énergie",$energie_t, 2); echo'
'; @techno("Réacteur à combustion",$reacteur, 4); echo'
Réacteur à fusion de type II '.$reacteur_ff.' '; @techno('Laboratoire',$labo, 6); echo'
'; @techno("Maitrise de l'énergie",$energie_t, 5); echo'
'; @techno("Réacteur à fusion",$reacteur_f, 4); echo'
Médecine '.$medecine.' '; @techno('Laboratoire',$labo, 1); echo'
Spartan '.$spartan.' '; @techno('Laboratoire',$labo, 8); echo'
'; @techno("Médecine",$medecine, 5); echo'
'; @techno('IA',$informatique, 8); echo'
Commandemant militaire '.$tactique.' '; @techno('Laboratoire',$labo, 3); echo'
'; ?>