@@ -221,21 +221,6 @@ | |||||
border-bottom-color: #8128B5; | border-bottom-color: #8128B5; | ||||
} | } | ||||
#dice { | |||||
float: left; | |||||
width: 24px; | |||||
height: 24px; | |||||
font-weight: bold; | |||||
font-size: 18px; | |||||
text-align:center; | |||||
background: #FFFFFF; | |||||
border-top: solid grey 2px; | |||||
border-bottom: solid black 1px; | |||||
border-left: solid black 1px; | |||||
border-right: solid grey 2px; | |||||
color: black; | |||||
} | |||||
.level { | .level { | ||||
float: left; | float: left; | ||||
width: 26px; | width: 26px; | ||||
@@ -247,6 +232,16 @@ | |||||
color: white; | color: white; | ||||
} | } | ||||
.player_name { | |||||
font-weight: bold; | |||||
font-size: 26px; | |||||
color: black; | |||||
margin-top: -8px; | |||||
margin-bottom: -20px; | |||||
margin-left: -20px; | |||||
text-transform: uppercase; | |||||
} | |||||
.p_light { | .p_light { | ||||
text-align: center; | text-align: center; | ||||
padding: 5px; | padding: 5px; | ||||
@@ -2,10 +2,10 @@ | |||||
<response> | <response> | ||||
<entry> | <entry> | ||||
<nom>Derpy</nom> | <nom>Derpy</nom> | ||||
<level>3</level> | |||||
<level>0</level> | |||||
<hp>10</hp> | <hp>10</hp> | ||||
<xp>0</xp> | <xp>0</xp> | ||||
<money>2</money> | |||||
<money>0</money> | |||||
<ecos> | <ecos> | ||||
<verte>0</verte> | <verte>0</verte> | ||||
<bleue>0</bleue> | <bleue>0</bleue> | ||||
@@ -43,7 +43,7 @@ if (isset($_GET['money_moins']) && $xml->entry->money>0) { | |||||
$xml->entry->money--; | $xml->entry->money--; | ||||
} | } | ||||
if (isset($_GET['money_plus']) && $xml->entry->money<99989) { | |||||
if (isset($_GET['money_plus']) && $xml->entry->money<99999) { | |||||
$xml->entry->money+=1; | $xml->entry->money+=1; | ||||
} | } | ||||
@@ -19,10 +19,10 @@ foreach($xml->entry as $entry) { | |||||
<span class="level"><?php echo $entry->level; ?></span> | <span class="level"><?php echo $entry->level; ?></span> | ||||
<?php button_modif_level("level_up", $entry->nom, "<i class='ionicons ion-arrow-graph-up-right'></i>"); ?> | <?php button_modif_level("level_up", $entry->nom, "<i class='ionicons ion-arrow-graph-up-right'></i>"); ?> | ||||
</div> | </div> | ||||
<div class="col-lg-7"> | |||||
<h2><strong><?php echo $entry->nom; ?></strong></h2> | |||||
<div class="col-lg-5 player_name"> | |||||
<?php echo $entry->nom; ?> | |||||
</div> | </div> | ||||
<div class="col-lg-1"> | |||||
<div class="col-lg-4"> | |||||
<?php trans("trans_dark", $entry->nom, "#8128B5"); ?><?php trans("trans_light", $entry->nom, "#ADDFFF"); ?><?php trans("trans_default", $entry->nom, "#AAA"); ?> | <?php trans("trans_dark", $entry->nom, "#8128B5"); ?><?php trans("trans_light", $entry->nom, "#ADDFFF"); ?><?php trans("trans_default", $entry->nom, "#AAA"); ?> | ||||
</div> | </div> | ||||
</div> | </div> | ||||