Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.php 8.7 KiB

10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. // liste des gamers
  96. $folder = "../medias/".$hash."/";
  97. $dossier = opendir($folder);
  98. while ($fichier = readdir($dossier))
  99. {
  100. if ($fichier != "." && $fichier != ".." && $fichier != "map.jpg" && $fichier != "soft.mp3" && $fichier != "tonic.mp3" && $fichier != "hard.mp3" && $fichier != "light.mp3" && $fichier != "dark.mp3")
  101. {
  102. $gamers = explode(".xml", $fichier);
  103. include ("gamers.php");
  104. }
  105. }
  106. closedir($dossier);
  107. ?>
  108. </div>
  109. <!-- infos -->
  110. <div class="modal fade" id="infos" tabindex="-1" role="dialog" aria-labelledby="infos" aria-hidden="true">
  111. <div class="modal-dialog">
  112. <div class="modal-content">
  113. <div class="modal-body">
  114. <div class="container-fluid">
  115. <div class="col-lg-6">
  116. <div class="panel panel-light">
  117. <div class="panel-heading">
  118. <h3 class="panel-title">Light</h3>
  119. </div>
  120. <div class="panel-body">
  121. <img class="img-responsive" src="../img/light.jpg" alt="light" /><br />
  122. <p class="p_light">Light Heal</p>
  123. <p class="p_light">Light Shield</p>
  124. <p class="p_light">Stop Time</p>
  125. </div>
  126. </div>
  127. </div>
  128. <div class="col-lg-6">
  129. <div class="panel panel-dark">
  130. <div class="panel-heading">
  131. <h4 class="panel-title">Dark</h4>
  132. </div>
  133. <div class="panel-body">
  134. <img class="img-responsive" src="../img/dark.jpg" alt="light" /><br />
  135. <p class="p_dark">Dark Punch</p>
  136. <p class="p_dark">Dark Bomb</p>
  137. <p class="p_dark">Invisibility</p>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="modal-footer">
  144. <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. <script src="../js/jquery-1.10.2.min.js"></script>
  150. <script src="../js/bootstrap.min.js"></script>
  151. <script src="../js/bootswatch.js"></script>
  152. </body>
  153. </html>
  154. <?php elseif($status == 0):
  155. header("location:../index.php?msg=4");
  156. endif; ?>