|
|
@@ -1,3 +1,42 @@ |
|
|
|
<?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" style="float:left;">'.$texte_bouton.'</button></form>'; |
|
|
|
} |
|
|
|
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-xs" 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" style="float:left;">'.$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" style="float:left;">'.$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" style="float:right;"><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" style="float:left;">'.$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" style="float:left;">'.$texte_bouton.'</button></form>'; |
|
|
|
} |
|
|
|
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" style="float:left;">'.$texte_bouton.'</button></form>'; |
|
|
|
} |
|
|
|
?> |
|
|
|
|
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang="fr"> |
|
|
|
<head> |
|
|
@@ -30,7 +69,7 @@ if(!empty($_GET["view"])) |
|
|
|
<div class="container-fluid"> |
|
|
|
<span class="level_phone"><?php echo $entry->level; ?></span> |
|
|
|
<span class="player_name_phone"><?php echo $entry->nom; ?></span> |
|
|
|
<br /> |
|
|
|
|
|
|
|
<?php |
|
|
|
$hp_max="10"; |
|
|
|
switch ($entry->level) |
|
|
@@ -56,26 +95,95 @@ if(!empty($_GET["view"])) |
|
|
|
<i class="ionicons ion-flash" style="color:#FFD700;";></i> <strong><?php echo $entry->xp; ?></strong> |
|
|
|
<i class="glyphicon glyphicon-gift" style="color:blue;";></i> <strong><?php echo $entry->gift; ?></strong> |
|
|
|
</div> |
|
|
|
<hr /> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="container-fluid"> |
|
|
|
<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="row"> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_verte_moins", $entry->nom, "<span style='color:green'>-</span>"); ?> |
|
|
|
</div> |
|
|
|
<div class="col-xs-8"> |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_verte_plus", $entry->nom, "<span style='color:green'>+</span>"); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco bleue glow"><span style="width: <?php echo ($entry->ecos->bleue)*20; ?>%"><?php echo $entry->ecos->bleue; ?></span></div> |
|
|
|
<br /> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_bleue_moins", $entry->nom, "<span style='color:blue'>-</span>"); ?> |
|
|
|
</div> |
|
|
|
<div class="col-xs-8"> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco bleue glow"><span style="width: <?php echo ($entry->ecos->bleue)*20; ?>%"><?php echo $entry->ecos->bleue; ?></span></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_bleue_plus", $entry->nom, "<span style='color:blue'>+</span>"); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco jaune glow"><span style="width: <?php echo ($entry->ecos->jaune)*20; ?>%"><?php echo $entry->ecos->jaune; ?></span></div> |
|
|
|
<br /> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_jaune_moins", $entry->nom, "<span style='color:#FFD700'>-</span>"); ?> |
|
|
|
</div> |
|
|
|
<div class="col-xs-8"> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco jaune glow"><span style="width: <?php echo ($entry->ecos->jaune)*20; ?>%"><?php echo $entry->ecos->jaune; ?></span></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_jaune_plus", $entry->nom, "<span style='color:yellow'>+</span>"); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco rouge glow"><span style="width: <?php echo ($entry->ecos->rouge)*20; ?>%"><?php echo $entry->ecos->rouge; ?></span></div> |
|
|
|
<br /> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_rouge_moins", $entry->nom, "<span style='color:red'>-</span>"); ?> |
|
|
|
</div> |
|
|
|
<div class="col-xs-8"> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco rouge glow"><span style="width: <?php echo ($entry->ecos->rouge)*20; ?>%"><?php echo $entry->ecos->rouge; ?></span></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_rouge_plus", $entry->nom, "<span style='color:red'>+</span>"); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco blanche glow"><span style="width: <?php echo ($entry->ecos->blanche)*20; ?>%"><?php echo $entry->ecos->blanche; ?></span></div> |
|
|
|
<br /> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_blanche_moins", $entry->nom, "<span style='color:#ADDFFF'>-</span>"); ?> |
|
|
|
</div> |
|
|
|
<div class="col-xs-8"> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco blanche glow"><span style="width: <?php echo ($entry->ecos->blanche)*20; ?>%"><?php echo $entry->ecos->blanche; ?></span></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_blanche_plus", $entry->nom, "<span style='color:#ADDFFF'>+</span>"); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco noire glow"><span style="width: <?php echo ($entry->ecos->noire)*20; ?>%"><?php echo $entry->ecos->noire; ?></span></div> |
|
|
|
<br /> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_noire_moins", $entry->nom, "<span style='color:#8128B5'>-</span>"); ?> |
|
|
|
</div> |
|
|
|
<div class="col-xs-8"> |
|
|
|
<div class="progress progress-striped active"> |
|
|
|
<div class="progress-bar-eco noire glow"><span style="width: <?php echo ($entry->ecos->noire)*20; ?>%"><?php echo $entry->ecos->noire; ?></span></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-xs-2"> |
|
|
|
<?php button_modif_ecos("eco_noire_plus", $entry->nom, "<span style='color:#8128B5'>+</span>"); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<br /> |
|
|
|
|
|
|
|
</div> |
|
|
|
<hr /> |
|
|
|
<div class="list-group col-lg-9"> |
|
|
|