From 77d18e0e5cbd04a77fc2c9320ab717eb2197968e Mon Sep 17 00:00:00 2001 From: heuzef Date: Sat, 30 Aug 2014 18:16:52 +0200 Subject: [PATCH] refonte tableau joueur --- index.php | 28 +++++++++++++++------- medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml | 6 ++--- .../Meganomtrolo.xml | 27 +++++++++++++++++++++ .../c0f08ae603e364cb554fe71c9fc94ffd/zycheron.xml | 20 ++++++++++++++++ new_player.php | 3 +++ 5 files changed, 73 insertions(+), 11 deletions(-) create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/Meganomtrolo.xml create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/zycheron.xml diff --git a/index.php b/index.php index d154544..c27308e 100755 --- a/index.php +++ b/index.php @@ -144,12 +144,11 @@ $message[6]=' Nom - - - - + + + @@ -176,17 +175,17 @@ $message[6]=' $itemnb++; } foreach($xml->entry as $entry) { + $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge; echo '    '.$entry->nom.' '.$entry->hp.' '.$entry->xp.' - '.$entry->ecos->verte.' - '.$entry->ecos->bleue.' - '.$entry->ecos->jaune.' - '.$entry->ecos->rouge.' + '.$entry->money.' + '.$somme_ecos.' '.$entry->ecos->blanche.' '.$entry->ecos->noire.' + '.substr($entry->notes, 0, 40).'... '; } } @@ -227,6 +226,19 @@ $message[6]=' +
+ +
+ + +
+