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.

enemy.php 1.4 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. $xml = simplexml_load_file('../medias/'.$hash.'/enemy/'.$fichier);
  3. if (!isset($itemnb)) {
  4. $itemnb=0;
  5. } else {
  6. $itemnb++;
  7. }
  8. foreach($xml->entry as $entry) {
  9. ?>
  10. <!-- enemy -->
  11. <div class="col-lg-4">
  12. <div class="panel panel-default">
  13. <div class="panel-heading">
  14. <div class="row">
  15. <div class="enemy_name">
  16. <?php echo $entry->nom; ?>
  17. </div>
  18. </div>
  19. <div class="row">
  20. <div class="col-lg-6">
  21. <br />
  22. <p style="font-size:40px;"><i class="ionicons ion-heart" style="color:red;";></i>&nbsp;<i class="ionicons ion-heart" style="color:red;";></i>&nbsp;<i class="ionicons ion-heart-broken" style="color:grey;";></i></p>
  23. <?php echo $entry->hp; ?>
  24. </div>
  25. <div class="col-lg-2">
  26. <?php button_modif_hp_enemy("hp_moins", $entry->nom, "-"); ?><?php button_modif_hp_enemy("hp_plus", $entry->nom, "+"); ?>
  27. <br /><br />
  28. <button type="submit" class="btn btn-danger btn-sm"><i class="glyphicon glyphicon-remove-sign"></i></button>
  29. </div>
  30. <div class="col-lg-4">
  31. <a href="http://wiki.ecomonde.land/doku.php?id=wiki:ennemies:loups_garrous" target="_blank" /><img class="img-responsive" src="http://wiki.ecomonde.land/lib/exe/fetch.php?w=600&tok=44210c&media=wiki:loup_garrou.jpg" alt="enemy" />
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. <!-- /enemy -->
  38. <?php } ?>