Postado Abril 17, 2020 5 anos Alguem pode ajudar a trocar o "top level" por "top reset" tentei utilizar um que disponibilizaram no fórum por storage mas fica assim se eu tiro o storage e coloco o código que estava antes fica assim meu index.php Spoiler <?php $skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY level DESC LIMIT 10'); ?> <div id="Themeboxes"> <style type="text/css" media="all"> #the-final-countdown, #the-final-countdown1, #the-final-countdown2{ background: transparent url(layouts/tibiarl/images/menu/bg_menu.gif); } #warcastle { text-decoration: none; text-align: center; cursor: auto; top: 50px; left:20px; } .Toplevelbox { top:-4px; position:absolute; margin-bottom:10px; width:180px; height:200px } .top_level_x { position:absolute; top:25px; left:46px; height:210px; width:270px; z-index:20; text-align:center; padding-top:8px; font-family:Tahoma,Geneva,sans-serif; font-size:10.2pt; color:#fc3; font-weight:700; text-align:right; text-decoration:inherit; text-shadow:.1em .1em #333 } .top_level { position:absolute; top:29px; left:6px; height:160px; width:168px; z-index:20; text-align:center; padding-top:6px; font-family:Tahoma,Geneva,sans-serif; font-size:9.2pt; color:#000; font-weight:700; text-align:right; text-decoration:inherit; text-shadow:.1em .1em #333 } #Toplvels { width:290px; height:438px; left:-4px; top:118px; z-index:100 } #Topbar a { text-decoration: none; cursor: auto; } a.topfont { font-family: Verdana, Arial, Helvetica; font-size: 12,1px; color: #fc3; text-decoration: none } a:hover.topfont { font-family: Verdana, Arial, Helvetica; font-size: 12,1px; color: #CCC; text-decoration:none } </style> código por storage $storage = 421221; $skills = $SQL->query('SELECT * FROM players p inner join player_storage ps on p.id = ps.player_id WHERE p.deleted = 0 AND p.group_id = 1 OR p.group_id = 2 AND p.account_id != 1 and ps.key = '.$storage.' ORDER BY ps.value desc, p.level DESC LIMIT 10'); edit: Resolvido de uma forma bem simples, apenas substitui $skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY level DESC LIMIT 10'); por $skills = $SQL->query('SELECT * FROM players WHERE deleted = 0 AND group_id = 1 AND account_id != 1 ORDER BY reset DESC LIMIT 10'); creditos para : ricardo codenome link de onde consegui o código para reset por storage caso alguem precise : Editado Abril 18, 2020 5 anos por Drakon21 (veja o histórico de edições)
Postado Junho 20, 2020 4 anos o meu está com o mesmo problema, fica aparecendo só os top level além de reset mesmo colocando storage
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.