From 56ccfe40a1cc08bedf3753447f97879f6cdfd257 Mon Sep 17 00:00:00 2001 From: heuzef Date: Sun, 3 May 2015 22:32:58 +0200 Subject: [PATCH] Fix bug Hash Phone View --- medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml | 4 +-- medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php | 38 +++++------------------ play/action_phone.php | 4 +-- 3 files changed, 11 insertions(+), 35 deletions(-) diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml index 9cf6026..00dcd96 100644 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml @@ -3,13 +3,13 @@ derpy 2 - 22 + 23 50 5 0 0 - 0 + 1 0 0 0 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php b/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php index 1910d87..8c0c70f 100755 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php @@ -1,39 +1,15 @@ '; - } function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; - } - function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; - } - function button_modif_money($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; - } - function trans($nom_parametre, $nom_perso, $couleur) - { - echo '
'; - } - function button_modif_attack($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; - } - function button_modif_defense($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; + $currentpath = explode("/", dirname(__FILE__)); + $hash=$currentpath[6]; + echo '
'; } function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton) { - echo '
'; - } - function button_modif_gift($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; + $currentpath = explode("/", dirname(__FILE__)); + $hash=$currentpath[6]; + echo '
'; } ?> @@ -69,7 +45,7 @@ if(!empty($_GET["view"]))
level; ?>    - nom; ?>       + nom; ?>     Attaque + attack+$entry->level+$entry->stuff->stuff_1->spec; ?>    Défense + defense+$entry->level+$entry->stuff->stuff_2->spec; ?>