Postado Dezembro 26, 2012 12 anos Autor ae a account eo o site do bianco 6.0 ___________________________________________ <?php /* Copyright © 2007 - 2008 Nicaw This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include ("include.inc.php"); $account = new Account(); if (!$account->load($_SESSION['account'])){ $_SESSION['account'] = ''; header('location: login.php?redirect=account.php'); die(); }else{ $ptitle="Conta - $cfg[server_name]"; include ("header.inc.php"); ?> <div id="content"> <div class="top">Conta</div> <div class="mid"> <table style="width: 100%"> <tr style="vertical-align: top"><td> <h3>Escolha oque Fazer</h3> <ul class="task-menu" style="width: 200px;"> <li onclick="ajax('form','modules/character_create.php','',true)" style="background-image: url(ico/user_add.png);">Criar Personagens</li> <li onclick="ajax('form','modules/character_delete.php','',true)" style="background-image: url(ico/user_delete.png);">Deletar Personagens</li> <?php if ($cfg['char_repair']){?> <li onclick="ajax('form','modules/character_repair.php','',true)" style="background-image: url(ico/user_edit.png);">Reparar Personagens</li> <?php }?> <li onclick="ajax('form','modules/account_password.php','',true)" style="background-image: url(ico/key.png);">Mudar Senha</li> <li onclick="ajax('form','modules/account_comments.php','',true)" style="background-image: url(ico/page_edit.png);">Editar Comentarios</li> <li onclick="ajax('form','modules/guild_create.php','',true)" style="background-image: url(ico/group_add.png);">Criar Guild</li> <li onclick="window.location.href='login.php?logout&redirect=account.php'" style="background-image: url(ico/resultset_previous.png);">Sair da Conta</li> </ul> </td><td> <?php if (isset($account->players)){ echo '<h3>Characters</h3>'."\n"; echo '<ul class="task-menu">'; foreach ($account->players as $player){ echo '<li style="background-image: url(ico/user.png);" onclick="window.location.href=\'characters.php?player_id='.htmlspecialchars($player['id']).'\'">'.htmlspecialchars($player['name']).'</li>'; } echo '</ul>'; } ?> </td></tr> </table> </div> <div id="ajax"></div> <div class="bot"> <?php include ("footer.inc.php");?> <?php } ?> Editado Dezembro 26, 2012 12 anos por Luizpaiva (veja o histórico de edições)
Postado Dezembro 26, 2012 12 anos Coloca com spoiler velho, assim olha: <?php /* Copyright © 2007 - 2008 Nicaw This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include ("include.inc.php"); $account = new Account(); if (!$account->load($_SESSION['account'])){ $_SESSION['account'] = ''; header('location: login.php?redirect=account.php'); die(); }else{ $ptitle="Conta - $cfg[server_name]"; include ("header.inc.php"); ?> <div id="content"> <div class="top">Conta</div> <div class="mid"> <table style="width: 100%"> <tr style="vertical-align: top"><td> <h3>Escolha oque Fazer</h3> <ul class="task-menu" style="width: 200px;"> <li onclick="ajax('form','modules/character_create.php','',true)" style="background-image: url(ico/user_add.png);">Criar Personagens</li> <li onclick="ajax('form','modules/character_delete.php','',true)" style="background-image: url(ico/user_delete.png);">Deletar Personagens</li> <?php if ($cfg['char_repair']){?> <li onclick="ajax('form','modules/character_repair.php','',true)" style="background-image: url(ico/user_edit.png);">Reparar Personagens</li> <?php }?> <li onclick="ajax('form','modules/account_password.php','',true)" style="background-image: url(ico/key.png);">Mudar Senha</li> <li onclick="ajax('form','modules/account_comments.php','',true)" style="background-image: url(ico/page_edit.png);">Editar Comentarios</li> <li onclick="ajax('form','modules/guild_create.php','',true)" style="background-image: url(ico/group_add.png);">Criar Guild</li> <li onclick="window.location.href='login.php?logout&redirect=account.php'" style="background-image: url(ico/resultset_previous.png);">Sair da Conta</li> </ul> </td><td> <?php if (isset($account->players)){ echo '<h3>Characters</h3>'."\n"; echo '<ul class="task-menu">'; foreach ($account->players as $player){ echo '<li style="background-image: url(ico/user.png);" onclick="window.location.href=\'characters.php?player_id='.htmlspecialchars($player['id']).'\'">'.htmlspecialchars($player['name']).'</li>'; } echo '</ul>'; } ?> </td></tr> </table> </div> <div id="ajax"></div> <div class="bot"> <?php include ("footer.inc.php");?> <?php } ?>
Postado Dezembro 26, 2012 12 anos Autor Coloca com spoiler velho, assim olha: <?php /* Copyright © 2007 - 2008 Nicaw This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ include ("include.inc.php"); $account = new Account(); if (!$account->load($_SESSION['account'])){ $_SESSION['account'] = ''; header('location: login.php?redirect=account.php'); die(); }else{ $ptitle="Conta - $cfg[server_name]"; include ("header.inc.php"); ?> <div id="content"> <div class="top">Conta</div> <div class="mid"> <table style="width: 100%"> <tr style="vertical-align: top"><td> <h3>Escolha oque Fazer</h3> <ul class="task-menu" style="width: 200px;"> <li onclick="ajax('form','modules/character_create.php','',true)" style="background-image: url(ico/user_add.png);">Criar Personagens</li> <li onclick="ajax('form','modules/character_delete.php','',true)" style="background-image: url(ico/user_delete.png);">Deletar Personagens</li> <?php if ($cfg['char_repair']){?> <li onclick="ajax('form','modules/character_repair.php','',true)" style="background-image: url(ico/user_edit.png);">Reparar Personagens</li> <?php }?> <li onclick="ajax('form','modules/account_password.php','',true)" style="background-image: url(ico/key.png);">Mudar Senha</li> <li onclick="ajax('form','modules/account_comments.php','',true)" style="background-image: url(ico/page_edit.png);">Editar Comentarios</li> <li onclick="ajax('form','modules/guild_create.php','',true)" style="background-image: url(ico/group_add.png);">Criar Guild</li> <li onclick="window.location.href='login.php?logout&redirect=account.php'" style="background-image: url(ico/resultset_previous.png);">Sair da Conta</li> </ul> </td><td> <?php if (isset($account->players)){ echo '<h3>Characters</h3>'."\n"; echo '<ul class="task-menu">'; foreach ($account->players as $player){ echo '<li style="background-image: url(ico/user.png);" onclick="window.location.href=\'characters.php?player_id='.htmlspecialchars($player['id']).'\'">'.htmlspecialchars($player['name']).'</li>'; } echo '</ul>'; } ?> </td></tr> </table> </div> <div id="ajax"></div> <div class="bot"> <?php include ("footer.inc.php");?> <?php } ?> e que eu nau sei como fas eu quase nau mecho aqui
Postado Dezembro 26, 2012 12 anos não é necessário saber PHP pra alterar umas mensagens de texto de um website, lol. se for modern aac, vá no diretório raiz do seu website, pasta system/application/controllers abra os arquivos, pesquise os textos e edite. Seja Feliz! Contato: beeki@ resto vocês sabem, eu acho.
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.