Procházet zdrojové kódy

Finalisation de l'inventaire

master
heuzef před 9 roky
rodič
revize
fb4276eff0
5 změnil soubory, kde provedl 307 přidání a 38 odebrání
  1. +28
    -0
      css/ecomonde.css
  2. +18
    -18
      medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml
  3. +32
    -2
      medias/default/player.xml
  4. +23
    -1
      play/action.php
  5. +206
    -17
      play/gamers.php

+ 28
- 0
css/ecomonde.css Zobrazit soubor

@@ -309,3 +309,31 @@
color: #8128B5;
font-weight: bold;
}

.enchant-default {
background-color: #999999;
}

.enchant-verte {
background-color: green;
}

.enchant-bleue {
background-color: blue;
}

.enchant-jaune {
background-color: gold;
}

.enchant-rouge {
background-color: red;
}

.enchant-blanche {
background-color: #ADDFFF;;
}

.enchant-noire {
background-color: #8128B5;
}

+ 18
- 18
medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml Zobrazit soubor

@@ -3,49 +3,49 @@
<entry>
<nom>derpy</nom>
<level>0</level>
<hp>18</hp>
<xp>0</xp>
<money>0</money>
<hp>10</hp>
<xp>50</xp>
<money>5</money>
<attack>0</attack>
<defense>0</defense>
<ecos>
<verte>2</verte>
<verte>0</verte>
<bleue>0</bleue>
<jaune>1</jaune>
<rouge>3</rouge>
<blanche>1</blanche>
<noire>2</noire>
<jaune>0</jaune>
<rouge>0</rouge>
<blanche>0</blanche>
<noire>0</noire>
</ecos>
<stuff>
<stuff_1>
<info>Épée simple</info>
<info>Vide</info>
<enchant>default</enchant>
<spec>0</spec>
</stuff_1>
<stuff_2>
<info>Dague</info>
<info>Vide</info>
<enchant>default</enchant>
<spec>0</spec>
</stuff_2>
<stuff_3>
<info>Bouclier bois</info>
<info>Vide</info>
<enchant>default</enchant>
<spec>0</spec>
<spec>Emplacement vide</spec>
</stuff_3>
<stuff_4>
<info>Armure métal</info>
<info>Vide</info>
<enchant>default</enchant>
<spec>0</spec>
<spec>Emplacement vide</spec>
</stuff_4>
<stuff_5>
<info>Potion soin</info>
<info>Vide</info>
<enchant>default</enchant>
<spec>Soigne 2 points de vie</spec>
<spec>Emplacement vide</spec>
</stuff_5>
<stuff_6>
<info>Livre Rouge</info>
<info>Vide</info>
<enchant>default</enchant>
<spec>Livre d'enchantement Rouge</spec>
<spec>Emplacement vide</spec>
</stuff_6>
</stuff>
<trans>default</trans>


+ 32
- 2
medias/default/player.xml Zobrazit soubor

@@ -16,8 +16,38 @@
<blanche>0</blanche>
<noire>0</noire>
</ecos>
<stuff>
<stuff_1>
<info>Vide</info>
<enchant>default</enchant>
<spec>0</spec>
</stuff_1>
<stuff_2>
<info>Vide</info>
<enchant>default</enchant>
<spec>0</spec>
</stuff_2>
<stuff_3>
<info>Vide</info>
<enchant>default</enchant>
<spec>Emplacement vide</spec>
</stuff_3>
<stuff_4>
<info>Vide</info>
<enchant>default</enchant>
<spec>Emplacement vide</spec>
</stuff_4>
<stuff_5>
<info>Vide</info>
<enchant>default</enchant>
<spec>Emplacement vide</spec>
</stuff_5>
<stuff_6>
<info>Vide</info>
<enchant>default</enchant>
<spec>Emplacement vide</spec>
</stuff_6>
</stuff>
<trans>default</trans>
<notes>...</notes>
<gift>0</gift>
</entry>
</response>

