Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

156 linhas
7.9 KiB

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