|
|
@@ -172,42 +172,42 @@ foreach($xml->entry as $entry) { |
|
|
|
<hr />
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#notes<?php echo $itemnb; ?>" style="float:right;"><i class="ionicons ion-edit"></i></button>
|
|
|
|
<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#stuff<?php echo $itemnb; ?>" style="float:right;"><i class="ionicons ion-edit"></i></button>
|
|
|
|
<h3>Équipements</h3>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<h4><img src="../img/item/offensif.png" class="img-rounded"> Offensif</h4>
|
|
|
|
<div class="bs-component">
|
|
|
|
<span class="label label-default" data-toggle="tooltip" data-placement="top" data-original-title="Place libre">Armure métal</span>
|
|
|
|
<span class="label label-default" data-toggle="tooltip" data-placement="top" data-original-title="Place libre">Armure métal</span>
|
|
|
|
<span class="label label-<?php echo $entry->stuff->stuff_1->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="Attaque +<?php echo $entry->stuff->stuff_1->spec;?>"><?php echo $entry->stuff->stuff_1->info;?></span>
|
|
|
|
<span class="label label-<?php echo $entry->stuff->stuff_2->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="Attaque +<?php echo $entry->stuff->stuff_2->spec;?>"><?php echo $entry->stuff->stuff_2->info;?></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<h4><img src="../img/item/defensif.png" class="img-rounded"> Défensif</h4>
|
|
|
|
<div class="bs-component">
|
|
|
|
<span class="label label-default" data-toggle="tooltip" data-placement="top" data-original-title="Place libre">Place libre ...</span>
|
|
|
|
<span class="label label-default" data-toggle="tooltip" data-placement="top" data-original-title="Place libre">Place libre ...</span>
|
|
|
|
<span class="label label-<?php echo $entry->stuff->stuff_3->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="Défense +<?php echo $entry->stuff->stuff_3->spec;?>"><?php echo $entry->stuff->stuff_3->info;?></span>
|
|
|
|
<span class="label label-<?php echo $entry->stuff->stuff_4->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="Défense +<?php echo $entry->stuff->stuff_4->spec;?>"><?php echo $entry->stuff->stuff_4->info;?></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<h4><img src="../img/item/objets.png" class="img-rounded"> Objets</h4>
|
|
|
|
<div class="bs-component">
|
|
|
|
<span class="label label-default" data-toggle="tooltip" data-placement="top" data-original-title="Place libre">Armure métal</span>
|
|
|
|
<span class="label label-default" data-toggle="tooltip" data-placement="top" data-original-title="Place libre">Armure métal</span>
|
|
|
|
<span class="label label-<?php echo $entry->stuff->stuff_5->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo $entry->stuff->stuff_5->spec;?>"><?php echo $entry->stuff->stuff_5->info;?></span>
|
|
|
|
<span class="label label-<?php echo $entry->stuff->stuff_6->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo $entry->stuff->stuff_6->spec;?>"><?php echo $entry->stuff->stuff_6->info;?></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- notes -->
|
|
|
|
<div class="modal fade" id="notes<?php echo $itemnb;?>" tabindex="-1" role="dialog" aria-labelledby="notes<?php echo $itemnb;?>" aria-hidden="true">
|
|
|
|
<div class="modal fade" id="stuff<?php echo $itemnb;?>" tabindex="-1" role="dialog" aria-labelledby="stuff<?php echo $itemnb;?>" aria-hidden="true">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<form action="action.php?edit_notes&entry=<?php echo $entry->nom; ?>" method="post">
|
|
|
|
<textarea name="notes" id="notes<?php echo $itemnb; ?>" cols="80" rows="10"><?php echo $entry->notes;?></textarea>
|
|
|
|
<form action="action.php?edit_stuff&entry=<?php echo $entry->nom; ?>" method="post">
|
|
|
|
<textarea name="notes" id="stuff<?php echo $itemnb; ?>" cols="80" rows="10"><?php echo $entry->stuff;?></textarea>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal" style="float:left;">Fermer</button>
|
|
|
|
<input type="submit" class="btn btn-primary" value="Editer" />
|
|
|
|