diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml
index 8a66f79..0fc75dd 100644
--- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml
+++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml
@@ -2,19 +2,20 @@
Derpy
- 2
+ 0
10
- 50
- 999
+ 0
+ 0
0
0
0
0
- 5
+ 0
0
default
...
+ 0
diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Meganomtrolo.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/Meganomtrolo.xml
deleted file mode 100644
index 87e3b49..0000000
--- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/Meganomtrolo.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- Meganomtrolo
- 3
- 10
- 99999
- 99999
-
- 1
- 1
- 1
- 1
- 0
- 0
-
- default
- Ceci est une descrition bien trop longue !
-
-Avec des saut de lignes et tous.
-
-<br />
-<br />
-
-Lorem ipsum dolor sit amet...
-
-
diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/zycheron.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/zycheron.xml
deleted file mode 100644
index f2c3d62..0000000
--- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/zycheron.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- zycheron
- 0
- 10
- 0
- 0
-
- 0
- 0
- 0
- 0
- 0
- 5
-
- default
- ...
-
-
diff --git a/medias/default/player.xml b/medias/default/player.xml
index aa363fb..d3184cc 100755
--- a/medias/default/player.xml
+++ b/medias/default/player.xml
@@ -16,5 +16,6 @@
default
...
+ 0
diff --git a/play/action.php b/play/action.php
index b8d3aa2..0768406 100755
--- a/play/action.php
+++ b/play/action.php
@@ -110,6 +110,14 @@ if (isset($_GET['edit_notes'])) {
$xml->entry->notes = $_POST["notes"];
}
+if (isset($_GET['gift_plus']) && $xml->entry->ecos->noire<5) {
+ $xml->entry->gift++;
+}
+
+if (isset($_GET['gift_moins']) && $xml->entry->ecos->noire>0) {
+ $xml->entry->gift--;
+}
+
$xml->asXml('../medias/'.$hash.'/'.$nom_modif.'.xml');
header("location: index.php");
?>
\ No newline at end of file
diff --git a/play/gamers.php b/play/gamers.php
index ecb7687..502164d 100755
--- a/play/gamers.php
+++ b/play/gamers.php
@@ -155,13 +155,17 @@ foreach($xml->entry as $entry) {
-
+
+
+
gift; ?>
+ nom, "-"); ?>nom, "+"); ?>
+
diff --git a/play/index.php b/play/index.php
index 6e2d25d..ccc2893 100755
--- a/play/index.php
+++ b/play/index.php
@@ -95,6 +95,10 @@
{
echo '';
}
+ function button_modif_gift($nom_parametre, $nom_perso, $texte_bouton)
+ {
+ echo '';
+ }
// liste des gamers
$folder = "../medias/".$hash."/";