Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

index.php 8.2 KiB

10 lat temu
10 lat temu
10 lat temu
10 lat temu
10 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. // fonctions
  72. function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton)
  73. {
  74. 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>';
  75. }
  76. function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton)
  77. {
  78. 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>';
  79. }
  80. function trans($nom_parametre, $nom_perso, $couleur)
  81. {
  82. 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>';
  83. }
  84. function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton)
  85. {
  86. 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>';
  87. }
  88. // liste des gamers
  89. $folder = "../medias/".$hash."/";
  90. $dossier = opendir($folder);
  91. while ($fichier = readdir($dossier))
  92. {
  93. if ($fichier != "." && $fichier != ".." && $fichier != "map.jpg" && $fichier != "soft.mp3" && $fichier != "tonic.mp3" && $fichier != "hard.mp3" && $fichier != "light.mp3" && $fichier != "dark.mp3")
  94. {
  95. $gamers = explode(".xml", $fichier);
  96. include ("gamers.php");
  97. }
  98. }
  99. closedir($dossier);
  100. ?>
  101. </div>
  102. <!-- infos -->
  103. <div class="modal fade" id="infos" tabindex="-1" role="dialog" aria-labelledby="infos" aria-hidden="true">
  104. <div class="modal-dialog">
  105. <div class="modal-content">
  106. <div class="modal-body">
  107. <div class="container-fluid">
  108. <div class="col-lg-6">
  109. <div class="panel panel-light">
  110. <div class="panel-heading">
  111. <h3 class="panel-title">Light</h3>
  112. </div>
  113. <div class="panel-body">
  114. <img class="img-responsive" src="../img/light.jpg" alt="light" /><br />
  115. <p class="p_light">Light Heal</p>
  116. <p class="p_light">Light Shield</p>
  117. <p class="p_light">Stop Time</p>
  118. </div>
  119. </div>
  120. </div>
  121. <div class="col-lg-6">
  122. <div class="panel panel-dark">
  123. <div class="panel-heading">
  124. <h4 class="panel-title">Dark</h4>
  125. </div>
  126. <div class="panel-body">
  127. <img class="img-responsive" src="../img/dark.jpg" alt="light" /><br />
  128. <p class="p_dark">Dark Punch</p>
  129. <p class="p_dark">Dark Bomb</p>
  130. <p class="p_dark">Invisibility</p>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <div class="modal-footer">
  137. <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. <script src="../js/jquery-1.10.2.min.js"></script>
  143. <script src="../js/bootstrap.min.js"></script>
  144. <script src="../js/bootswatch.js"></script>
  145. </body>
  146. </html>
  147. <?php elseif($status == 0):
  148. header("location:../index.php?msg=4");
  149. endif; ?>