Ir para conteúdo
  • 0

Top Bugado


Gabrielkss

Pergunta

2ibyo9x.jpg

 

Meu top tá bugado... Será que alguém poderia me ajudar ?

 

o Codigo tá qui :

<?php
$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id < 2 AND account_id != 1 ORDER BY level DESC LIMIT 10');
?>
<style type="text/css" media="all">
.Toplevelbox {
top: 15px;
left: 590%;
display: block;
position: absolute;
overflow: visible;
margin-bottom: 10px;
width: 180px;
height: 200px;
}
.top_level {
display: block;
position: absolute;
overflow: visible;
top: 29px;
left: 6px;
height: 340px;
width: 168px;
z-index: 20;
text-align: center;
padding-top: 6px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 9.2pt;
color: #FFF;
font-weight: bold;
text-align: right;
text-decoration: inherit;
text-shadow: 0.1em 0.1em #333
}
#Topbar a {
text-decoration: none;
}
a.topfont {
font-family: Verdana, Arial, Helvetica;
font-size: 11px;
color: #ffcc33;
text-decoration: none
}
a:hover.topfont {
font-family: Verdana, Arial, Helvetica;
font-size: 11px;
color: #ffffff;
text-decoration:none
}
</style>
<div id="Topbar" class="Toplevelbox" style="background-image:url(http://i.imgur.com/U8j6kST.png);">
<div class="top_level" style="background:url(http://i.imgur.com/JLG12jV.png)" align="">
<?php
$a = 1;
foreach($skills as $skill) {
echo '
<div align="left">
<a href="?subtopic=characters&name=' . $skill['name'] . '" class="topfont">
<font color="#ffffff">     ' . $a . ' - </font>' . $skill['name'] . '<br />
<small><font color="#ffffff">      Level: (' . $skill['level'] . ')</font></small>
<br>
</a>
<img style="margin-top: -70px; ;" src="http://outfit-images.ots.me/outfit.php?id='. $skill['looktype'] . '&addons=' . $skill['lookaddons'] . '&head=' . $skill['lookhead'] . '&body=' . $skill['lookbody'] . '&legs=' . $skill['looklegs'] . '&feet=' . $skill['lookfeet'] . '" width="64" height="64">
</div>';
$a++;
}
?>
</div>
<div class="Bottom" style="background-image:url(http://i.imgur.com/gTadKOK.gif); top:375px;; left: 1px;"></div>
</div>

 

Link para o comentário
Compartilhar em outros sites

8 respostass a esta questão

Posts Recomendados

  • 0



<?php

$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id < '.$config['site']['players_group_id_block'].' AND account_id != 1 ORDER BY level DESC LIMIT 5');

?>

<style type="text/css" media="all">

.Toplevelbox {

position: relative;

margin-bottom: 10px;

width: 180px;

height: 200px;

}

.top_level {

position: absolute;

top: 30px;

left: 6px;

height: 180px;

width: 168px;

z-index: 20;

text-align: center;

padding-top: 6px;

font-family: Tahoma, Geneva, sans-serif;

font-size: 9.2pt;

color: #FFF;

font-weight: bold;

text-align: right;

text-decoration: inherit;

text-shadow: 0.1em 0.1em #333

}

 

 

#Topbar a {

text-decoration: none;

cursor: auto;

}

a.topfont {

font-family: Verdana, Arial, Helvetica;

font-size: 13px;

color: #0F0;

text-decoration: none

}

a:hover.topfont {

font-family: Verdana, Arial, Helvetica;

font-size: 13px;

color: #CCC;

text-decoration:none

}

</style>

 

 

<div id="Topbar" class="Toplevelbox" style="background-image:url(http://i.imgur.com/U8j6kST.png);">

<div class="top_level" style="background:url(http://i.imgur.com/JLG12jV.png)" align="">

<?php

$a = 1;

foreach($skills as $skill) {

echo '

<div align="left">

<a href="?subtopic=characters&name=' . $skill['name'] . '" class="topfont">

<font color="#ffffff">     ' . $a . ' - </font>' . $skill['name'] . '<br />

<small><font color="#ffffff">      Level: (' . $skill['level'] . ')</font></small>

<br>

</a>

<img style="margin-bottom: -20px; ;" src="http://outfit-images.ots.me/outfit.php?id='. $skill['looktype'] . '&addons=' . $skill['lookaddons'] . '&head=' . $skill['lookhead'] . '&body=' . $skill['lookbody'] . '&legs=' . $skill['looklegs'] . '&feet=' . $skill['lookfeet'] . '" width="64" height="64">

</div>';

$a++;

}

?>

<div class="Bottom" style="background-image:url(http://tremera-global.com/templates/tibia/images/global/general/box-bottom.gif); left:-100px;">

</div>

</div></div>

 

Editado por Mudrock
Link para o comentário
Compartilhar em outros sites

  • 0

 

<?php

$skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id < '.$config['site']['players_group_id_block'].' AND account_id != 1 ORDER BY level DESC LIMIT 5');
?>
<style type="text/css" media="all">
.Toplevelbox {
position: relative;
margin-bottom: 10px;
width: 180px;
height: 200px;
}
.top_level {
position: absolute;
top: 30px;
left: 6px;
height: 180px;
width: 168px;
z-index: 20;
text-align: center;
padding-top: 6px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 9.2pt;
color: #FFF;
font-weight: bold;
text-align: right;
text-decoration: inherit;
text-shadow: 0.1em 0.1em #333
}
#Topbar a {
text-decoration: none;
cursor: auto;
}
a.topfont {
font-family: Verdana, Arial, Helvetica;
font-size: 13px;
color: #0F0;
text-decoration: none
}
a:hover.topfont {
font-family: Verdana, Arial, Helvetica;
font-size: 13px;
color: #CCC;
text-decoration:none
}
</style>
<div id="Topbar" class="Toplevelbox" style="background-image:url(http://i.imgur.com/U8j6kST.png);">
<div class="top_level" style="background:url(http://i.imgur.com/JLG12jV.png)" align="">
<?php
$a = 1;
foreach($skills as $skill) {
echo '
<div align="left">
<a href="?subtopic=characters&name=' . $skill['name'] . '" class="topfont">
<font color="#ffffff">     ' . $a . ' - </font>' . $skill['name'] . '<br />
<small><font color="#ffffff">      Level: (' . $skill['level'] . ')</font></small>
<br>
</a>
<img style="margin-bottom: -70px; ;" src="http://outfit-images.ots.me/outfit.php?id='. $skill['looktype'] . '&addons=' . $skill['lookaddons'] . '&head=' . $skill['lookhead'] . '&body=' . $skill['lookbody'] . '&legs=' . $skill['looklegs'] . '&feet=' . $skill['lookfeet'] . '" width="64" height="64">
</div>';
$a++;
}
?>
<div class="Bottom" style="background-image:url(http://tremera-global.com/templates/tibia/images/global/general/box-bottom.gif); left:-100px;">
</div>
</div>

</div>

 

 

Eu errei, é esse aqui, esse dai ele nem aparece o top no site

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...