You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gamers.php 25 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <?php
  2. $xml = simplexml_load_file('../medias/'.$hash.'/'.$fichier);
  3. if (!isset($itemnb)) {
  4. $itemnb=0;
  5. } else {
  6. $itemnb++;
  7. }
  8. foreach($xml->entry as $entry) {
  9. ?>
  10. <!-- gamers -->
  11. <div class="col-lg-4" id="content_<?php echo $entry->nom; ?>">
  12. <div class="panel panel-<?php echo $entry->trans; ?>">
  13. <div class="panel-heading">
  14. <div class="row">
  15. <div class="col-lg-3">
  16. <?php button_modif_level("level_down", $entry->nom, "<i class='ionicons ion-arrow-graph-down-left'></i>"); ?>
  17. <span class="level"><?php echo $entry->level; ?></span>
  18. <?php button_modif_level("level_up", $entry->nom, "<i class='ionicons ion-arrow-graph-up-right'></i>"); ?>
  19. </div>
  20. <div class="col-lg-5 player_name">
  21. <?php echo $entry->nom; ?>
  22. </div>
  23. <div class="col-lg-4">
  24. <?php
  25. if ($entry->level !=0) {
  26. trans("trans_dark", $entry->nom, "#8128B5"); ?><?php trans("trans_light", $entry->nom, "#ADDFFF"); ?><?php trans("trans_default", $entry->nom, "#AAA");
  27. }
  28. ?>
  29. </div>
  30. </div>
  31. <div class="row">
  32. <div class="col-lg-4">
  33. <h3><i class="ionicons ion-egg" style="color:brown;";></i>&nbsp;<strong><?php echo $entry->money; ?></strong></h3>
  34. </div>
  35. <div class="col-lg-4">
  36. <?php
  37. $hp_max="10";
  38. switch ($entry->level)
  39. {
  40. case 0:
  41. $hp_max+=0;
  42. break;
  43. case 1:
  44. $hp_max+=2;
  45. break;
  46. case 2:
  47. $hp_max+=5;
  48. break;
  49. case 3:
  50. $hp_max+=10;
  51. break;
  52. default:
  53. echo "?";
  54. }
  55. ?>
  56. <h3><i class="ionicons ion-heart" style="color:red;";></i>&nbsp;<strong><?php echo $entry->hp; ?></strong><sub>/<?php echo $hp_max; ?></sub></h3>
  57. </div>
  58. <div class="col-lg-4">
  59. <h3><i class="ionicons ion-flash" style="color:#FFD700;";></i>&nbsp;<strong><?php echo $entry->xp; ?></strong>&nbsp;</h3>
  60. </div>
  61. </div>
  62. <div class="row">
  63. <div class="col-lg-4">
  64. <?php button_modif_money("money_reset", $entry->nom, "0"); ?>
  65. <?php button_modif_money("money_moins", $entry->nom, "-"); ?>
  66. <?php button_modif_money("money_plus", $entry->nom, "+"); ?>
  67. </div>
  68. <div class="col-lg-4">
  69. <?php button_modif_hp("hp_moins", $entry->nom, '<i class="ionicons ion-heart-broken"></i>'); ?>
  70. <?php button_modif_hp("hp_plus", $entry->nom, '<i class="ionicons ion-heart"></i>'); ?>
  71. <?php button_modif_hp("heal", $entry->nom, '<i class="ionicons ion-fireball" style="color:green;"></i>'); ?>
  72. </div>
  73. <div class="col-lg-4">
  74. <?php button_modif_xp("xp_reset", $entry->nom, '<i class="ionicons ion-flash-off"></i>'); ?>
  75. <?php button_modif_xp("xp_moinsmoins", $entry->nom, "--"); ?>
  76. <?php button_modif_xp("xp_moins", $entry->nom, "-"); ?>
  77. <?php button_modif_xp("xp_plus", $entry->nom, "+"); ?>
  78. <?php button_modif_xp("xp_plusplus", $entry->nom, "++"); ?>
  79. </div>
  80. </div>
  81. </div>
  82. <div class="panel-body">
  83. <div class="row">
  84. <div class="col-lg-3">
  85. <h4><strong>Attaque</strong></h4>
  86. <?php button_modif_attack("attack_down", $entry->nom, "<i class='ionicons ion-arrow-down-c'></i>"); ?>
  87. <span class="skill"><?php echo ($entry->attack+$entry->level+$entry->stuff->stuff_1->spec); ?></span>
  88. <?php button_modif_attack("attack_up", $entry->nom, "<i class='ionicons ion-arrow-up-c'></i>"); ?>
  89. </div>
  90. <div class="col-lg-3">
  91. <h4><strong>D&eacute;fense</strong></h4>
  92. <?php button_modif_defense("defense_down", $entry->nom, "<i class='ionicons ion-arrow-down-c'></i>"); ?>
  93. <span class="skill"><?php echo ($entry->defense+$entry->level+$entry->stuff->stuff_2->spec); ?></span>
  94. <?php button_modif_defense("defense_up", $entry->nom, "<i class='ionicons ion-arrow-up-c'></i>"); ?>
  95. </div>
  96. <div class="col-lg-1">
  97. <?php button_modif_ecos("eco_blanche_moins", $entry->nom, "<span style='color:#ADDFFF'>-</span>"); ?>
  98. </div>
  99. <div class="col-lg-4">
  100. <div class="progress progress-striped active">
  101. <div class="progress-bar-eco blanche glow"><span style="width: <?php echo ($entry->ecos->blanche)*20; ?>%"><?php echo $entry->ecos->blanche; ?></span></div>
  102. </div>
  103. </div>
  104. <div class="col-lg-1">
  105. <?php button_modif_ecos("eco_blanche_plus", $entry->nom, "<span style='color:#ADDFFF'>+</span>"); ?>
  106. </div>
  107. <br /><br />
  108. <div class="col-lg-1">
  109. <?php button_modif_ecos("eco_noire_moins", $entry->nom, "<span style='color:#8128B5'>-</span>"); ?>
  110. </div>
  111. <div class="col-lg-4">
  112. <div class="progress progress-striped active">
  113. <div class="progress-bar-eco noire glow"><span style="width: <?php echo ($entry->ecos->noire)*20; ?>%"><?php echo $entry->ecos->noire; ?></span></div>
  114. </div>
  115. </div>
  116. <div class="col-lg-1">
  117. <?php button_modif_ecos("eco_noire_plus", $entry->nom, "<span style='color:#8128B5'>+</span>"); ?>
  118. </div>
  119. </div>
  120. <hr />
  121. <div class="row">
  122. <div class="col-lg-1">
  123. <?php button_modif_ecos("eco_verte_moins", $entry->nom, "<span style='color:green'>-</span>"); ?>
  124. </div>
  125. <div class="col-lg-4">
  126. <div class="progress progress-striped active">
  127. <div class="progress-bar-eco verte glow"><span style="width: <?php echo ($entry->ecos->verte)*20; ?>%"><?php echo $entry->ecos->verte; ?></span></div>
  128. </div>
  129. </div>
  130. <div class="col-lg-1">
  131. <?php button_modif_ecos("eco_verte_plus", $entry->nom, "<span style='color:green'>+</span>"); ?>
  132. </div>
  133. <div class="col-lg-1">
  134. <?php button_modif_ecos("eco_bleue_moins", $entry->nom, "<span style='color:blue'>-</span>"); ?>
  135. </div>
  136. <div class="col-lg-4">
  137. <div class="progress progress-striped active">
  138. <div class="progress-bar-eco bleue glow"><span style="width: <?php echo ($entry->ecos->bleue)*20; ?>%"><?php echo $entry->ecos->bleue; ?></span></div>
  139. </div>
  140. </div>
  141. <div class="col-lg-1">
  142. <?php button_modif_ecos("eco_bleue_plus", $entry->nom, "<span style='color:blue'>+</span>"); ?>
  143. </div>
  144. </div>
  145. <div class="row">
  146. <div class="col-lg-1">
  147. <?php button_modif_ecos("eco_jaune_moins", $entry->nom, "<span style='color:#FFD700'>-</span>"); ?>
  148. </div>
  149. <div class="col-lg-4">
  150. <div class="progress progress-striped active">
  151. <div class="progress-bar-eco jaune glow"><span style="width: <?php echo ($entry->ecos->jaune)*20; ?>%"><?php echo $entry->ecos->jaune; ?></span></div>
  152. </div>
  153. </div>
  154. <div class="col-lg-1">
  155. <?php button_modif_ecos("eco_jaune_plus", $entry->nom, "<span style='color:#FFD700'>+</span>"); ?>
  156. </div>
  157. <div class="col-lg-1">
  158. <?php button_modif_ecos("eco_rouge_moins", $entry->nom, "<span style='color:red'>-</span>"); ?>
  159. </div>
  160. <div class="col-lg-4">
  161. <div class="progress progress-striped active">
  162. <div class="progress-bar-eco rouge glow"><span style="width: <?php echo ($entry->ecos->rouge)*20; ?>%"><?php echo $entry->ecos->rouge; ?></span></div>
  163. </div>
  164. </div>
  165. <div class="col-lg-1">
  166. <?php button_modif_ecos("eco_rouge_plus", $entry->nom, "<span style='color:red'>+</span>"); ?>
  167. </div>
  168. </div>
  169. <hr />
  170. <div>
  171. <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>
  172. <h3>&Eacute;quipements</h3>
  173. </div>
  174. <div class="row">
  175. <div class="col-lg-3">
  176. <h4><img src="../img/item/offensif.png" class="img-rounded">&nbsp;Offensif</h4>
  177. <div class="bs-component">
  178. <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>
  179. </div>
  180. </div>
  181. <div class="col-lg-3">
  182. <h4><img src="../img/item/defensif.png" class="img-rounded">&nbsp;D&eacute;fensif</h4>
  183. <div class="bs-component">
  184. <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>
  185. </div>
  186. </div>
  187. <div class="col-lg-6">
  188. <h4><img src="../img/item/objets.png" class="img-rounded">&nbsp;Objets</h4>
  189. <div class="bs-component">
  190. <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>
  191. <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>
  192. <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>
  193. <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>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. <!-- notes -->
  199. <div class="modal fade" id="stuff<?php echo $itemnb;?>" tabindex="-1" role="dialog" aria-labelledby="stuff<?php echo $itemnb;?>" aria-hidden="true">
  200. <div class="modal-dialog">
  201. <div class="modal-content">
  202. <div class="modal-body">
  203. <div class="container-fluid">
  204. <div class="col-lg-12">
  205. <form action="action.php?edit_stuff&amp;entry=<?php echo $entry->nom; ?>" method="post">
  206. <fieldset>
  207. <legend><img src="../img/item/offensif.png" class="img-rounded">&nbsp;Offensif</legend>
  208. <div class="form-group">
  209. <div class="col-lg-4">
  210. Primaire
  211. <input class="form-control input-sm" type="text" name="stuff_1_info" value="<?php echo $entry->stuff->stuff_1->info;?>" maxlength="28" />
  212. </div>
  213. <div class="col-lg-2">
  214. Att. +
  215. <input class="form-control input-sm" type="text" name="stuff_1_spec" value="<?php echo $entry->stuff->stuff_1->spec;?>" maxlength="1" />
  216. </div>
  217. <div class="col-lg-6">
  218. Echantement<br />
  219. <input type="radio" name="stuff_1_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_1->enchant == 'default') { echo 'checked=""'; } ?>>
  220. <i class="ionicons ion-fireball" style="color:grey;"></i>
  221. <input type="radio" name="stuff_1_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_1->enchant == 'verte') { echo 'checked=""'; } ?>>
  222. <i class="ionicons ion-fireball" style="color:green;"></i>
  223. <input type="radio" name="stuff_1_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_1->enchant == 'bleue') { echo 'checked=""'; } ?>>
  224. <i class="ionicons ion-fireball" style="color:blue;"></i>
  225. <input type="radio" name="stuff_1_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_1->enchant == 'jaune') { echo 'checked=""'; } ?>>
  226. <i class="ionicons ion-fireball" style="color:gold;"></i>
  227. <input type="radio" name="stuff_1_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_1->enchant == 'rouge') { echo 'checked=""'; } ?>>
  228. <i class="ionicons ion-fireball" style="color:red;"></i>
  229. <input type="radio" name="stuff_1_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_1->enchant == 'blanche') { echo 'checked=""'; } ?>>
  230. <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
  231. <input type="radio" name="stuff_1_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_1->enchant == 'noire') { echo 'checked=""'; } ?>>
  232. <i class="ionicons ion-fireball" style="color:#8128B5;"></i>
  233. </div>
  234. </div>
  235. <br />
  236. <br />
  237. <br />
  238. <legend><img src="../img/item/defensif.png" class="img-rounded">&nbsp;D&eacute;fensif</legend>
  239. <div class="form-group">
  240. <div class="col-lg-4">
  241. Primaire
  242. <input class="form-control input-sm" type="text" name="stuff_2_info" value="<?php echo $entry->stuff->stuff_2->info;?>" maxlength="28" />
  243. </div>
  244. <div class="col-lg-2">
  245. D&eacute;f. +
  246. <input class="form-control input-sm" type="text" name="stuff_2_spec" value="<?php echo $entry->stuff->stuff_2->spec;?>" maxlength="1" />
  247. </div>
  248. <div class="col-lg-6">
  249. Echantement<br />
  250. <input type="radio" name="stuff_2_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_2->enchant == 'default') { echo 'checked=""'; } ?>>
  251. <i class="ionicons ion-fireball" style="color:grey;"></i>
  252. <input type="radio" name="stuff_2_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_2->enchant == 'verte') { echo 'checked=""'; } ?>>
  253. <i class="ionicons ion-fireball" style="color:green;"></i>
  254. <input type="radio" name="stuff_2_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_2->enchant == 'bleue') { echo 'checked=""'; } ?>>
  255. <i class="ionicons ion-fireball" style="color:blue;"></i>
  256. <input type="radio" name="stuff_2_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_2->enchant == 'jaune') { echo 'checked=""'; } ?>>
  257. <i class="ionicons ion-fireball" style="color:gold;"></i>
  258. <input type="radio" name="stuff_2_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_2->enchant == 'rouge') { echo 'checked=""'; } ?>>
  259. <i class="ionicons ion-fireball" style="color:red;"></i>
  260. <input type="radio" name="stuff_2_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_2->enchant == 'blanche') { echo 'checked=""'; } ?>>
  261. <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
  262. <input type="radio" name="stuff_2_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_2->enchant == 'noire') { echo 'checked=""'; } ?>>
  263. <i class="ionicons ion-fireball" style="color:#8128B5;"></i>
  264. </div>
  265. </div>
  266. <br />
  267. <br />
  268. <br />
  269. <br />
  270. <legend><img src="../img/item/objets.png" class="img-rounded">&nbsp;Objets</legend>
  271. <div class="form-group">
  272. <div class="col-lg-3">
  273. D&eacute;tails
  274. <input class="form-control input-sm" type="text" name="stuff_3_info" value="<?php echo $entry->stuff->stuff_3->info;?>" maxlength="10" />
  275. </div>
  276. <div class="col-lg-3">
  277. D&eacute;tails
  278. <input class="form-control input-sm" type="text" name="stuff_3_spec" value="<?php echo $entry->stuff->stuff_3->spec;?>" />
  279. </div>
  280. <div class="col-lg-6">
  281. Echantement<br />
  282. <input type="radio" name="stuff_3_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_3->enchant == 'default') { echo 'checked=""'; } ?>>
  283. <i class="ionicons ion-fireball" style="color:grey;"></i>
  284. <input type="radio" name="stuff_3_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_3->enchant == 'verte') { echo 'checked=""'; } ?>>
  285. <i class="ionicons ion-fireball" style="color:green;"></i>
  286. <input type="radio" name="stuff_3_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_3->enchant == 'bleue') { echo 'checked=""'; } ?>>
  287. <i class="ionicons ion-fireball" style="color:blue;"></i>
  288. <input type="radio" name="stuff_3_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_3->enchant == 'jaune') { echo 'checked=""'; } ?>>
  289. <i class="ionicons ion-fireball" style="color:gold;"></i>
  290. <input type="radio" name="stuff_3_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_3->enchant == 'rouge') { echo 'checked=""'; } ?>>
  291. <i class="ionicons ion-fireball" style="color:red;"></i>
  292. <input type="radio" name="stuff_3_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_3->enchant == 'blanche') { echo 'checked=""'; } ?>>
  293. <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
  294. <input type="radio" name="stuff_3_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_3->enchant == 'noire') { echo 'checked=""'; } ?>>
  295. <i class="ionicons ion-fireball" style="color:#8128B5;"></i>
  296. </div>
  297. </div>
  298. <br /><br /><br />
  299. <div class="form-group">
  300. <div class="col-lg-3">
  301. D&eacute;tails
  302. <input class="form-control input-sm" type="text" name="stuff_4_info" value="<?php echo $entry->stuff->stuff_4->info;?>" maxlength="10" />
  303. </div>
  304. <div class="col-lg-3">
  305. D&eacute;tails
  306. <input class="form-control input-sm" type="text" name="stuff_4_spec" value="<?php echo $entry->stuff->stuff_4->spec;?>" />
  307. </div>
  308. <div class="col-lg-6">
  309. Echantement<br />
  310. <input type="radio" name="stuff_4_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_4->enchant == 'default') { echo 'checked=""'; } ?>>
  311. <i class="ionicons ion-fireball" style="color:grey;"></i>
  312. <input type="radio" name="stuff_4_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_4->enchant == 'verte') { echo 'checked=""'; } ?>>
  313. <i class="ionicons ion-fireball" style="color:green;"></i>
  314. <input type="radio" name="stuff_4_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_4->enchant == 'bleue') { echo 'checked=""'; } ?>>
  315. <i class="ionicons ion-fireball" style="color:blue;"></i>
  316. <input type="radio" name="stuff_4_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_4->enchant == 'jaune') { echo 'checked=""'; } ?>>
  317. <i class="ionicons ion-fireball" style="color:gold;"></i>
  318. <input type="radio" name="stuff_4_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_4->enchant == 'rouge') { echo 'checked=""'; } ?>>
  319. <i class="ionicons ion-fireball" style="color:red;"></i>
  320. <input type="radio" name="stuff_4_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_4->enchant == 'blanche') { echo 'checked=""'; } ?>>
  321. <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
  322. <input type="radio" name="stuff_4_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_4->enchant == 'noire') { echo 'checked=""'; } ?>>
  323. <i class="ionicons ion-fireball" style="color:#8128B5;"></i>
  324. </div>
  325. </div>
  326. <br /><br />
  327. <div class="form-group">
  328. <div class="col-lg-3">
  329. D&eacute;tails
  330. <input class="form-control input-sm" type="text" name="stuff_5_info" value="<?php echo $entry->stuff->stuff_5->info;?>" maxlength="10" />
  331. </div>
  332. <div class="col-lg-3">
  333. D&eacute;tails
  334. <input class="form-control input-sm" type="text" name="stuff_5_spec" value="<?php echo $entry->stuff->stuff_5->spec;?>" />
  335. </div>
  336. <div class="col-lg-6">
  337. Echantement<br />
  338. <input type="radio" name="stuff_5_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_5->enchant == 'default') { echo 'checked=""'; } ?>>
  339. <i class="ionicons ion-fireball" style="color:grey;"></i>
  340. <input type="radio" name="stuff_5_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_5->enchant == 'verte') { echo 'checked=""'; } ?>>
  341. <i class="ionicons ion-fireball" style="color:green;"></i>
  342. <input type="radio" name="stuff_5_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_5->enchant == 'bleue') { echo 'checked=""'; } ?>>
  343. <i class="ionicons ion-fireball" style="color:blue;"></i>
  344. <input type="radio" name="stuff_5_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_5->enchant == 'jaune') { echo 'checked=""'; } ?>>
  345. <i class="ionicons ion-fireball" style="color:gold;"></i>
  346. <input type="radio" name="stuff_5_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_5->enchant == 'rouge') { echo 'checked=""'; } ?>>
  347. <i class="ionicons ion-fireball" style="color:red;"></i>
  348. <input type="radio" name="stuff_5_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_5->enchant == 'blanche') { echo 'checked=""'; } ?>>
  349. <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
  350. <input type="radio" name="stuff_5_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_5->enchant == 'noire') { echo 'checked=""'; } ?>>
  351. <i class="ionicons ion-fireball" style="color:#8128B5;"></i>
  352. </div>
  353. </div>
  354. <br /><br />
  355. <div class="form-group">
  356. <div class="col-lg-3">
  357. D&eacute;tails
  358. <input class="form-control input-sm" type="text" name="stuff_6_info" value="<?php echo $entry->stuff->stuff_6->info;?>" maxlength="10" />
  359. </div>
  360. <div class="col-lg-3">
  361. D&eacute;tails
  362. <input class="form-control input-sm" type="text" name="stuff_6_spec" value="<?php echo $entry->stuff->stuff_6->spec;?>" />
  363. </div>
  364. <div class="col-lg-6">
  365. Echantement<br />
  366. <input type="radio" name="stuff_6_enchant" id="default" value="default" <?php if ($entry->stuff->stuff_6->enchant == 'default') { echo 'checked=""'; } ?>>
  367. <i class="ionicons ion-fireball" style="color:grey;"></i>
  368. <input type="radio" name="stuff_6_enchant" id="verte" value="verte" <?php if ($entry->stuff->stuff_6->enchant == 'verte') { echo 'checked=""'; } ?>>
  369. <i class="ionicons ion-fireball" style="color:green;"></i>
  370. <input type="radio" name="stuff_6_enchant" id="bleue" value="bleue" <?php if ($entry->stuff->stuff_6->enchant == 'bleue') { echo 'checked=""'; } ?>>
  371. <i class="ionicons ion-fireball" style="color:blue;"></i>
  372. <input type="radio" name="stuff_6_enchant" id="jaune" value="jaune" <?php if ($entry->stuff->stuff_6->enchant == 'jaune') { echo 'checked=""'; } ?>>
  373. <i class="ionicons ion-fireball" style="color:gold;"></i>
  374. <input type="radio" name="stuff_6_enchant" id="rouge" value="rouge" <?php if ($entry->stuff->stuff_6->enchant == 'rouge') { echo 'checked=""'; } ?>>
  375. <i class="ionicons ion-fireball" style="color:red;"></i>
  376. <input type="radio" name="stuff_6_enchant" id="blanche" value="blanche" <?php if ($entry->stuff->stuff_6->enchant == 'blanche') { echo 'checked=""'; } ?>>
  377. <i class="ionicons ion-fireball" style="color:#ADDFFF;"></i>
  378. <input type="radio" name="stuff_6_enchant" id="noire" value="noire" <?php if ($entry->stuff->stuff_6->enchant == 'noire') { echo 'checked=""'; } ?>>
  379. <i class="ionicons ion-fireball" style="color:#8128B5;"></i>
  380. </div>
  381. </div>
  382. </fieldset>
  383. <div class="modal-footer">
  384. <button type="button" class="btn btn-default" data-dismiss="modal" style="float:left;">Fermer</button>
  385. <input type="submit" class="btn btn-primary" value="Editer" />
  386. </div>
  387. </form>
  388. </div>
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. </div>
  395. </div>
  396. <!-- /gamers -->
  397. <?php } ?>