Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

148 Zeilen
7.9 KiB

  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Ecomonde</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="./css/bootstrap.css" media="screen">
  8. <link rel="stylesheet" href="./css/bootswatch.min.css">
  9. <link rel="stylesheet" href="./css/ecomonde.css">
  10. </head>
  11. <body>
  12. <div class="container-fluid">
  13. <div class="col-lg-4">
  14. <img class="img-responsive" src="./img/logo_<?php echo rand(1, 6); ?>.png" alt="logo" />
  15. <div class="container-fluid">
  16. <div class="col-lg-2">
  17. <button class="btn btn-default btn-sm" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><i class="glyphicon glyphicon-map-marker"></i></button>
  18. </div>
  19. <div class="col-lg-2">
  20. <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>
  21. </div>
  22. <div class="col-lg-2">
  23. <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>
  24. </div>
  25. <div class="col-lg-2">
  26. <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>
  27. </div>
  28. <div class="col-lg-2">
  29. <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>
  30. </div>
  31. <div class="col-lg-2">
  32. <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>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="col-lg-4">
  37. <div class="well sponsor">
  38. <h2>Ecos</h2>
  39. <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>
  40. <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>
  41. </div>
  42. </div>
  43. <div class="col-lg-4">
  44. <div class="well sponsor">
  45. <h2>Action</h2>
  46. <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>
  47. <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>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="panel-group" id="accordion">
  52. <div class="panel panel-default">
  53. <div id="collapseOne" class="panel-collapse collapse">
  54. <div class="panel-body">
  55. <img class="img-responsive" src="./img/map.jpg" alt="map" />
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="container-fluid">
  61. <?php
  62. // nombre de gamers
  63. $f = 0;
  64. foreach(glob('*.xml') as $f) {$f+=1;}
  65. $nb_membres = count(glob('./gamers/*.xml'));
  66. ?>
  67. <?php
  68. // fonctions
  69. function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton)
  70. {
  71. 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>';
  72. }
  73. function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton)
  74. {
  75. 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>';
  76. }
  77. function trans($nom_parametre, $nom_perso, $couleur)
  78. {
  79. 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>';
  80. }
  81. function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton)
  82. {
  83. 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>';
  84. }
  85. // liste des gamers
  86. $folder = "gamers";
  87. $dossier = opendir($folder);
  88. while ($fichier = readdir($dossier))
  89. {
  90. if ($fichier != "." && $fichier != ".." )
  91. {
  92. $gamers = explode(".xml", $fichier);
  93. include ("gamers.php");
  94. }
  95. }
  96. closedir($dossier);
  97. ?>
  98. </div>
  99. <!-- infos -->
  100. <div class="modal fade" id="infos" tabindex="-1" role="dialog" aria-labelledby="infos" aria-hidden="true">
  101. <div class="modal-dialog">
  102. <div class="modal-content">
  103. <div class="modal-body">
  104. <div class="container-fluid">
  105. <div class="col-lg-6">
  106. <div class="panel panel-light">
  107. <div class="panel-heading">
  108. <h3 class="panel-title">Light</h3>
  109. </div>
  110. <div class="panel-body">
  111. <img class="img-responsive" src="./img/light.jpg" alt="light" /><br />
  112. <p class="p_light">Light Heal</p>
  113. <p class="p_light">Light Shield</p>
  114. <p class="p_light">Stop Time</p>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="col-lg-6">
  119. <div class="panel panel-dark">
  120. <div class="panel-heading">
  121. <h4 class="panel-title">Dark</h4>
  122. </div>
  123. <div class="panel-body">
  124. <img class="img-responsive" src="./img/dark.jpg" alt="light" /><br />
  125. <p class="p_dark">Dark Punch</p>
  126. <p class="p_dark">Dark Bomb</p>
  127. <p class="p_dark">Invisibility</p>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="modal-footer">
  134. <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <script src="./js/jquery-1.10.2.min.js"></script>
  140. <script src="./js/bootstrap.min.js"></script>
  141. <script src="./js/bootswatch.js"></script>
  142. </body>
  143. </html>