css datei eingefügt

main
radiskull 13 years ago
parent 2e17e59cd3
commit b2b62cb65e

@ -1,5 +1,7 @@
<html> <html>
<head>
<link rel="stylesheet" type="text/css" href="../design/style3.css">
</head>
<body bgcolor="#008080"> <body bgcolor="#008080">
<?php <?php
/* /*
@ -47,15 +49,23 @@ function getChallengeClans($challenge_id) {
return $clans; return $clans;
} }
function validatePicture($picture) {
if($picture[0] == 'd') {
return '../'.$picture;
} else {
return $picture;
}
}
function displayChar($char) { function displayChar($char) {
if($char['visible'] < time()) { if($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']) {
echo '<img src="../'.$char['char_bild'].'" style="position:absolute; top:0px; left:0px; z-index:1; width:75px;height:75px;border:0px">'; echo '<img src="'.validatePicture($char['char_bild']).'" style="position:absolute; top:0px; left:0px; z-index:1; width:75px;height:75px;border:0px">';
echo '<img src="../design/bilder/avatare/Char.gif" style="position:relative; top:0px; left:0px; z-index:2;width:75px;height:75px;border:0px">'; echo '<img src="../design/bilder/avatare/Lose.gif" style="position:relative; top:0px; left:0px; z-index:2;width:75px;height:75px;border:0px">';
} else { } else {
echo '<img src="../'.$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>';
echo $char['char_name']; echo $char['char_name'];
@ -63,7 +73,7 @@ function displayChar($char) {
echo '<div style="position:relative; top:0px; left:0px;width:75;">'; echo '<div style="position:relative; top:0px; left:0px;width:75;">';
echo '<img src="../design/bilder/avatare/Char.gif" width="75" height="75" border="0">'; echo '<img src="../design/bilder/avatare/Char.gif" width="75" height="75" border="0">';
echo '</div>'; echo '</div>';
echo '<br>???'; echo '???';
} }
} }

Loading…
Cancel
Save