Anzeige so geändert, dass die bilder der Kämpfer angezeigt werden, welche gerade kämpfen

main
radiskull 13 years ago
parent 3b9447397a
commit 792b3ac6e3

@ -58,6 +58,7 @@ function validatePicture($picture) {
} }
function displayChar($char) { function displayChar($char) {
if(strtotime($char['starting']) < time()) {
if(strtotime($char['visible']) < time()) { if(strtotime($char['visible']) < time()) {
echo '<div style="position:relative; top:0px; left:0px;width:75;">'; echo '<div style="position:relative; top:0px; left:0px;width:75;">';
if($char['event_char_id'] != $char['winner']) { if($char['event_char_id'] != $char['winner']) {
@ -67,6 +68,11 @@ function displayChar($char) {
echo '<img src="'.validatePicture($char['char_bild']).'" style="position:relative; top:0px; left:0px; z-index:2;width:75px;height:75px;border:0px">'; echo '<img src="'.validatePicture($char['char_bild']).'" style="position:relative; top:0px; left:0px; z-index:2;width:75px;height:75px;border:0px">';
} }
echo '</div>'; echo '</div>';
} else {
echo '<div style="position:relative; top:0px; left:0px;width:75;">';
echo '<img src="'.validatePicture($char['char_bild']).'" style="position:relative; top:0px; left:0px; z-index:2;width:75px;height:75px;border:0px">';
echo '</div>';
}
echo $char['char_name']; echo $char['char_name'];
} else { } else {
echo '<div style="position:relative; top:0px; left:0px;width:75;">'; echo '<div style="position:relative; top:0px; left:0px;width:75;">';

Loading…
Cancel
Save