diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/dark.mp3 b/medias/b642b4217b34b1e8d3bd915fc65c4452/dark.mp3 new file mode 100644 index 0000000..ca32538 Binary files /dev/null and b/medias/b642b4217b34b1e8d3bd915fc65c4452/dark.mp3 differ diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/hard.mp3 b/medias/b642b4217b34b1e8d3bd915fc65c4452/hard.mp3 new file mode 100644 index 0000000..ad53831 Binary files /dev/null and b/medias/b642b4217b34b1e8d3bd915fc65c4452/hard.mp3 differ diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/index.php b/medias/b642b4217b34b1e8d3bd915fc65c4452/index.php new file mode 100644 index 0000000..a9e47e2 --- /dev/null +++ b/medias/b642b4217b34b1e8d3bd915fc65c4452/index.php @@ -0,0 +1,162 @@ + + + + +EcoMonde + + + + + + + + +entry as $entry) + { ?> + + +
+ +  Recharger +   Wiki:Equipements +
+
+
+
+
+ level; ?>    + nom; ?>    + Att : attack+$entry->level); ?>    + Def : defense+$entry->level); ?>    +
+ level) + { + case 0: + $hp_max+=0; + break; + case 1: + $hp_max+=2; + break; + case 2: + $hp_max+=5; + break; + case 3: + $hp_max+=10; + break; + default: + echo "?"; + } + ?> +  hp; ?>/    +  money; ?>    +  xp; ?>    +  gift; ?>    +
+
+
+
+
ecos->verte; ?>
+
+
+
ecos->bleue; ?>
+
+
+
ecos->jaune; ?>
+
+
+
ecos->rouge; ?>
+
+
+
ecos->blanche; ?>
+
+
+
ecos->noire; ?>
+
+
+
+ +
+
+ + + +
+ logo +
+
+
  Joueurs :
+
+ + + entry as $entry) + { + $hp_max="10"; + switch ($entry->level) + { + case 0: + $hp_max+=0; + break; + case 1: + $hp_max+=2; + break; + case 2: + $hp_max+=5; + break; + case 3: + $hp_max+=10; + break; + default: + echo "?"; + } + $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge; + echo ' + + + + '; + } + } + } + closedir($dossier); + ?> + +
['.$entry->level.'] '.$entry->nom.' '.$entry->hp.'/'.$hp_max.' VOIR
+
+
+
+
+ + + diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/light.mp3 b/medias/b642b4217b34b1e8d3bd915fc65c4452/light.mp3 new file mode 100644 index 0000000..ccab731 Binary files /dev/null and b/medias/b642b4217b34b1e8d3bd915fc65c4452/light.mp3 differ diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/map.jpg b/medias/b642b4217b34b1e8d3bd915fc65c4452/map.jpg new file mode 100644 index 0000000..e807ec2 Binary files /dev/null and b/medias/b642b4217b34b1e8d3bd915fc65c4452/map.jpg differ diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/player.xml b/medias/b642b4217b34b1e8d3bd915fc65c4452/player.xml new file mode 100644 index 0000000..f597ce7 --- /dev/null +++ b/medias/b642b4217b34b1e8d3bd915fc65c4452/player.xml @@ -0,0 +1,23 @@ + + + + player + 0 + 10 + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + + default + ... + 0 + + diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/soft.mp3 b/medias/b642b4217b34b1e8d3bd915fc65c4452/soft.mp3 new file mode 100644 index 0000000..cf0dd5c Binary files /dev/null and b/medias/b642b4217b34b1e8d3bd915fc65c4452/soft.mp3 differ diff --git a/medias/b642b4217b34b1e8d3bd915fc65c4452/tonic.mp3 b/medias/b642b4217b34b1e8d3bd915fc65c4452/tonic.mp3 new file mode 100644 index 0000000..9960a2b Binary files /dev/null and b/medias/b642b4217b34b1e8d3bd915fc65c4452/tonic.mp3 differ diff --git a/register.php b/register.php index 9387f35..338e44c 100755 --- a/register.php +++ b/register.php @@ -11,7 +11,8 @@ if ($check_email) { header("location:index.php?msg=2"); } else { - $sql="INSERT INTO membres VALUES(NULL,'$pseudo','$pass','$email')"; + $latest_commit = file_get_contents('./version.txt'); + $sql="INSERT INTO membres VALUES(NULL,'$pseudo','$pass','$email','$latest_commit')"; mysql_query($sql) or die("ERREUR !"); mkdir("medias/".$hash."/"); mkdir("medias/".$hash."/enemy/");