From 2ad403dfe6516a64f77c9238145cc21dee49a534 Mon Sep 17 00:00:00 2001 From: heuzef Date: Thu, 30 Apr 2015 22:51:35 +0200 Subject: [PATCH] Adaptation des fiches perso pour nouvelle gestion --- medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml | 40 ++++++++++++++++++++--- play/action.php | 4 +-- play/gamers.php | 20 ++++++------ 3 files changed, 47 insertions(+), 17 deletions(-) diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml index cd30239..f9dc883 100755 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml @@ -2,22 +2,52 @@ derpy - 2 - 13 + 0 + 18 0 0 0 0 - 0 + 2 0 1 3 1 2 + + + Épée simple + default + 0 + + + Dague + default + 0 + + + Bouclier bois + default + 0 + + + Armure métal + default + 0 + + + Potion soin + default + Soigne 2 points de vie + + + Livre Rouge + default + Livre d'enchantement Rouge + + default - Notes sur la fiche de Derpy - 0 diff --git a/play/action.php b/play/action.php index 313ef5b..598473c 100755 --- a/play/action.php +++ b/play/action.php @@ -137,8 +137,8 @@ if (isset($_GET['trans_dark'])) { $xml->entry->trans="dark"; } -if (isset($_GET['edit_notes'])) { - $xml->entry->notes = $_POST["notes"]; +if (isset($_GET['edit_stuff'])) { + $xml->entry->stuff = $_POST["stuff"]; } if (isset($_GET['gift_plus']) && $xml->entry->gift<99999) { diff --git a/play/gamers.php b/play/gamers.php index f207d1e..0f4ac88 100755 --- a/play/gamers.php +++ b/play/gamers.php @@ -172,42 +172,42 @@ foreach($xml->entry as $entry) {
- +

Équipements

 Offensif

- Armure métal - Armure métal + stuff->stuff_1->info;?> + stuff->stuff_2->info;?>

 Défensif

- Place libre ... - Place libre ... + stuff->stuff_3->info;?> + stuff->stuff_4->info;?>

 Objets

- Armure métal - Armure métal + stuff->stuff_5->info;?> + stuff->stuff_6->info;?>
-