Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

218 строки
10 KiB

  1. <?php include "../header.php" ?>
  2. <?php if($status != 0): ?>
  3. <!DOCTYPE html>
  4. <html lang="fr">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>EcoMonde</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="shortcut icon" href="../img/favicon.png" type="image/x-icon" />
  10. <link rel="stylesheet" href="../css/bootstrap.css" media="screen">
  11. <link rel="stylesheet" href="../css/bootswatch.min.css">
  12. <link rel="stylesheet" href="../css/ionicons.min.css">
  13. <link rel="stylesheet" href="../css/ecomonde.css">
  14. </head>
  15. <body>
  16. <!-- top -->
  17. <div class="container-fluid">
  18. <div class="col-lg-4">
  19. <a href="index.php"><img class="img-responsive" src="../img/logo_<?php echo rand(1, 6); ?>.png" alt="logo" /></a>
  20. <br />
  21. <div class="container-fluid">
  22. <div class="col-lg-2">
  23. <button class="btn btn-default btn-sm" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><i class="ionicons ion-map"></i></button>
  24. </div>
  25. <div class="col-lg-2">
  26. <a onclick="window.open('music.php?sample=soft.mp3','ecomonde','menubar=no, scrollbars=no, top=100, left=50, width=320, height=100');"><button class="btn btn-default btn-sm"><i class="ionicons ion-music-note" style="color:#CCC;"></i></button></a>
  27. </div>
  28. <div class="col-lg-2">
  29. <a onclick="window.open('music.php?sample=tonic.mp3','ecomonde','menubar=no, scrollbars=no, top=100, left=50, width=320, height=100');"><button class="btn btn-default btn-sm"><i class="ionicons ion-music-note" style="color:#AAA;"></i></button></a>
  30. </div>
  31. <div class="col-lg-2">
  32. <a onclick="window.open('music.php?sample=hard.mp3','ecomonde','menubar=no, scrollbars=no, top=100, left=50, width=320, height=100');"><button class="btn btn-default btn-sm"><i class="ionicons ion-music-note" style="color:#000;"></i></button></a>
  33. </div>
  34. <div class="col-lg-2">
  35. <a onclick="window.open('music.php?sample=light.mp3','ecomonde','menubar=no, scrollbars=no, top=100, left=50, width=320, height=100');"><button class="btn btn-default btn-sm"><i class="ionicons ion-music-note" style="color:#ADDFFF;"></i></button></a>
  36. </div>
  37. <div class="col-lg-2">
  38. <a onclick="window.open('music.php?sample=dark.mp3','ecomonde','menubar=no, scrollbars=no, top=100, left=50, width=320, height=100');"><button class="btn btn-default btn-sm"><i class="ionicons ion-music-note" style="color:#8128B5;"></i></button></a>
  39. </div>
  40. </div>
  41. <br />
  42. <div class="container-fluid">
  43. <div class="col-lg-5">
  44. <button class="btn btn-warning btn-sm"><i class="ionicons ion-plus"></i>&nbsp;&nbsp;Ajouter ennemi</button></a>
  45. </div>
  46. <div class="col-lg-2"></div>
  47. <div class="col-lg-5">
  48. <button class="btn btn-danger btn-sm"><i class="ionicons ion-plus"></i>&nbsp;&nbsp;Ajouter BOSS</button></a>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="col-lg-4">
  53. <div class="well sponsor">
  54. <h2>Ecos</h2>
  55. <h4>10 <i class="ionicons ion-flash" style="color:#FFD700;"></i> = 1 <i class="ionicons ion-fireball" style="color:#AAA;"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 <i class="ionicons ion-fireball" style="color:#28b62c;"></i> = (2+LVL) <i class="ionicons ion-heart" style="color:red;"></i></h4>
  56. <h4><i class="ionicons ion-fireball" style="color:#28b62c;"></i> + <i class="ionicons ion-fireball" style="color:#158cba;"></i> + <i class="ionicons ion-fireball" style="color:#ffd000;"></i> + <i class="ionicons ion-fireball" style="color:#ff4136;"></i> = <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i> ou <i class="ionicons ion-fireball" style="color:#8128B5;"></i></h4>
  57. </div>
  58. </div>
  59. <div class="col-lg-4">
  60. <div class="well sponsor">
  61. <h2>Action</h2>
  62. <h4>Transfert d'ecos : 1 <i class="ionicons ion-fireball" style="color:#AAA;"></i>&nbsp;<i class="ionicons ion-arrow-swap";></i>&nbsp; 1 <i class="ionicons ion-fireball" style="color:#AAA;"></i> = 1 <i class="ionicons ion-flash" style="color:#FFD700;"></i>&nbsp;<i class="ionicons ion-arrow-swap";></i>&nbsp; 1 <i class="ionicons ion-flash" style="color:#FFD700;"></i>
  63. <h4>Transformation Light ou Dark = 1 <button class="btn btn-default btn-xs" data-toggle="modal" data-target="#infos"><i class="ionicons ion-fireball" style="color:#ADDFFF;"></i> ou <i class="ionicons ion-fireball" style="color:#8128B5;"></i></button></h4>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="panel-group" id="accordion">
  68. <div class="panel panel-default">
  69. <div id="collapseOne" class="panel-collapse collapse">
  70. <div class="panel-body">
  71. <img class="img-responsive" src="../medias/<?php echo $hash ?>/map.jpg" alt="map" />
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <!-- /top -->
  77. <!-- enemy -->
  78. <div class="container-fluid">
  79. <?php
  80. // nombre enemy
  81. $f = 0;
  82. foreach(glob('*.xml') as $f) {$f+=1;}
  83. $nb_membres = count(glob('../medias/'.$hash.'/enemy/*.xml'));
  84. ?>
  85. <?php
  86. function button_modif_hp_enemy($nom_parametre, $nom_enemy, $texte_bouton)
  87. {
  88. echo '<form action="action_enemy.php?'.$nom_parametre.'&amp;entry='.$nom_enemy.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:left;">'.$texte_bouton.'</button></form>';
  89. }
  90. // liste enemy
  91. $folder = "../medias/".$hash."/enemy/";
  92. $dossier = opendir($folder);
  93. while ($fichier = readdir($dossier))
  94. {
  95. if ($fichier != "." && $fichier != "..")
  96. {
  97. $gamers = explode(".xml", $fichier);
  98. include ("enemy.php");
  99. }
  100. }
  101. closedir($dossier);
  102. ?>
  103. </div>
  104. <!-- /enemy -->
  105. <hr />
  106. <!-- gamers -->
  107. <div class="container-fluid">
  108. <?php
  109. // nombre de gamers
  110. $f = 0;
  111. foreach(glob('*.xml') as $f) {$f+=1;}
  112. $nb_membres = count(glob('../medias/'.$hash.'/*.xml'));
  113. ?>
  114. <?php
  115. function button_modif_level($nom_parametre, $nom_perso, $texte_bouton)
  116. {
  117. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:left;">'.$texte_bouton.'</button></form>';
  118. }
  119. function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton)
  120. {
  121. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:left;">'.$texte_bouton.'</button></form>';
  122. }
  123. function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton)
  124. {
  125. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:left;">'.$texte_bouton.'</button></form>';
  126. }
  127. function button_modif_money($nom_parametre, $nom_perso, $texte_bouton)
  128. {
  129. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:left;">'.$texte_bouton.'</button></form>';
  130. }
  131. function trans($nom_parametre, $nom_perso, $couleur)
  132. {
  133. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:right;"><i class="ionicons ion-fireball" style="color:'.$couleur.'";></i></button></form>';
  134. }
  135. function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton)
  136. {
  137. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>';
  138. }
  139. function button_modif_gift($nom_parametre, $nom_perso, $texte_bouton)
  140. {
  141. echo '<form action="action.php?'.$nom_parametre.'&amp;entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs" style="float:left;">'.$texte_bouton.'</button></form>';
  142. }
  143. // liste des gamers
  144. $folder = "../medias/".$hash."/";
  145. $dossier = opendir($folder);
  146. while ($fichier = readdir($dossier))
  147. {
  148. if ($fichier != "." && $fichier != ".." && $fichier != "map.jpg" && $fichier != "soft.mp3" && $fichier != "tonic.mp3" && $fichier != "hard.mp3" && $fichier != "light.mp3" && $fichier != "dark.mp3" && $fichier != "enemy")
  149. {
  150. $gamers = explode(".xml", $fichier);
  151. include ("gamers.php");
  152. }
  153. }
  154. closedir($dossier);
  155. ?>
  156. </div>
  157. <!-- /gamers -->
  158. <!-- infos -->
  159. <div class="modal fade" id="infos" tabindex="-1" role="dialog" aria-labelledby="infos" aria-hidden="true">
  160. <div class="modal-dialog">
  161. <div class="modal-content">
  162. <div class="modal-body">
  163. <div class="container-fluid">
  164. <div class="col-lg-6">
  165. <div class="panel panel-light">
  166. <div class="panel-heading">
  167. <h3 class="panel-title">Light</h3>
  168. </div>
  169. <div class="panel-body">
  170. <img class="img-responsive" src="../img/light.jpg" alt="light" /><br />
  171. <p class="p_light">Light Heal</p>
  172. <p class="p_light">Light Shield</p>
  173. <p class="p_light">Stop Time</p>
  174. </div>
  175. </div>
  176. </div>
  177. <div class="col-lg-6">
  178. <div class="panel panel-dark">
  179. <div class="panel-heading">
  180. <h4 class="panel-title">Dark</h4>
  181. </div>
  182. <div class="panel-body">
  183. <img class="img-responsive" src="../img/dark.jpg" alt="light" /><br />
  184. <p class="p_dark">Dark Punch</p>
  185. <p class="p_dark">Dark Bomb</p>
  186. <p class="p_dark">Invisibility</p>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="modal-footer">
  193. <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. <!-- /infos -->
  199. <script src="../js/jquery-1.10.2.min.js"></script>
  200. <script src="../js/bootstrap.min.js"></script>
  201. <script src="../js/bootswatch.js"></script>
  202. </body>
  203. </html>
  204. <?php elseif($status == 0):
  205. header("location:../index.php?msg=4");
  206. endif; ?>