Ir para conteúdo
  • Cadastre-se
  • 0

Respawn RB errado no site


survival gamer

Pergunta

Sou bem leigo neste assunto, gostaria de saber como resolver este erro:

Spoiler

texto da pagina

<?php if(!isset($pro)){echo 'Página protegida!'; exit;}; ?>
<br>
<!-- Grand RaidBoss -->
        <div class="title">
            <h2>GrandBoss</h2>
        </div>
<table width="635" border="0" cellspacing="2" style="margin:0px 0" class="ranking">
  <tr>
    <th width="314" align="center"><strong>Nome</strong></th>
    <th width="50" align="center"><strong>Level</strong></th>
    <th width="150" align="center"><strong>Status</strong></th>
    <th width="200" align="center"><strong>Respawn</strong></th>
  </tr>
  <?php
      $verificar_grandboss = $conexao->prepare("SELECT b.*,n.id, n.name,n.level FROM grandboss_data b LEFT JOIN npc n ON b.boss_id = n.id  ORDER BY n.name ASC");
      $verificar_grandboss->execute();
      while($res_grandboss = $verificar_grandboss->fetch(PDO::FETCH_ASSOC)){


  ?>
  <tr>
    <td align="center"><?php echo $res_grandboss['name']; ?></td>
    <td align="center"><?php echo $res_grandboss['level']; ?></td>
    <td align="center"><?php if($res_grandboss['respawn_time'] == 0) {
            echo "<span style='color:green;'>Vivo</span>";
        }else{
            echo "<span style='color:red;'>Morto</span>";} ?></td>
    <td align="center"><?php if($res_grandboss['respawn_time'] == 0) {
            echo "No respawn";
        }else{
            echo date('d/m/Y - H:i:s', strtotime($res_grandboss['respawn_time'] / 1000));             
        }
    ?></td>
  </tr>
  <?php
     }

  ?>
</table>

<!-- RaidBoss -->
        <div class="title">
            <h2>RaidBoss</h2>
        </div>
<table width="635" border="0" cellspacing="2" style="margin:0px 0" class="ranking">
  <tr>
    <th width="314" align="center"><strong>Nome</strong></th>
    <th width="50" align="center"><strong>Level</strong></th>
    <th width="150" align="center"><strong>Status</strong></th>
    <th width="200" align="center"><strong>Respawn</strong></th>
  </tr>
  <?php
      $verificar_raidboss = $conexao->prepare("SELECT b.*,n.id, n.name,n.level FROM raidboss_spawnlist b LEFT JOIN npc n ON b.boss_id = n.id ORDER BY n.level DESC");
      $verificar_raidboss->execute();
      while($res_raidboss = $verificar_raidboss->fetch(PDO::FETCH_ASSOC)){


  ?>
  <tr>
    <td align="center"><?php echo $res_raidboss['name']; ?></td>
    <td align="center"><?php echo $res_raidboss['level']; ?></td>
    <td align="center"><?php if($res_raidboss['respawn_time'] == 0) {
            echo "<span style='color:green;'>Vivo</span>";
        }else{
            echo "<span style='color:red;'>Morto</span>";} ?></td>
    <td align="center"><?php if($res_raidboss['respawn_time'] == 0) {
            echo "No respawn";
        }else{
            echo date('d/m/Y - H:i:s', strtotime($res_raidboss['respawn_time'] / 1000));             
        }
    ?></td>
  </tr>
  <?php
     }

  ?>
</table>
 

olha como aparece no site, alguem sabe como resolver?

 

respown.jpg

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts recomendados

Até agora não há respostas para essa pergunta

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • 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.