Ir para conteúdo

Featured Replies

Postado

oi pessoal bom na minha pagina de quest ela fica assim

Spoiler

Screenshot_17.thumb.png.f8da98576c5a1ed062e9010b412d9b54.png

 

Mais Eu Queria DEixa ela Assim

Spoiler

Screenshot_18.thumb.png.1b729ae745802fa6e58464530f2b478a.png

 

Alguem pode Me Ajudar

 

Minha injections.php

Spoiler

        <div class='message'>
        <div class='content'>

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$characterPageQuests = array();
/* A list of quests for character/view page. It will be listed on the page as a table to show acomplished missions.
Array contains array of quests which includes STORAGE ID, STORAGE VALUE (Required to finish quest) and NAME 
To create new quest copy line accross and change values.
*/
$player = $GLOBALS['player'];
/* Eg. $characterPageQuests[] = array('storage'=>5000, 'value'=>1, 'name'=>'Stone Quest'); */
$characterPageQuests[] = array('storage'=>31441546, 'value'=>1, 'name'=>'First');
$characterPageQuests[] = array('storage'=>2353462, 'value'=>1, 'name'=>'Dark');
$characterPageQuests[] = array('storage'=>2353463, 'value'=>1, 'name'=>'Earth');
$characterPageQuests[] = array('storage'=>32542354, 'value'=>1, 'name'=>'Punch');
$characterPageQuests[] = array('storage'=>2353464, 'value'=>1, 'name'=>'Rock');
$characterPageQuests[] = array('storage'=>2353465, 'value'=>1, 'name'=>'Venom');
$characterPageQuests[] = array('storage'=>20112015, 'value'=>1, 'name'=>'Crystal');
$characterPageQuests[] = array('storage'=>2353466, 'value'=>1, 'name'=>'Boost Ice');
$characterPageQuests[] = array('storage'=>2353468, 'value'=>1, 'name'=>'Boost Free');
$characterPageQuests[] = array('storage'=>2353467, 'value'=>1, 'name'=>'Boost hell');
$characterPageQuests[] = array('storage'=>20112016, 'value'=>1, 'name'=>'Celebi');
$characterPageQuests[] = array('storage'=>2436754423, 'value'=>1, 'name'=>'Halloween');
$characterPageQuests[] = array('storage'=>243654651, 'value'=>1, 'name'=>'Shedinja');
$characterPageQuests[] = array('storage'=>90030, 'value'=>1, 'name'=>'Burned');
$characterPageQuests[] = array('storage'=>88185428, 'value'=>1, 'name'=>'Unown');
$characterPageQuests[] = array('storage'=>243243, 'value'=>1, 'name'=>'Rayquaza');
$characterPageQuests[] = array('storage'=>978524350, 'value'=>1, 'name'=>'Ultra ball');
$characterPageQuests[] = array('storage'=>20112027, 'value'=>1, 'name'=>'Lugia');
$characterPageQuests[] = array('storage'=>20112020, 'value'=>1, 'name'=>'Dragons Den');
$characterPageQuests[] = array('storage'=>314143, 'value'=>1, 'name'=>'Milotic');
$characterPageQuests[] = array('storage'=>550982398, 'value'=>1, 'name'=>'Farol');
$characterPageQuests[] = array('storage'=>95148455, 'value'=>1, 'name'=>'Conquest');
$characterPageQuests[] = array('storage'=>181656, 'value'=>1, 'name'=>'Policial Jenny');
$characterPageQuests[] = array('storage'=>243654649, 'value'=>1, 'name'=>'Pesadelo');
$characterPageQuests[] = array('storage'=>314150, 'value'=>1, 'name'=>'Mysterious');
$characterPageQuests[] = array('storage'=>20112018, 'value'=>1, 'name'=>'Specilist');
$characterPageQuests[] = array('storage'=>44457427, 'value'=>1, 'name'=>'Remembrance');


 if(count($characterPageQuests) != 0) {
     echo "<div class='bar'>Quests</div>";
        echo "<table width='100%'>";
        echo "<tr><td width='90%'><b>Nome da Quest</b></td><td><b>Status</b></td></tr>";
        $SQL = POT::getInstance()->getDBHandle();
        foreach($characterPageQuests as $value) {
            $quest = $SQL->query("SELECT `value` FROM `player_storage` WHERE `player_id` = ".$player->getId()." AND `key` = '".$value['storage']."' AND `value` = '".$value['value']."'")->fetch();
            $status = ($quest) ? "true" : "false";
            echo "<tr><td width='90%'>".$value['name']."</td><td><center><img src='../../../public/images/$status.gif'></center></td></tr>";
        }
        echo "</table>";
    }
?>
</div></div>

 

Resolvido por Frenvius

Ir para solução
  • Respostas 5
  • Visualizações 639
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Solução:   Abra o injections.php do caminho injections\character_view\quests   Substitua isso: if(count($characterPageQuests) != 0) { echo "<div class='bar'>Quest

Posted Images

Postado

Up,tmbn precisooo

Meu facebook

 

Meu Projeto

 

Meu Skype

Spoiler

brendo.dmg.yago

 

Meu Servidor Online:

Spoiler

 

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo