您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

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