+ 23
- 1
play/action.php Zobrazit soubor

@@ -138,7 +138,29 @@ if (isset($_GET['trans_dark'])) {
}
if (isset($_GET['edit_stuff'])) {
$xml->entry->stuff = $_POST["stuff"];
$xml->entry->stuff->stuff_1->info = $_POST["stuff_1_info"];
$xml->entry->stuff->stuff_1->enchant = $_POST["stuff_1_enchant"];
$xml->entry->stuff->stuff_1->spec = $_POST["stuff_1_spec"];
$xml->entry->stuff->stuff_2->info = $_POST["stuff_2_info"];
$xml->entry->stuff->stuff_2->enchant = $_POST["stuff_2_enchant"];
$xml->entry->stuff->stuff_2->spec = $_POST["stuff_2_spec"];
$xml->entry->stuff->stuff_3->info = $_POST["stuff_3_info"];
$xml->entry->stuff->stuff_3->enchant = $_POST["stuff_3_enchant"];
$xml->entry->stuff->stuff_3->spec = $_POST["stuff_3_spec"];
$xml->entry->stuff->stuff_4->info = $_POST["stuff_4_info"];
$xml->entry->stuff->stuff_4->enchant = $_POST["stuff_4_enchant"];
$xml->entry->stuff->stuff_4->spec = $_POST["stuff_4_spec"];
$xml->entry->stuff->stuff_5->info = $_POST["stuff_5_info"];
$xml->entry->stuff->stuff_5->enchant = $_POST["stuff_5_enchant"];
$xml->entry->stuff->stuff_5->spec = $_POST["stuff_5_spec"];
$xml->entry->stuff->stuff_6->info = $_POST["stuff_6_info"];
$xml->entry->stuff->stuff_6->enchant = $_POST["stuff_6_enchant"];
$xml->entry->stuff->stuff_6->spec = $_POST["stuff_6_spec"];
}
if (isset($_GET['gift_plus']) && $xml->entry->gift<99999) {


+ 206
- 17
play/gamers.php Zobrazit soubor

@@ -63,13 +63,21 @@ foreach($xml->entry as $entry) {
</div>
<div class="row">
<div class="col-lg-4">
<?php button_modif_money("money_reset", $entry->nom, "0"); ?><?php button_modif_money("money_moins", $entry->nom, "-"); ?><?php button_modif_money("money_plus", $entry->nom, "+"); ?>
<?php button_modif_money("money_reset", $entry->nom, "0"); ?>
<?php button_modif_money("money_moins", $entry->nom, "-"); ?>
<?php button_modif_money("money_plus", $entry->nom, "+"); ?>
</div>
<div class="col-lg-4">
<?php button_modif_hp("hp_moins", $entry->nom, '<i class="ionicons ion-heart-broken"></i>'); ?><?php button_modif_hp("hp_plus", $entry->nom, '<i class="ionicons ion-heart"></i>'); ?><?php button_modif_hp("heal", $entry->nom, '<i class="ionicons ion-fireball" style="color:green;"></i>'); ?>
<?php button_modif_hp("hp_moins", $entry->nom, '<i class="ionicons ion-heart-broken"></i>'); ?>
<?php button_modif_hp("hp_plus", $entry->nom, '<i class="ionicons ion-heart"></i>'); ?>
<?php button_modif_hp("heal", $entry->nom, '<i class="ionicons ion-fireball" style="color:green;"></i>'); ?>
</div>
<div class="col-lg-4">
<?php button_modif_xp("xp_reset", $entry->nom, '<i class="ionicons ion-flash-off"></i>'); ?><?php button_modif_xp("xp_moinsmoins", $entry->nom, "--"); ?><?php button_modif_xp("xp_moins", $entry->nom, "-"); ?><?php button_modif_xp("xp_plus", $entry->nom, "+"); ?><?php button_modif_xp("xp_plusplus", $entry->nom, "++"); ?>
<?php button_modif_xp("xp_reset", $entry->nom, '<i class="ionicons ion-flash-off"></i>'); ?>
<?php button_modif_xp("xp_moinsmoins", $entry->nom, "--"); ?>
<?php button_modif_xp("xp_moins", $entry->nom, "-"); ?>
<?php button_modif_xp("xp_plus", $entry->nom, "+"); ?>
<?php button_modif_xp("xp_plusplus", $entry->nom, "++"); ?>
</div>
</div>
</div>
@@ -81,13 +89,13 @@ foreach($xml->entry as $entry) {
<div class="col-lg-3">
<h4><strong>Attaque</strong></h4>
<?php button_modif_attack("attack_down", $entry->nom, "<i class='ionicons ion-arrow-down-c'></i>"); ?>
<span class="skill"><?php echo ($entry->attack+$entry->level); ?></span>
<span class="skill"><?php echo ($entry->attack+$entry->level+$entry->stuff->stuff_1->spec); ?></span>
<?php button_modif_attack("attack_up", $entry->nom, "<i class='ionicons ion-arrow-up-c'></i>"); ?>
</div>
<div class="col-lg-3">
<h4><strong>D&eacute;fense</strong></h4>
<?php button_modif_defense("defense_down", $entry->nom, "<i class='ionicons ion-arrow-down-c'></i>"); ?>
<span class="skill"><?php echo ($entry->defense+$entry->level); ?></span>
<span class="skill"><?php echo ($entry->defense+$entry->level+$entry->stuff->stuff_2->spec); ?></span>
<?php button_modif_defense("defense_up", $entry->nom, "<i class='ionicons ion-arrow-up-c'></i>"); ?>
</div>
@@ -124,7 +132,7 @@ foreach($xml->entry as $entry) {
</div>
<div class="col-lg-4">
<div class="progress progress-striped active">
<div class="progress-bar-eco verte glow"><span style="width: <?php echo ($entry->ecos->verte)*20; ?>%""><?php echo $entry->ecos->verte; ?></span></div>
<div class="progress-bar-eco verte glow"><span style="width: <?php echo ($entry->ecos->verte)*20; ?>%"><?php echo $entry->ecos->verte; ?></span></div>
</div>
</div>
<div class="col-lg-1">
@@ -172,29 +180,30 @@ foreach($xml->entry as $entry) {
<hr />
<div>
<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>
<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#stuff<?php echo $itemnb; ?>" style="float:right;"><i class="ionicons ion-wrench"></i></button>
<h3>&Eacute;quipements</h3>
</div>
<div class="row">
<div class="col-lg-4">
<div class="col-lg-3">
<h4><img src="../img/item/offensif.png" class="img-rounded">&nbsp;Offensif</h4>
<div class="bs-component">
<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>
<span class="label enchant-<?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>
</div>
</div>
<div class="col-lg-4">
<div class="col-lg-3">
<h4><img src="../img/item/defensif.png" class="img-rounded">&nbsp;D&eacute;fensif</h4>
<div class="bs-component">
<span class="label label-<?php echo $entry->stuff->stuff_3->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="D&eacute;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&eacute;fense +<?php echo $entry->stuff->stuff_4->spec;?>"><?php echo $entry->stuff->stuff_4->info;?></span>
<span class="label enchant-<?php echo $entry->stuff->stuff_2->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="D&eacute;fense +<?php echo $entry->stuff->stuff_2->spec;?>"><?php echo $entry->stuff->stuff_2->info;?></span>
</div>
</div>
<div class="col-lg-4">
<div class="col-lg-6">
<h4><img src="../img/item/objets.png" class="img-rounded">&nbsp;Objets</h4>
<div class="bs-component">
<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>
<span class="label enchant-<?php echo $entry->stuff->stuff_3->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo $entry->stuff->stuff_3->spec;?>"><?php echo $entry->stuff->stuff_3->info;?></span>
<span class="label enchant-<?php echo $entry->stuff->stuff_4->enchant;?>" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo $entry->stuff->stuff_4->spec;?>"><?php echo $entry->stuff->stuff_4->info;?></span>
<span class="label enchant-<?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 enchant-<?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>
</div>
@@ -206,13 +215,193 @@ foreach($xml->entry as $entry) {
<div class="modal-body">
<div class="container-fluid">
<div class="col-lg-12">
<form action="action.php?edit_stuff&amp;entry=<?php echo $entry->nom; ?>" method="post">
<textarea name="notes" id="stuff<?php echo $itemnb; ?>" cols="80" rows="10"><?php echo $entry->stuff;?></textarea>
<fieldset>
<legend><img src="../img/item/offensif.png" class="img-rounded">&nbsp;Offensif</legend>
<div class="form-group">
<div class="col-lg-4">
Primaire
<input class="form-control input-sm" type="text" name="stuff_1_info" value="<?php echo $entry->stuff->stuff_1->info;?>" maxlength="28" />
</div>
<div class="col-lg-2">
Att. +
<input class="form-control input-sm" type="text" name="stuff_1_spec" value="<?php echo $entry->stuff->stuff_1->spec;?>" maxlength="1" />
</div>
<div class="col-lg-6">
Echantement<br />
<input type="radio" name="stuff_1_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_1->enchant == 'default') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:grey;"></i>
<input type="radio" name="stuff_1_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_1->enchant == 'verte') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:green;"></i>
<input type="radio" name="stuff_1_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_1->enchant == 'bleue') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:blue;"></i>
<input type="radio" name="stuff_1_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_1->enchant == 'jaune') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:gold;"></i>
<input type="radio" name="stuff_1_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_1->enchant == 'rouge') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:red;"></i>
<input type="radio" name="stuff_1_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_1->enchant == 'blanche') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
<input type="radio" name="stuff_1_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_1->enchant == 'noire') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#8128B5;"></i>
</div>
</div>
<br />
<br />
<br />
<legend><img src="../img/item/defensif.png" class="img-rounded">&nbsp;D&eacute;fensif</legend>
<div class="form-group">
<div class="col-lg-4">
Primaire
<input class="form-control input-sm" type="text" name="stuff_2_info" value="<?php echo $entry->stuff->stuff_2->info;?>" maxlength="28" />
</div>
<div class="col-lg-2">
D&eacute;f. +
<input class="form-control input-sm" type="text" name="stuff_2_spec" value="<?php echo $entry->stuff->stuff_2->spec;?>" maxlength="1" />
</div>
<div class="col-lg-6">
Echantement<br />
<input type="radio" name="stuff_2_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_2->enchant == 'default') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:grey;"></i>
<input type="radio" name="stuff_2_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_2->enchant == 'verte') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:green;"></i>
<input type="radio" name="stuff_2_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_2->enchant == 'bleue') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:blue;"></i>
<input type="radio" name="stuff_2_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_2->enchant == 'jaune') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:gold;"></i>
<input type="radio" name="stuff_2_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_2->enchant == 'rouge') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:red;"></i>
<input type="radio" name="stuff_2_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_2->enchant == 'blanche') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
<input type="radio" name="stuff_2_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_2->enchant == 'noire') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#8128B5;"></i>
</div>
</div>
<br />
<br />
<br />
<br />
<legend><img src="../img/item/objets.png" class="img-rounded">&nbsp;Objets</legend>
<div class="form-group">
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_3_info" value="<?php echo $entry->stuff->stuff_3->info;?>" maxlength="10" />
</div>
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_3_spec" value="<?php echo $entry->stuff->stuff_3->spec;?>" />
</div>
<div class="col-lg-6">
Echantement<br />
<input type="radio" name="stuff_3_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_3->enchant == 'default') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:grey;"></i>
<input type="radio" name="stuff_3_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_3->enchant == 'verte') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:green;"></i>
<input type="radio" name="stuff_3_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_3->enchant == 'bleue') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:blue;"></i>
<input type="radio" name="stuff_3_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_3->enchant == 'jaune') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:gold;"></i>
<input type="radio" name="stuff_3_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_3->enchant == 'rouge') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:red;"></i>
<input type="radio" name="stuff_3_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_3->enchant == 'blanche') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
<input type="radio" name="stuff_3_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_3->enchant == 'noire') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#8128B5;"></i>
</div>
</div>
<br /><br /><br />
<div class="form-group">
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_4_info" value="<?php echo $entry->stuff->stuff_4->info;?>" maxlength="10" />
</div>
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_4_spec" value="<?php echo $entry->stuff->stuff_4->spec;?>" />
</div>
<div class="col-lg-6">
Echantement<br />
<input type="radio" name="stuff_4_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_4->enchant == 'default') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:grey;"></i>
<input type="radio" name="stuff_4_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_4->enchant == 'verte') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:green;"></i>
<input type="radio" name="stuff_4_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_4->enchant == 'bleue') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:blue;"></i>
<input type="radio" name="stuff_4_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_4->enchant == 'jaune') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:gold;"></i>
<input type="radio" name="stuff_4_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_4->enchant == 'rouge') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:red;"></i>
<input type="radio" name="stuff_4_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_4->enchant == 'blanche') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
<input type="radio" name="stuff_4_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_4->enchant == 'noire') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#8128B5;"></i>
</div>
</div>
<br /><br />
<div class="form-group">
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_5_info" value="<?php echo $entry->stuff->stuff_5->info;?>" maxlength="10" />
</div>
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_5_spec" value="<?php echo $entry->stuff->stuff_5->spec;?>" />
</div>
<div class="col-lg-6">
Echantement<br />
<input type="radio" name="stuff_5_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_5->enchant == 'default') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:grey;"></i>
<input type="radio" name="stuff_5_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_5->enchant == 'verte') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:green;"></i>
<input type="radio" name="stuff_5_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_5->enchant == 'bleue') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:blue;"></i>
<input type="radio" name="stuff_5_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_5->enchant == 'jaune') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:gold;"></i>
<input type="radio" name="stuff_5_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_5->enchant == 'rouge') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:red;"></i>
<input type="radio" name="stuff_5_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_5->enchant == 'blanche') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
<input type="radio" name="stuff_5_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_5->enchant == 'noire') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#8128B5;"></i>
</div>
</div>
<br /><br />
<div class="form-group">
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_6_info" value="<?php echo $entry->stuff->stuff_6->info;?>" maxlength="10" />
</div>
<div class="col-lg-3">
D&eacute;tails
<input class="form-control input-sm" type="text" name="stuff_6_spec" value="<?php echo $entry->stuff->stuff_6->spec;?>" />
</div>
<div class="col-lg-6">
Echantement<br />
<input type="radio" name="stuff_6_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_6->enchant == 'default') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:grey;"></i>
<input type="radio" name="stuff_6_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_6->enchant == 'verte') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:green;"></i>
<input type="radio" name="stuff_6_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_6->enchant == 'bleue') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:blue;"></i>
<input type="radio" name="stuff_6_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_6->enchant == 'jaune') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:gold;"></i>
<input type="radio" name="stuff_6_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_6->enchant == 'rouge') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:red;"></i>
<input type="radio" name="stuff_6_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_6->enchant == 'blanche') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
<input type="radio" name="stuff_6_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_6->enchant == 'noire') { echo 'checked=""'; } ?>>
<i class="ionicons ion-fireball" style="color:#8128B5;"></i>
</div>
</div>
</fieldset>
<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" />
</div>
</form>
</div>
</div>
</div>


Načítá se…
Zrušit
Uložit