+
+
+ level; ?>
+ nom; ?>
+ Attaque + attack+$entry->level+$entry->stuff->stuff_1->spec; ?>
+ Défense + defense+$entry->level+$entry->stuff->stuff_2->spec; ?>
+ level)
+ {
+ case 0:
+ $hp_max+=0;
+ break;
+ case 1:
+ $hp_max+=2;
+ break;
+ case 2:
+ $hp_max+=5;
+ break;
+ case 3:
+ $hp_max+=10;
+ break;
+ default:
+ echo "?";
+ }
+ ?>
+
+ nom, "-1 "); ?>
+ hp; ?>/
+ money; ?>
+ xp; ?>
+
+
+
+
-
level; ?>
-
nom; ?>
-
Att : attack+$entry->level); ?>
-
Def : defense+$entry->level); ?>
+
+
+
+ nom, "-"); ?>
+
+
+
+ nom, "+"); ?>
+
+
- level)
- {
- case 0:
- $hp_max+=0;
- break;
- case 1:
- $hp_max+=2;
- break;
- case 2:
- $hp_max+=5;
- break;
- case 3:
- $hp_max+=10;
- break;
- default:
- echo "?";
- }
- ?>
-
hp; ?>/
-
money; ?>
-
xp; ?>
-
gift; ?>
-
-
-
-
-
ecos->verte; ?>
+
+
+ nom, "-"); ?>
-
-
ecos->bleue; ?>
+
-
-
ecos->jaune; ?>
+
+ nom, "+"); ?>
-
+
+
+
+ nom, "-"); ?>
-
-
ecos->blanche; ?>
+
-
-
ecos->noire; ?>
+
+ nom, "+"); ?>
-
-
-
- Notes :
- notes ?>
-
+
+
+
+ nom, "-"); ?>
+
+
+
+ nom, "+"); ?>
+
+
+
+
+
+ nom, "-"); ?>
+
+
+
+ nom, "+"); ?>
+
+
+
+
+
+ nom, "-"); ?>
+
+
+
+ nom, "+"); ?>
+
+
+
+
+
Équipements
+
+
+ Offensif ➤
+ stuff->stuff_1->info;?> Attaque +stuff->stuff_1->spec;?>
+
+
+ Défensif ➤
+ stuff->stuff_2->info;?> Défense +stuff->stuff_2->spec;?>
+
+
+ Objets
+
➤ stuff->stuff_3->info;?> stuff->stuff_3->spec;?>
+
➤ stuff->stuff_4->info;?> stuff->stuff_4->spec;?>
+
➤ stuff->stuff_5->info;?> stuff->stuff_5->spec;?>
+
➤ stuff->stuff_6->info;?> stuff->stuff_6->spec;?>
+
+
+
+
-
+
-
-
-
-
-
-
Joueurs :
-
-
-
-
+
+
+
+
+
Joueurs :
+
+
+
+ entry as $entry)
- {
- $hp_max="10";
- switch ($entry->level)
+ foreach($xml->entry as $entry)
{
- case 0:
- $hp_max+=0;
- break;
- case 1:
- $hp_max+=2;
- break;
- case 2:
- $hp_max+=5;
- break;
- case 3:
- $hp_max+=10;
- break;
- default:
- echo "?";
+ $hp_max="10";
+ switch ($entry->level)
+ {
+ case 0:
+ $hp_max+=0;
+ break;
+ case 1:
+ $hp_max+=2;
+ break;
+ case 2:
+ $hp_max+=5;
+ break;
+ case 3:
+ $hp_max+=10;
+ break;
+ default:
+ echo "?";
+ }
+ $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge;
+ echo '
+ ['.$entry->level.'] '.$entry->nom.' |
+ '.$entry->hp.'/'.$hp_max.' |
+ VOIR |
+
';
}
- $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge;
- echo '
- ['.$entry->level.'] '.$entry->nom.' |
- '.$entry->hp.'/'.$hp_max.' |
- VOIR |
-
';
}
}
- }
- closedir($dossier);
- ?>
-
-
+ closedir($dossier);
+ ?>
+
+
+
-
-
-
-
+
+
+