diff --git a/css/bootstrap.css b/css/bootstrap.css index d1c4fae..b24b105 100755 --- a/css/bootstrap.css +++ b/css/bootstrap.css @@ -1,7 +1,7 @@ -/*! @import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic"); +/*! * Bootswatch v3.1.1+1 - * Homepage: http://bootswatch.com + * Homepage: http://bootswatch.com/lumen/ * Copyright 2012-2014 Thomas Park * Licensed under MIT * Based on Bootstrap diff --git a/index.php b/index.php old mode 100755 new mode 100644 index e7ceab5..2c96228 --- a/index.php +++ b/index.php @@ -1,148 +1,195 @@ - - - Ecomonde - - - - - + + + Ecomonde + + + + + - -
-
- logo -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
-
-
- map -
-
-
-
-
- + +
+
+
+ logo +
+
+ +
+
+
+
- '; - } - function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; - } - function trans($nom_parametre, $nom_perso, $couleur) - { - echo '
'; - } - function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton) - { - echo '
'; - } + - // liste des gamers - $folder = "gamers"; - $dossier = opendir($folder); - while ($fichier = readdir($dossier)) - { - if ($fichier != "." && $fichier != ".." ) - { - $gamers = explode(".xml", $fichier); - include ("gamers.php"); - } - } - closedir($dossier); - ?> -
- - - - - - - - +
+
+
+
+
  Configurer votre partie
+ +
+
+
+

Bienvenue Heuzef !

+

Voici les joueurs présent dans votre partie :

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nom
  Pseudonyme0000000000
  Pseudonyme0000000000
  Pseudonyme0000000000
  Pseudonyme0000000000
+
+
+
+ + + + \ No newline at end of file diff --git a/music.php b/music.php deleted file mode 100755 index 63a452b..0000000 --- a/music.php +++ /dev/null @@ -1,20 +0,0 @@ -Format non supporté.'; -} -if ($sample=="tonic.mp3") { -echo ''; -} -if ($sample=="hard.mp3") { -echo ''; -} -if ($sample=="light.mp3") { -echo ''; -} -if ($sample=="dark.mp3") { -echo ''; -} - -?> \ No newline at end of file diff --git a/action.php b/play/action.php similarity index 89% rename from action.php rename to play/action.php index 3612131..340c7e6 100644 --- a/action.php +++ b/play/action.php @@ -4,11 +4,11 @@ $nom_modif=""; if (isset($_GET['entry'])) { $nom_modif = $_GET['entry']; } else { - header("location: index.php"); + header("location: ./index.php"); end; } -$xml = simplexml_load_file('./gamers/'.$nom_modif.'.xml'); +$xml = simplexml_load_file('../gamers/'.$nom_modif.'.xml'); if (isset($_GET['hp_plus']) && $xml->entry->hp<10) { $xml->entry->hp++; @@ -93,6 +93,6 @@ if (isset($_GET['edit_notes'])) { $xml->entry->notes = $_POST["notes"]; } -$xml->asXml('./gamers/'.$nom_modif.'.xml'); +$xml->asXml('../gamers/'.$nom_modif.'.xml'); header("location: index.php"); ?> \ No newline at end of file diff --git a/gamers.php b/play/gamers.php similarity index 96% rename from gamers.php rename to play/gamers.php index 3fc08ed..fed21b8 100644 --- a/gamers.php +++ b/play/gamers.php @@ -1,6 +1,6 @@ + + + + Ecomonde + + + + + + + +
+
+ logo +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ map +
+
+
+
+
+ + + '; + } + function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton) + { + echo '
'; + } + function trans($nom_parametre, $nom_perso, $couleur) + { + echo '
'; + } + function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton) + { + echo '
'; + } + + // liste des gamers + $folder = "../gamers"; + $dossier = opendir($folder); + while ($fichier = readdir($dossier)) + { + if ($fichier != "." && $fichier != ".." ) + { + $gamers = explode(".xml", $fichier); + include ("gamers.php"); + } + } + closedir($dossier); + ?> +
+ + + + + + + + + \ No newline at end of file diff --git a/play/music.php b/play/music.php new file mode 100755 index 0000000..9bec11a --- /dev/null +++ b/play/music.php @@ -0,0 +1,20 @@ +Format non supporté.'; +} +if ($sample=="tonic.mp3") { +echo ''; +} +if ($sample=="hard.mp3") { +echo ''; +} +if ($sample=="light.mp3") { +echo ''; +} +if ($sample=="dark.mp3") { +echo ''; +} + +?> \ No newline at end of file diff --git a/scenario.odt b/scenarios/scenario_1.odt similarity index 100% rename from scenario.odt rename to scenarios/scenario_1.odt