|
@@ -1,39 +1,15 @@ |
|
|
<?php |
|
|
<?php |
|
|
function button_modif_level($nom_parametre, $nom_perso, $texte_bouton) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton) |
|
|
function button_modif_hp($nom_parametre, $nom_perso, $texte_bouton) |
|
|
{ |
|
|
{ |
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-sm" style="float:left">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function button_modif_xp($nom_parametre, $nom_perso, $texte_bouton) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function button_modif_money($nom_parametre, $nom_perso, $texte_bouton) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function trans($nom_parametre, $nom_perso, $couleur) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs"><i class="ionicons ion-fireball" style="color:'.$couleur.'";></i></button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function button_modif_attack($nom_parametre, $nom_perso, $texte_bouton) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function button_modif_defense($nom_parametre, $nom_perso, $texte_bouton) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
|
|
|
$currentpath = explode("/", dirname(__FILE__)); |
|
|
|
|
|
$hash=$currentpath[6]; |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'&hash='.$hash.'" method="post"><button type="submit" class="btn btn-default btn-sm" style="float:left">'.$texte_bouton.'</button></form>'; |
|
|
} |
|
|
} |
|
|
function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton) |
|
|
function button_modif_ecos($nom_parametre, $nom_perso, $texte_bouton) |
|
|
{ |
|
|
{ |
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-sm">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
} |
|
|
|
|
|
function button_modif_gift($nom_parametre, $nom_perso, $texte_bouton) |
|
|
|
|
|
{ |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'" method="post"><button type="submit" class="btn btn-default btn-xs">'.$texte_bouton.'</button></form>'; |
|
|
|
|
|
|
|
|
$currentpath = explode("/", dirname(__FILE__)); |
|
|
|
|
|
$hash=$currentpath[6]; |
|
|
|
|
|
echo '<form action="../../play/action_phone.php?'.$nom_parametre.'&entry='.$nom_perso.'&hash='.$hash.'" method="post"><button type="submit" class="btn btn-default btn-sm">'.$texte_bouton.'</button></form>'; |
|
|
} |
|
|
} |
|
|
?> |
|
|
?> |
|
|
|
|
|
|
|
@@ -69,7 +45,7 @@ if(!empty($_GET["view"])) |
|
|
<div class="panel-heading"> |
|
|
<div class="panel-heading"> |
|
|
<div class="container-fluid"> |
|
|
<div class="container-fluid"> |
|
|
<span class="level_phone"><?php echo $entry->level; ?></span> |
|
|
<span class="level_phone"><?php echo $entry->level; ?></span> |
|
|
<span class="player_name_phone"><?php echo $entry->nom; ?></span> |
|
|
|
|
|
|
|
|
<span class="player_name_phone"><?php echo $entry->nom; ?></span> |
|
|
<strong>Attaque</strong> <span class="skill_phone">+ <?php echo $entry->attack+$entry->level+$entry->stuff->stuff_1->spec; ?></span> |
|
|
<strong>Attaque</strong> <span class="skill_phone">+ <?php echo $entry->attack+$entry->level+$entry->stuff->stuff_1->spec; ?></span> |
|
|
<strong>Défense</strong> <span class="skill_phone">+ <?php echo $entry->defense+$entry->level+$entry->stuff->stuff_2->spec; ?></span> |
|
|
<strong>Défense</strong> <span class="skill_phone">+ <?php echo $entry->defense+$entry->level+$entry->stuff->stuff_2->spec; ?></span> |
|
|
<?php |
|
|
<?php |
|
|