Ir para conteúdo
  • Cadastre-se
  • 0

ADAPTAR SCRIPT PARA Acsis


Asturias

Pergunta

Alguém consegue porfavor adaptar esse SCRIPT para a revisão xLine/Acsis

 

 

 

 

<style type="text/css">
a:hover {text-decoration:none;} /* background-color e necessario para o IE6 */
a.tooltip span {display:none; padding:2px 3px; margin-left:8px; width:auto;}
a.tooltip:hover span{display:inline; position:absolute; background:#000; border:1px solid #666; color:#FFF; text-align:justify; font-size:12px; font-weight:bold;}
</style>

<div>
<table border="0" width="630">
<tr align="left" height="30" class="rowt">
<td>Name:</td>
<td>Status:</td>
</tr>
<?php
$raidspawn
= mysql_query("SELECT boss_id,respawn_time FROM raidboss_spawnlist where boss_id = 25450 or boss_id = 29006 or boss_id = 29045 or boss_id = 25126 or boss_id = 25220 or boss_id = 25054 or boss_id = 25305 or boss_id = 25302 or boss_id = 25299 or boss_id = 29014 or boss_id = 29001 or boss_id = 29028 or boss_id = 25315 or boss_id = 25312 or boss_id = 25309 or boss_id = 29022 UNION SELECT boss_id,respawn_time FROM grandboss_data where boss_id = 29001 or boss_id = 29006 or boss_id = 29014 or boss_id = 29019 or boss_id = 29020 or boss_id = 29022 or boss_id = 29028 or boss_id = 29045 order by boss_id desc");

while(list($boss_id,$respawn_time) = mysql_fetch_row($raidspawn))
{
$raidboss = mysql_query("SELECT name,level FROM npc WHERE id = $boss_id");
$text = '<font color="#090">Vivo</font>';
$respawn = 'Spawn';
if($respawn_time > 0)
{
$respawntime = @date('d/m/Y H\:i',($respawn_time / 1000));
$text = '<font color="#FF0000">Morto</font>';
$respawn = "Respawn time: $respawntime";
}

while($raid = mysql_fetch_array($raidboss))
{
if($respawn_time > 0)
echo "<tr><td><font color='#FF0000'><a style='color:#F00;text-decoration:none;' href='#' class='tooltip'>".$raid['name']."<span>Raid name: <font color='#F90'>".$raid['name']."</font><br>Level:<font color='#F90'> ".$raid['level']."</font><br> Respawn: <font color='#F90'> ".@$respawntime."</font><br>Status: <font color='#FF0000'>Morto</font></span></a> </font></td><td class=row>$text</td></tr>";
else
echo "<tr>
<td><font color='#FF0000'><a style='color:#090;text-decoration:none;' href='#' class='tooltip' >"
.$raid['name']."<span>Raid name: <font color='#F90'>".$raid['name']."</font><br>Level:<font color='#F90'> ".$raid['level']."</font><br> Respawn: <font color='#F90'> ".@$respawntime."</font><br>Status: <font color='#090'>Vivo</font></span></a> </font></td>
<td class=row>$text</td>
</tr>"
;
}
}?>
</table>
</div>

 

 

Todos os dias eu aprendo que até hoje eu não aprendi nada!

Link para o comentário
Compartilhar em outros sites

2 respostass a esta questão

Posts recomendados


Visitante
Este tópico está impedido de receber novos posts.
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.





×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.