|
- <?php
-
- $xml = simplexml_load_file('../medias/'.$hash.'/enemy/'.$fichier);
- if (!isset($itemnb)) {
- $itemnb=0;
- } else {
- $itemnb++;
- }
- foreach($xml->entry as $entry) {
- ?>
-
- <!-- enemy -->
- <div class="col-lg-4">
- <div class="panel panel-default">
- <div class="panel-heading">
- <div class="row">
- <div class="enemy_name">
- <?php echo $entry->nom; ?>
- </div>
- </div>
- <div class="row">
- <div class="col-lg-6">
- <br />
- <p style="font-size:40px;"><i class="ionicons ion-heart" style="color:red;";></i> <i class="ionicons ion-heart" style="color:red;";></i> <i class="ionicons ion-heart-broken" style="color:grey;";></i></p>
- <?php echo $entry->hp; ?>
- </div>
- <div class="col-lg-2">
- <?php button_modif_hp_enemy("hp_moins", $entry->nom, "-"); ?><?php button_modif_hp_enemy("hp_plus", $entry->nom, "+"); ?>
- <br /><br />
- <button type="submit" class="btn btn-danger btn-sm"><i class="glyphicon glyphicon-remove-sign"></i></button>
- </div>
- <div class="col-lg-4">
- <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" />
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- /enemy -->
-
- <?php } ?>
|