Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

166 рядки
9.0 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="stylesheet" href="../css/bootstrap.css" media="screen">
  10. <link rel="stylesheet" href="../css/bootswatch.min.css">
  11. <link rel="stylesheet" href="../css/ionicons.min.css">
  12. <link rel="stylesheet" href="../css/ecomonde.css">
  13. </head>
  14. <body>
  15. <div class="container-fluid">
  16. <div class="col-lg-4">
  17. <a href="index.php"><img class="img-responsive" src="../img/logo_<?php echo rand(1, 6); ?>.png" alt="logo" /></a>
  18. <div class="container-fluid">
  19. <div class="col-lg-2">
  20. <button class="btn btn-default btn-sm" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><i class="ionicons ion-map"></i></button>
  21. </div>
  22. <div class="col-lg-2">
  23. <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>
  24. </div>
  25. <div class="col-lg-2">
  26. <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>
  27. </div>
  28. <div class="col-lg-2">
  29. <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>
  30. </div>
  31. <div class="col-lg-2">
  32. <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>
  33. </div>
  34. <div class="col-lg-2">
  35. <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>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="col-lg-4">
  40. <div class="well sponsor">
  41. <h2>Ecos</h2>
  42. <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 <i class="ionicons ion-heart" style="color:red;"></i></h4>
  43. <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>
  44. </div>
  45. </div>
  46. <div class="col-lg-4">
  47. <div class="well sponsor">
  48. <h2>Action</h2>
  49. <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>
  50. <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>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="panel-group" id="accordion">
  55. <div class="panel panel-default">
  56. <div id="collapseOne" class="panel-collapse collapse">
  57. <div class="panel-body">
  58. <img class="img-responsive" src="../medias/<?php echo $hash ?>/map.jpg" alt="map" />
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="container-fluid">
  64. <?php
  65. // nombre de gamers
  66. $f = 0;
  67. foreach(glob('*.xml') as $f) {$f+=1;}
  68. $nb_membres = count(glob('../medias/'.$hash.'/*.xml'));
  69. ?>
  70. <?php
  71. function button_modif_level($nom_parametre, $nom_perso, $texte_bouton)
  72. {
  73. 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>';
  74. }
  75. function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton)
  76. {
  77. 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>';
  78. }
  79. function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton)
  80. {
  81. 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>';
  82. }
  83. function button_modif_money($nom_parametre, $nom_perso, $texte_bouton)
  84. {
  85. 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>';
  86. }
  87. function trans($nom_parametre, $nom_perso, $couleur)
  88. {
  89. 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>';
  90. }
  91. function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton)
  92. {
  93. 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>';
  94. }
  95. function button_modif_gift($nom_parametre, $nom_perso, $texte_bouton)
  96. {
  97. 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>';
  98. }
  99. // liste des gamers
  100. $folder = "../medias/".$hash."/";
  101. $dossier = opendir($folder);
  102. while ($fichier = readdir($dossier))
  103. {
  104. if ($fichier != "." && $fichier != ".." && $fichier != "map.jpg" && $fichier != "soft.mp3" && $fichier != "tonic.mp3" && $fichier != "hard.mp3" && $fichier != "light.mp3" && $fichier != "dark.mp3")
  105. {
  106. $gamers = explode(".xml", $fichier);
  107. include ("gamers.php");
  108. }
  109. }
  110. closedir($dossier);
  111. ?>
  112. </div>
  113. <!-- infos -->
  114. <div class="modal fade" id="infos" tabindex="-1" role="dialog" aria-labelledby="infos" aria-hidden="true">
  115. <div class="modal-dialog">
  116. <div class="modal-content">
  117. <div class="modal-body">
  118. <div class="container-fluid">
  119. <div class="col-lg-6">
  120. <div class="panel panel-light">
  121. <div class="panel-heading">
  122. <h3 class="panel-title">Light</h3>
  123. </div>
  124. <div class="panel-body">
  125. <img class="img-responsive" src="../img/light.jpg" alt="light" /><br />
  126. <p class="p_light">Light Heal</p>
  127. <p class="p_light">Light Shield</p>
  128. <p class="p_light">Stop Time</p>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="col-lg-6">
  133. <div class="panel panel-dark">
  134. <div class="panel-heading">
  135. <h4 class="panel-title">Dark</h4>
  136. </div>
  137. <div class="panel-body">
  138. <img class="img-responsive" src="../img/dark.jpg" alt="light" /><br />
  139. <p class="p_dark">Dark Punch</p>
  140. <p class="p_dark">Dark Bomb</p>
  141. <p class="p_dark">Invisibility</p>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. <div class="modal-footer">
  148. <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. <script src="../js/jquery-1.10.2.min.js"></script>
  154. <script src="../js/bootstrap.min.js"></script>
  155. <script src="../js/bootswatch.js"></script>
  156. </body>
  157. </html>
  158. <?php elseif($status == 0):
  159. header("location:../index.php?msg=4");
  160. endif; ?>