From 999820fbc80721899341c60b4c21b14e11b0632c Mon Sep 17 00:00:00 2001 From: heuzef Date: Fri, 22 Aug 2014 19:08:19 +0200 Subject: [PATCH] creer un joueur --- del.php | 1 - index.php | 25 ++++++++++++++++++++-- medias/c0f08ae603e364cb554fe71c9fc94ffd/Afyaka.xml | 18 ++++++++++++++++ medias/c0f08ae603e364cb554fe71c9fc94ffd/Heuzef.xml | 18 ++++++++++++++++ medias/c0f08ae603e364cb554fe71c9fc94ffd/Tyrek.xml | 18 ++++++++++++++++ .../c0f08ae603e364cb554fe71c9fc94ffd/Zycheron.xml | 18 ++++++++++++++++ .../c0f08ae603e364cb554fe71c9fc94ffd/player1.xml | 18 ---------------- .../c0f08ae603e364cb554fe71c9fc94ffd/player2.xml | 18 ---------------- .../c0f08ae603e364cb554fe71c9fc94ffd/player3.xml | 18 ---------------- new_player.php | 13 +++++++++++ 10 files changed, 108 insertions(+), 57 deletions(-) create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/Afyaka.xml create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/Heuzef.xml create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/Tyrek.xml create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/Zycheron.xml delete mode 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/player1.xml delete mode 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/player2.xml delete mode 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/player3.xml create mode 100644 new_player.php diff --git a/del.php b/del.php index 8d6c853..889f6e9 100755 --- a/del.php +++ b/del.php @@ -1,6 +1,5 @@ \ No newline at end of file diff --git a/index.php b/index.php index 41510f7..6a7eaae 100755 --- a/index.php +++ b/index.php @@ -97,7 +97,7 @@ $message[4]='


-   Créer un joueur +   Créer un joueur


@@ -197,9 +197,30 @@ $message[4]='

- + +
diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Afyaka.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Afyaka.xml new file mode 100644 index 0000000..b9b4d89 --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Afyaka.xml @@ -0,0 +1,18 @@ + + + + Afyaka + 10 + 20 + + 0 + 0 + 0 + 0 + 5 + 0 + + light + ... + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Heuzef.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Heuzef.xml new file mode 100644 index 0000000..c6a2038 --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Heuzef.xml @@ -0,0 +1,18 @@ + + + + Heuzef + 10 + 20 + + 0 + 0 + 0 + 0 + 0 + 0 + + default + ... + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Tyrek.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Tyrek.xml new file mode 100644 index 0000000..76949a5 --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Tyrek.xml @@ -0,0 +1,18 @@ + + + + Tyrek + 10 + 200 + + 0 + 0 + 0 + 0 + 0 + 0 + + default + ... + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Zycheron.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Zycheron.xml new file mode 100644 index 0000000..1d742ac --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Zycheron.xml @@ -0,0 +1,18 @@ + + + + Zycheron + 10 + 20 + + 0 + 0 + 0 + 0 + 0 + 5 + + dark + ... + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player1.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/player1.xml deleted file mode 100755 index d6e00bf..0000000 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player1.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - player1 - 10 - 20 - - 0 - 0 - 0 - 0 - 0 - 0 - - default - ... - - diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player2.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/player2.xml deleted file mode 100755 index ff44a9b..0000000 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player2.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - player2 - 10 - 20 - - 0 - 0 - 0 - 0 - 0 - 0 - - default - ... - - diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player3.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/player3.xml deleted file mode 100755 index 1526738..0000000 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player3.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - player3 - 10 - 20 - - 0 - 0 - 0 - 0 - 0 - 0 - - default - ... - - diff --git a/new_player.php b/new_player.php new file mode 100644 index 0000000..5ff80eb --- /dev/null +++ b/new_player.php @@ -0,0 +1,13 @@ +entry->nom = $player_name; + +$xml->asXml('./medias/'.$hash.'/'.$player_name.'.xml'); + +header("location: index.php"); +?> \ No newline at end of file