Postado Novembro 28, 2017 7 anos Spoiler <?php header("Content-Type: text/html; charset=UTF-8",true); if(!defined('INITIALIZED')) exit; $list = 'experience'; if(isset($_REQUEST['list'])) $list = $_REQUEST['list']; $page = 0; if(isset($_REQUEST['page'])) $page = min(50, $_REQUEST['page']); $vocation = ''; if(isset($_REQUEST['vocation'])) $vocation = $_REQUEST['vocation']; switch($list) { case "fist": $id=Highscores::SKILL_FIST; $list_name='Fist Fighting'; break; case "club": $id=Highscores::SKILL_CLUB; $list_name='Club Fighting'; break; case "sword": $id=Highscores::SKILL_SWORD; $list_name='Sword Fighting'; break; case "axe": $id=Highscores::SKILL_AXE; $list_name='Axe Fighting'; break; case "distance": $id=Highscores::SKILL_DISTANCE; $list_name='Distance Fighting'; break; case "shield": $id=Highscores::SKILL_SHIELD; $list_name='Shielding'; break; case "fishing": $id=Highscores::SKILL_FISHING; $list_name='Fishing'; break; case "magic": $id=Highscores::SKILL__MAGLEVEL; $list_name='Magic'; break; default: $id=Highscores::SKILL__LEVEL; $list_name='Experience'; break; } $world_name = $config['server']['serverName']; $offset = $page * 100; $skills = new Highscores($id, 100, $page, $vocation); $main_content .= ' Ranking for '.htmlspecialchars($list_name).' on '.htmlspecialchars($world_name).' '; $main_content .= ' Rank Name Level '; if($list == "experience") $main_content .= ' Experience '; //$main_content .= ' '; $main_content .= ''; $number_of_rows = 0; foreach($skills as $skill) { if($list == "magic") $value = $skill->getMagLevel(); elseif($list == "experience") $value = $skill->getLevel(); else $value = $skill->getScore(); $bgcolor = (($number_of_rows++ % 2 == 1) ? $config['site']['darkborder'] : $config['site']['lightborder']); $main_content .= ' '.($offset + $number_of_rows).' '.($skill->getOnline()>0 ? "".htmlspecialchars($skill->getName())."" : "".htmlspecialchars($skill->getName())."").' '.$value.''; if($list == "experience") $main_content .= ''.$skill->getExperience().''; $main_content .= ''; } $main_content .= ' '; if($page > 0) $main_content .= 'Previous Page'; if($page $main_content .= 'Next Page'; $main_content .= ' Choose a skill ExperienceMagicShieldingDistanceClubSwordAxeFistFishing '; Ai esta o highscores.php Deve tá em alguma função, sem saber qual é não dá pra mudar, veja se tem alguma classe HighscoresEnviado de meu MI 5s usando Tapatalk
Postado Novembro 28, 2017 7 anos Autor 2 minutos atrás, Ivens Pontes disse: Deve tá em alguma função, sem saber qual é não dá pra mudar, veja se tem alguma classe Highscores Enviado de meu MI 5s usando Tapatalk Nao tem nenhuma classe com esse nome na database
Postado Novembro 28, 2017 7 anos Nao tem nenhuma classe com esse nome na database Não é na database, e sim nos arquivos phpEnviado de meu MI 5s usando Tapatalk
Postado Novembro 28, 2017 7 anos Autor Teve um post que eu vi que tava pedindo para adicionar isso aqui... mas nao sei onde coloco isso Spoiler elseif(($name == 'Sorcerer Sample') or ($name == 'Druid Sample') or ($name == 'Knight Sample') or ($name == 'Paladin Sample') or ($name == 'Account Manager')){ $main_content .= 'Here you can get detailed information about a certain player on '.$config['server']['serverName'].'.<BR> <FORM ACTION="?subtopic=characters" METHOD=post><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Search Character</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLPADDING=1><TR><TD>Name:</TD><TD><INPUT NAME="name" VALUE=""SIZE=29 MAXLENGTH=29></TD><TD><INPUT TYPE=image NAME="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18></TD></TR></TABLE></TD></TR></TABLE></FORM>'; } Achei isso aqui no meu config.php Spoiler # PAGE: highscores.php $config['site']['groups_hidden'] = array(2, 3, 4, 5); $config['site']['accounts_hidden'] = array(1); Conseguir obrigado :D Coloquei isso aqui Spoiler # PAGE: highscores.php $config['site']['groups_hidden'] = array(2, 3, 4, 5, 6); $config['site']['accounts_hidden'] = array(233); No casso 233 seria o ID onde estaria os samples consegui
Postado Novembro 28, 2017 7 anos Teve um post que eu vi que tava pedindo para adicionar isso aqui... mas nao sei onde coloco isso Spoiler elseif(($name == 'Sorcerer Sample') or ($name == 'Druid Sample') or ($name == 'Knight Sample') or ($name == 'Paladin Sample') or ($name == 'Account Manager')){$main_content .= 'Here you can get detailed information about a certain player on '.$config['server']['serverName'].'.<BR> <FORM ACTION="?subtopic=characters" METHOD=post><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Search Character</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLPADDING=1><TR><TD>Name:</TD><TD><INPUT NAME="name" VALUE=""SIZE=29 MAXLENGTH=29></TD><TD><INPUT TYPE=image NAME="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18></TD></TR></TABLE></TD></TR></TABLE></FORM>';} Achei isso aqui no meu config.php Spoiler # PAGE: highscores.php $config['site']['groups_hidden'] = array(2, 3, 4, 5); $config['site']['accounts_hidden'] = array(1); Conseguir obrigado :DColoquei isso aqui Spoiler # PAGE: highscores.php $config['site']['groups_hidden'] = array(2, 3, 4, 5, 6); $config['site']['accounts_hidden'] = array(233); No casso 233 seria o ID onde estaria os samples consegui Mais fácil kkkkAo menos conseguiuFica pra quem quer o mesmo Enviado de meu MI 5s usando Tapatalk
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.