Postado Novembro 25, 2015 9 anos Xampp? Discord: vankk #7765 Precisando de ajuda? Entre em contato comigo via Discord. Muitos vêm seus muitos dias de glória, mas poucos vêm seus muitos dias de luta.
Postado Novembro 26, 2015 9 anos 3 horas atrás, Axion Nitron disse: Bom Eu ja tive um erro em uma parte do website é um amigo akii no TK me ajudou a resolver o problema e @vankk tambem complementou agr estou com outro erro só que na parte de premium points segue o erro : Mostrar conteúdo oculto A PHP Error was encountered Severity: Notice Message: Undefined variable: action Filename: pages/pacc.php Line Number: 2 A PHP Error was encountered Severity: Notice Message: Undefined variable: config Filename: pages/pacc.php Line Number: 67 A PHP Error was encountered Severity: Notice Message: Undefined variable: config Filename: pages/pacc.php Line Number: 70 A PHP Error was encountered Severity: Notice Message: Undefined variable: main_content Filename: pages/pacc.php Line Number: 86 Esse erro é nesse script da pasta pacc maiis não sei resolver eu queria colocar minha conta do pagseguro maiis tambem nãao seii segue o script da pasta pacc.php: Mostrar conteúdo oculto <?PHP if($action == '') { $main_content .=' <div id="ProgressBar"> <div id="Headline">Informações Iniciais</div> <div id="MainContainer"> <div id="BackgroundContainer"> <img id="BackgroundContainerLeftEnd" src="layouts/tibiacom/images/vips/stonebar-left-end.gif"> <div id="BackgroundContainerCenter"> <div id="BackgroundContainerCenterImage" style="background-image: url(layouts/tibiacom/images/content/stonebar-center.gif);"></div> </div> <img id="BackgroundContainerRightEnd" src="layouts/tibiacom/images/vips/stonebar-right-end.gif"> </div> <img id="TubeLeftEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-left-blue.gif"> <img id="TubeRightEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-right-blue.gif"> <div id="FirstStep" class="Steps"> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-0-blue.gif"> <div class="StepText" style="font-weight: bold;">Regras da Doação</div> </div> </div> <div id="StepsContainer1"> <div id="StepsContainer2"> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-1-blue.gif"> <div class="StepText" style="font-weight: normal;">Metodo de Pagamento</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-2-blue.gif"> <div class="StepText" style="font-weight: normal;">Informações do Pedido</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-3-blue.gif"> <div class="StepText" style="font-weight: normal;">Confirmação</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-4-blue.gif"> <div class="StepText" style="font-weight: normal;">Pedido Realizado</div> </div> </div> </div> </div> </div></div><div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image: url(layouts/tibiacom/images/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image: url(layouts/tibiacom/images/content/box-frame-vertical.gif);"></span> <div class="Text">Informações Iniciais para sua doação.</div> <span class="CaptionVerticalRight" style="background-image: url(layouts/tibiacom/images/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image: url(layouts/tibiacom/images/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table1" cellpadding="0" cellspacing="0"> <tbody><tr> <td> <div class="InnerTableContainer"> <table style="width: 100%;"><tbody><tr><td> Informamos aos jogadores e colaboradores que o '.$config['server']['serverName'].' não tem nenhum interesse financeiro. Toda a renda obtida é diretamente reaplicada para a manutenção do servidor - isto significa que ao fazer uma doação, você está garantindo a estabilidade e aumentando a qualidade do mesmo.</br></br> Os pontos que são repassados aos jogadores que efetuam as doações não representam nada mais além de nossa gratificação, isto é, você não está comprando pontos e sim recebendo uma gratificação simbólica (em formas de pontos) que te beneficie dentro do jogo; você poderá usar os seus pontos da maneira que desejar.</br></br> O espírito deste sistema é simples: com o intuito de nos aproximarmos dos jogadores e fazer com que vocês se sintam em casa, entendemos a sua doação como uma via de mão dupla no quesito credibilidade. Ao acreditar que vale a pena INVESTIR na manutenção do servidor, nós investimos em vocês creditando-os com pontos, que como já dito anteriormente, podem ser utilizados da maneira que mais os couber.</br></br> Confira as <a href="?subtopic=beneficiospremium">Vantagens Vips</a> e o <a href="?subtopic=shopsystem">'.$config['server']['serverName'].' Shop</a> e saiba como aproveitar os seus pontos da maneira mais proveitosa à sua situação.</br> <h3>Dúvidas Frequentes</h3></br> <b>Mas o que são Premium Points?</b> Premium Points faz parte do nosso sistema de doação, com eles você pode adquirir uma VIP ou algo mais que esteja disponível no Shopping Online.</br></br> <b>O que é uma VIP Account?</b> Uma VIP Account traz habilidades e vantagens adicionais dentro e fora do jogo por um determinado período de tempo. Para saber mais sobre os beneficios por favor visite a seção <a href="?subtopic=beneficiospremium">Vantagens Vips</a>.</br></br> <b>Como efetuar a doação?</b> <br>Clique no botão <b>"Continue"</b> e siga todos os procedimentos para realizar sua doação. </td></tr> </tbody></table> </div> </td></tr></tbody></table></div><br><center><table border="0" cellpadding="0" cellspacing="0"> <tbody><tr><td style="border: 0px none;"> <div class="BigButton" style="background-image: url(layouts/tibiacom/images/buttons/sbutton.gif);"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image: url(layouts/tibiacom/images/buttons/sbutton_over.gif);"></div> <a href="?subtopic=donate&action=rules"><input class="ButtonText" name="Continue" alt="Continue" onclick=location.href="index.php?subtopic=donate&action=rules" src="layouts/tibiacom/images/vips/_sbutton_continue.gif" type="image"></a></div></div></td></tr></tbody></table></center> '; } elseif($action == 'rules') { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $main_content .='<div id="ProgressBar"> <div id="Headline">Regras & Informações</div> <div id="MainContainer"> <div id="BackgroundContainer"> <img id="BackgroundContainerLeftEnd" src="layouts/tibiacom/images/vips/stonebar-left-end.gif"> <div id="BackgroundContainerCenter"> <div id="BackgroundContainerCenterImage" style="background-image: url(layouts/tibiacom/images/content/stonebar-center.gif);"></div> </div> <img id="BackgroundContainerRightEnd" src="layouts/tibiacom/images/vips/stonebar-right-end.gif"> </div> <img id="TubeLeftEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-left-green.gif"> <img id="TubeRightEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-right-blue.gif"> <div id="FirstStep" class="Steps"> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-0-green.gif"> <div class="StepText" style="font-weight: bold;">Regras da Doação</div> </div> </div> <div id="StepsContainer1"> <div id="StepsContainer2"> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-green-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-1-blue.gif"> <div class="StepText" style="font-weight: normal;">Metodo de Pagamento</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-2-blue.gif"> <div class="StepText" style="font-weight: normal;">Informações do Pedido</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-3-blue.gif"> <div class="StepText" style="font-weight: normal;">Confirmação</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-4-blue.gif"> <div class="StepText" style="font-weight: normal;">Pedido Realizado</div> </div> </div> </div> </div> </div></div><div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image: url(layouts/tibiacom/images/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image: url(layouts/tibiacom/images/content/box-frame-vertical.gif);"></span> <div class="Text">Leia as Regras das Doações</div> <span class="CaptionVerticalRight" style="background-image: url(layouts/tibiacom/images/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image: url(layouts/tibiacom/images/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image: url(layouts/tibiacom/images/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table1" cellpadding="0" cellspacing="0"> <tbody><tr> <td> <div class="InnerTableContainer"> <table style="width: 100%;"><tbody><tr><td valign="middle" width="25px;"> <B>Antes de fazer uma doação, lembre-se de estar de acordo com as regras vigentes e ciente de todas as informações necessárias.</B><TEXTAREA ROWS="5" WRAP="physical" COLS="80" READONLY="true" style="float:right;"> 1. Gerais a) O '.$config['server']['serverName'].' é um servidor alternativo de Tibia planejado, construído e executado dentro das regras vigentes que possibilitam o funcionamento do mesmo sem infringir nenhuma lei (seja ela nacional ou não). b) Todo o dinheiro depositado e creditado no servidor é diretamente aplicado em sua própria manutenção, isto é, todo o capital girado em torno do mesmo é diretamente canalizado para o rumo de sua autossuficiência. c) O '.$config['server']['serverName'].' luta pela sua estabilidade, entretando, não podemos impedir que erros venham a acontecer. d) O histórico de doações está sendo salvado, ou seja, você nunca será esquecido. e) O nome designado à central de trocas de pontos - '.$config['server']['serverName'].'Shop - é fictício; o '.$config['server']['serverName'].' não vende nenhum tipo de produto. e) O '.$config['server']['serverName'].' é uma empresa sem fins lucrativos. 2. Perdas & Danos a) Guarde o seu comprovante de doação. É o único documento que comprova a sua ajuda para a manutenção do servidor. b) Em caso de resets, todas as doações que foram realizadas no prazo de dois meses (contando a partir do dia do reset) serão recreditadas integralmente nas contas dos jogadores. Lembrem-se que o histórico de doações está sendo salvo, porém você também precisa comprovar a sua participação nas doações. c) Em caso de quedas e(ou) problemas que façam com que o '.$config['server']['serverName'].' fique off-line, em modo de segurança ou de espera por três dias consecutivos ou mais, os jogadores que optaram por debitar seus pontos em tempo VIP serão recreditados, da mesma maneira, com os dias perdidos (contando a partir do terceiro dia). d) Em caso de paralização inesperada das atividades, não haverá reposição ou recreditação de capital investida no servidor, posto que toda doação é diretamente encaminhada à manutenção do mesmo. Neste caso, os jogadores serão comunicados pelos veículos de informação (site oficial ou fórum). e) Em caso de paralização pré-programada das atividades, os jogadores serão informados através de nossos veículos de informação e a partir da data referida o sistema de doações encontrar-se-á fora do ar. f) O '.$config['server']['serverName'].' oferece e investe na segurança básica para o servidor, cabe a você mantê-lo seguro; ou seja, não nos responsabilizamos pelos seus pertencens, personagens e contas. 3. Denotação # Doação a) Ato ou efeito de doar. b) Aquilo que se doa. c) Contrato, ou documento que assegura e legaliza a doação simples: a que é feita por exclusiva resolução do doador. </TEXTAREA>As regras e informações dispostas na caixa de diálogo acima podem ser modificadas sem aviso prévio.<br> Caso você não concorde com a contratação sobre a doação simples por favor não prossiga. </tbody></table> </div> </td></tr></tbody></table></div><br><table width="100%"><tbody><tr align="center"><td><table border="0" cellpadding="0" cellspacing="0"> <tbody><tr><td style="border: 0px none;"> <a href="javascript:void();" onclick=location.href="?subtopic=donate&action=pag_form"> <div class="BigButton" style="background-image: url(layouts/tibiacom/images/buttons/sbutton.gif);"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image: url(layouts/tibiacom/images/buttons/sbutton_over.gif);"></div> <input class="ButtonText" name="Continue" alt="Continue" src="layouts/tibiacom/images/vips/_sbutton_continue.gif" type="image"> </div></div></a></td></tr><tr></tr></tbody></table></td><td><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px none;"> <a href="javascript:void();" onclick=location.href="?subtopic=donate"><div class="BigButton" style="background-image: url(layouts/tibiacom/images/buttons/sbutton.gif);"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image: url(layouts/tibiacom/images/buttons/sbutton_over.gif); visibility: hidden;"></div> <input class="ButtonText" name="Back" alt="Back" src="layouts/tibiacom/images/vips/_sbutton_back.gif" type="image"> </table></td></tr></tbody></table> '; } } elseif($action == 'selectchar') { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $main_content .= ' <h1>Selecione o player</h1><BR> <form action="index.php?subtopic=donate&action=pag_form" method=POST> <table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr bgcolor="#505050"><td colspan="2"><font color="#FFFFFF"><b>Select the character you want receive the donate.</b></font></td></tr> <tr bgcolor="#D4C0A1"><td width="110"><b>Nome:</b></td><td width="550"><select name="buy_name">'; $players_from_logged_acc = $account_logged->getPlayersList(); if(count($players_from_logged_acc) > 0) { $players_from_logged_acc->orderBy('name'); foreach($players_from_logged_acc as $player) { $main_content .= '<option>'.$player->getName().'</option>'; } } else { $main_content .= 'Voce não tem nenhum char nessa account.'; } $main_content .= '</table> <br><center><input type="image" value="submit" src="layouts/tibiacom/images/buttons/sbutton_submit.gif"/> </form>'; } } elseif($action == 'pag_form') { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $buy_name = stripslashes(urldecode($_POST['buy_name'])); $main_content .= '<div id="ProgressBar"> <div id="Headline">Método de Pagamento</div> <div id="MainContainer"> <div id="BackgroundContainer"> <img id="BackgroundContainerLeftEnd" src="layouts/tibiacom/images/vips/stonebar-left-end.gif"> <div id="BackgroundContainerCenter"> <div id="BackgroundContainerCenterImage" style="background-image: url(layouts/tibiacom/images/content/stonebar-center.gif);"></div> </div> <img id="BackgroundContainerRightEnd" src="layouts/tibiacom/images/vips/stonebar-right-end.gif"> </div> <img id="TubeLeftEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-left-green.gif"> <img id="TubeRightEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-right-blue.gif"> <div id="FirstStep" class="Steps"> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-0-green.gif"> <div class="StepText" style="font-weight: normal;">Regras da Doação</div> </div> </div> <div id="StepsContainer1"> <div id="StepsContainer2"> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-green.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-1-green.gif"> <div class="StepText" style="font-weight: bold;">Metodo de Pagamento</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-green-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-2-blue.gif"> <div class="StepText" style="font-weight: normal;">Informações do Pedido</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-3-blue.gif"> <div class="StepText" style="font-weight: normal;">Confirmação</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-4-blue.gif"> <div class="StepText" style="font-weight: normal;">Pedido Realizado</div> </div> </div> </div> </div> </div></div>Você está prestes a escolher um método de pagamento para fazer a sua doação!<br><br> <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%> <form action="index.php?subtopic=donate&action=tipo" method="POST"><input type="hidden" name="char_name" value=""> <TR BGCOLOR="#505050"> <TD CLASS=white COLSPAN=3><B>Escolha o Método de Pagamento</B></TD> </TR> <TR BGCOLOR=#D4C0A1> <TD><input type="radio" name="method" value="1" checked="checked"> PagSeguro - Cartão de crédito/Boleto</TD> </TR> <TR BGCOLOR="#505050"> <TR BGCOLOR=#D4C0A1> <TD><input type="radio" name="method" value="3"> Banco do Brasil - Depósitos/DOCS/Transferencias Bancárias</TD> </TR> <TR BGCOLOR="#505050"> <TR BGCOLOR=#D4C0A1> </TR> </TABLE> </tbody></table> <br><table width="100%"><tbody><tr align="center"><td><table border="0" cellpadding="0" cellspacing="0"> <tbody><tr><td style="border: 0px none;"> <a href="javascript:void();" onclick=location.href="?subtopic=donate&action=pag_form"> <div class="BigButton" style="background-image: url(layouts/tibiacom/images/buttons/sbutton.gif);"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image: url(layouts/tibiacom/images/buttons/sbutton_over.gif);"></div> <input class="ButtonText" name="Continue" alt="Continue" src="layouts/tibiacom/images/vips/_sbutton_continue.gif" type="image"> </table></td></tr></tbody></table>'; }$_SESSION["nome"] = stripslashes(urldecode($_POST['method'])); } elseif($action == 'tipo') { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $buy_tipo = stripslashes(urldecode($_POST['method'])); if($buy_tipo == 1) { $main_content .= ' <form target="pagseguro" method="post" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml"> <input type="hidden" name="email_cobranca" value="'. $config['pagseguro']['email']. '"> <input type="hidden" name="tipo" value="CP"> <input type="hidden" name="moeda" value="BRL"> <input type="hidden" name="item_id_1" value="1"> <input type="hidden" name="item_descr_1" value="' . $config['pagseguro']['produtoNome'] . '"> <input type="hidden" name="item_frete_1" value="0"> <input type="hidden" name="item_quant_1" value="1"> <input type="hidden" name="item_peso_1" value="0"> <input type="hidden" name="ref_transacao" value="'.$account_logged->getCustomField("name").'-points"> <table border="0" cellpadding="4" cellspacing="1" width="100%" id="#estilo"><tbody> <div id="ProgressBar"> <div id="Headline">Informações do Pedido</div> <div id="MainContainer"> <div id="BackgroundContainer"> <img id="BackgroundContainerLeftEnd" src="layouts/tibiacom/images/vips/stonebar-left-end.gif"> <div id="BackgroundContainerCenter"> <div id="BackgroundContainerCenterImage" style="background-image: url(layouts/tibiacom/images/content/stonebar-center.gif);"></div> </div> <img id="BackgroundContainerRightEnd" src="layouts/tibiacom/images/vips/stonebar-right-end.gif"> </div> <img id="TubeLeftEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-left-green.gif"> <img id="TubeRightEnd" src="layouts/tibiacom/images/vips/progress-bar-tube-right-blue.gif"> <div id="FirstStep" class="Steps"> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-0-green.gif"> <div class="StepText" style="font-weight: normal;">Regras da Doação</div> </div> </div> <div id="StepsContainer1"> <div id="StepsContainer2"> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-green.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-1-green.gif"> <div class="StepText" style="font-weight: normal;">Metodo de Pagamento</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-green.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-2-green.gif"> <div class="StepText" style="font-weight: bold;">Informações do Pedido</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-green-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-3-blue.gif"> <div class="StepText" style="font-weight: normal;">Confirmação</div> </div> </div> <div class="Steps" style="width: 25%;"> <div class="TubeContainer"> <img class="Tube" src="layouts/tibiacom/images/vips/progress-bar-tube-blue.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="layouts/tibiacom/images/vips/progress-bar-icon-4-blue.gif"> <div class="StepText" style="font-weight: normal;">Pedido Realizado</div> </div> </div> </div> </div> </div></div>Escolha quantos pontos deseja comprar:<br><br> </tr> <tr> <td width="10%">Sua conta</td> <td><strong>'.$account_logged->getCustomField("name").'</strong></td> </tr> <tr> <td width="10%">Pontos</td> <td> <select name="item_valor_1"> <option value="1000">10</option> <option value="1500">15</option> <option value="2000">20</option> <option value="2500">25</option> <option value="3000">30</option> <option value="3500">35</option> <option value="4500">45</option> <option value="5500">55</option> <option value="6000">60</option> <option value="7500">75</option> <option value="9000">90</option> <option value="11500">115</option> </select> </td> </tr> <tr> <td colspan="2"> <input type="image" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/carrinhoproprio/btnFinalizar.jpg" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" /> </td> </tr> </tbody></table></form><p style="font-size: 18px">Ao doar pelo PagSeguro você não precisa confirmar seu pagamento, assim que PagSeguro aprovar o pagamento, os pontos serão adicionados automaticamente na sua conta.</p>'; } if($buy_tipo == 3) { $main_content .= ' <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr bgcolor="#505050"><td colspan="1" class="white"><b>Banco do Brasil</b></tr></td> <tr bgcolor="#D4C0A1"><td><img src="http://img526.imageshack.us/img526/2645/bancodobrasil2300x300.jpg"><br> <br> Favorecido: Nome Favorecido<br> Conta Corrente: xxx.xxx <br> Agência: xxx-xxx<br> <br> *O Pagamento pode ser feito através de Deposito ou Transferência Bancária (Não esqueça de confirmar a doação no link "Confirmar Doação"). </td></tr> </table><br/>'; $main_content .= ' <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr bgcolor="#505050"><td colspan="1" class="white"><b>Informações sobre Valores</b></td></tr> <tr bgcolor="#D4C0A1"><td>R$ 5,00: 5 Premium Points<br> R$ 10,00: 10 Premium Points<br> R$ 20,00: 20 Premium Points<br> R$ 30,00: 35 Premium Points*<br> <br> *O valor de cada Premium Point é de R$ 1,00. Porém, se a compra for acima de R$ 30,00 você ganha um bonus de + 15% em Premium Points de acordo com o valor comprado.<br> Exemplo: Na compra de R$ 50,00 em Premium Points, você leva 58 Premium Points ao invés de 50 Premium Points. (Bonus de +15% em cima do valor).<br> </td></tr> </table><br/>'; } if($buy_tipo == 4) { $main_content .= ' <center><h1>Onebip - Sistema de Pagamento pelo celuar via SMS</center></h1> '; $main_content .= '<center> <table border="0" cellspacing=1 cellpadding=4 width="80%"> <tr bgcolor="'.$config['site']['vdarkborder'].'"> <center><th width="100%"><font class=black><b>Planos disponíveis</b></font></th> </tr> </table> <table border="0" cellspacing=1 cellpadding=4 width="80%"> <tr> <center><td bgcolor="'.$config['site']['darkborder'].'" witdh="2%"><center><b>Doação - 5R$</center></b></td> <td bgcolor="'.$config['site']['darkborder'].'" witdh="2%"><center><b>Doação - 10R$</center></b></td> <td bgcolor="'.$config['site']['darkborder'].'" witdh="2%"><center><b>Doação - 20R$</center></b></td> <td bgcolor="'.$config['site']['darkborder'].'" witdh="2%"><center><b>Doação - 30R$</center></b></td> <td bgcolor="'.$config['site']['darkborder'].'" witdh="2%"><center><b>Doação - 50R$</center></b></td> </tr> <tr> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b><a href="https://www.onebip.com/tinyurl/a1197d7b3e9048f56a29f82569a5d7aa" title="Mobile payment: send and receive money with your mobile phone"> <img src="http://www.onebip.com/tools/bts/btn04.gif" alt="Transfer money with your mobile phone credit" border="0"/> </a></center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b><a href="https://www.onebip.com/tinyurl/78232439f44d5cba6ff3a5873dd59472" title="Mobile payment: send and receive money with your mobile phone"> <img src="http://www.onebip.com/tools/bts/btn04.gif" alt="Transfer money with your mobile phone credit" border="0"/> </a></center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b><a href="https://www.onebip.com/tinyurl/a9f667a07c3e3719be57381b4910898e" title="Mobile payment: send and receive money with your mobile phone"> <img src="http://www.onebip.com/tools/bts/btn04.gif" alt="Transfer money with your mobile phone credit" border="0"/> </a></center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b><a href="https://www.onebip.com/tinyurl/af26c76894856e21393b672ad4043076" title="Mobile payment: send and receive money with your mobile phone"> <img src="http://www.onebip.com/tools/bts/btn04.gif" alt="Transfer money with your mobile phone credit" border="0"/> </a></center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b><a href="https://www.onebip.com/tinyurl/81fe3a8e3d6148bd733134f55c615ed8" title="Mobile payment: send and receive money with your mobile phone"> <img src="http://www.onebip.com/tools/bts/btn04.gif" alt="Transfer money with your mobile phone credit" border="0"/> </a></center></b></td> </tr> <tr> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b>Faça sua Doação</center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b>Faça sua Doação</center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b>Faça sua Doação</center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b>Faça sua Doação</center></b></td> <td bgcolor="'.$config['site']['lightborder'].'" witdh="2%"><center><b>Faça sua Doação</center></b></td></center> </tr> </table> <table border="0" cellspacing=1 cellpadding=4 width="80%"> <tr bgcolor="'.$config['site']['vdarkborder'].'"> <td width="100%"></td> </tr> </table> <br> '; $main_content.=' <table border="0" cellspacing=1 cellpadding=4 width="100%"> <tr bgcolor="'.$config['site']['vdarkborder'].'"> <th width="100%"><font class=black>Observações</b></th> </tr> </table> <table border="0" cellspacing=1 cellpadding=4 width="100%"> <tr bgcolor="'.$config['site']['darkborder'].'"> <td width="100%"><ul><li>Para efetuar com sucesso sua doação utilizando o sistema <b>Onebip</b> é necessário de atenção: Ao enviar a mensagem você recebera os créditos em sua conta Onebip e depois transferir para a conta do servidor, caso não seja feito isso seus pontos não vão chegar.</li></ul></td> </tr> <tr bgcolor="'.$config['site']['darkborder'].'"> <td width="100%"><ul><li>Todas as doações efetuadas no sistema <b>Onebip</b> precisam ser <a href="http://tibera-world.com/index.php?subtopic=confirmacao">Confirmadas</a> para serem creditas em sua account, caso contrário seus pontos não serão creditados</li></ul></td> </tr> </table>'; } elseif($buy_tipo == 2) { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $main_content .= '<center>Ao clicar no botão submit você será redirecionado para a página de doações do PayPal, onde você deverá preencher os dados e concluir a doação.</center> <br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%> <tr bgcolor="#505050"><td colspan="3"><font color="white" size="4"><b>Pedido</b></font></td></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Método de pagamento:</b></td><td width="550" colspan="2">PayPal</TD></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Account:</b></td><td width="550" colspan="2">'.$account_logged->getName().'</td></tr> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <tr bgcolor="#D4C0A1"><td width="100"><b>Pontos:</b></td><td width="550" colspan="2"><select name="amount"> <option value="10.00">10 R$</option> <option value="20.00">20 R$</option> <option value="30.00">30 R$</option> <option value="40.00">40 R$</option> <option value="50.00">50 R$</option> </select></td></tr> </TABLE><BR> <input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="business" value="EMAILPAYPALAQUI"> <input type="hidden" name="lc" value="BR"> <input type="hidden" name="item_name" value="Pontos na account de nome: '.$account_logged->getCustomField("name").'"> <input type="hidden" name="custom" value="'.$account_logged->getCustomField("name").'"> <input type="hidden" name="item_number" value="1"> <input type="hidden" name="currency_code" value="BRL"> <input type="hidden" name="no_note" value="0"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="notify_url" value="http://tibera-world.com/ipn/ipn.php"> <input type="hidden" name="return" value="http://tibera-world.com"> <input type="hidden" name="rm" value="0"> <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG_global.gif:NonHosted"> <BR> <table style="width:100%;" ><tr align="center" ><td> <a href="index.php?subtopic=donate"><img border="0" src="layouts/tibiacom/images/buttons/sbutton_back.gif"></a> </TD> <td><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online."></TR> </TABLE></form>'; } } } } elseif($action == 'finalps') { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $buy_quant = stripslashes(urldecode($_POST['quant'])); $main_content .= '<center>Ao clicar no botão submit você será redirecionado para a página de doações do PagSeguro, onde você deverá preencher os dados e concluir a doação.</center> <br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%> <form target="pagseguro" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" method="post"><input type="hidden" name="char_name" value=""> <tr bgcolor="#505050"><td colspan="3"><font color="white" size="4"><b>Confirme seus dados</b></font></td></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Método de pagamento:</b></td><td width="550" colspan="2">PagSeguro</TD></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Account:</b></td><td width="550" colspan="2">'.$account_logged->getName().'</td></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Pontos:</b></td><td width="550" colspan="2">'.$buy_quant.'</td></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Valor:</b></td><td width="550" colspan="2">'.$buy_quant.',00</td></tr> </TABLE><BR> <center> <!-- INICIO FORMULARIO BOTAO PAGSEGURO --> <form action="https://pagseguro.uol.com.br/checkout/v2/donation.html" method="post"> <input type="hidden" name="email_cobranca" value="[email protected]" /> <input type="hidden" name="tipo" value="CP" /> <input type="hidden" name="moeda" value="BRL" /> <input type="hidden" name="item_id_1" value="'.$buy_quant.'" /> <input type="hidden" name="item_descr_1" value="Pontos" /> <input type="hidden" name="item_quant_1" value="'.$buy_quant.'" /> <input type="hidden" name="item_valor_1" value="100" /> <input type="hidden" name="item_peso_1" value="0" /> <input type="hidden" name="ref_transacao" value="'.$account_logged->getName().'" /> <!-- FINAL FORMULARIO BOTAO PAGSEGURO --> <BR> <table style="width:100%;" ><tr align="center" ><td> <a href="index.php?subtopic=donate"><img border="0" src="layouts/tibiacom/images/buttons/sbutton_back.gif"></a> </TD> <td><input type="image" src="layouts/tibiacom/images/buttons/sbutton_submit.gif" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" /></TR> </TABLE></form>'; } } elseif($action == 'finalpp') { if(!$logged) { $main_content .= 'You are not logged in. <a href="?subtopic=accountmanagement">Log in</a> first to make a donate..'; } else { $main_content .= '<center>Ao clicar no botão submit você será redirecionado para a página de doações do PayPal, onde você deverá preencher os dados e concluir a doação.</center> <br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%> <tr bgcolor="#505050"><td colspan="3"><font color="white" size="4"><b>Pedido</b></font></td></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Método de pagamento:</b></td><td width="550" colspan="2">PayPal</TD></tr> <tr bgcolor="#D4C0A1"><td width="100"><b>Account:</b></td><td width="550" colspan="2">'.$account_logged->getName().'</td></tr> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <tr bgcolor="#D4C0A1"><td width="100"><b>Pontos:</b></td><td width="550" colspan="2"><select name="amount"> <option value="10.00">10 R$</option> <option value="20.00">20 R$</option> <option value="30.00">30 R$</option> <option value="40.00">40 R$</option> <option value="50.00">50 R$</option> </select></td></tr> </TABLE><BR> <input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="lc" value="BR"> <input type="hidden" name="item_name" value="Pontos na account de nome: '.$account_logged->getCustomField("name").'"> <input type="hidden" name="custom" value="'.$account_logged->getCustomField("name").'"> <input type="hidden" name="item_number" value="1"> <input type="hidden" name="currency_code" value="BRL"> <input type="hidden" name="no_note" value="0"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="notify_url" value="http://tibera-world.com/ipn/ipn.php"> <input type="hidden" name="return" value="http://tibera-world.com"> <input type="hidden" name="rm" value="0"> <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG_global.gif:NonHosted"> <BR> <table style="width:100%;" ><tr align="center" ><td> <a href="index.php?subtopic=donate"><img border="0" src="layouts/tibiacom/images/buttons/sbutton_back.gif"></a> </TD> <td><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online."></TR> </TABLE></form>'; } } ?> Agora segue o script do botão de pagamento da minha conta: Ocultar conteúdo <!-- INICIO FORMULARIO BOTAO PAGSEGURO --> <form action="https://pagseguro.uol.com.br/checkout/v2/donation.html" method="post"> <!-- NÃO EDITE OS COMANDOS DAS LINHAS ABAIXO --> <input type="hidden" name="currency" value="BRL" /> <input type="hidden" name="receiverEmail" value="[email protected]" /> <input type="image" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/doacoes/209x48-doar-assina.gif" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" /> </form> <!-- FINAL FORMULARIO BOTAO PAGSEGURO --> Preciso colocar o site online ainda hoje alguem me ajuda poor favoor Olá amigo, tem como você postar o seu index.php? 3 horas atrás, vankk disse: Muda o error_reporting no php.ini Não recomendo somente esconder os erros, isso gera muita insegurança ao sistema, o melhor mesmo é tentar resolver [Designer] / [Developer]
Postado Novembro 26, 2015 9 anos Autor Agora, strakh disse: Olá amigo, tem como você postar o seu index.php? Não recomendo somente esconder os erros, isso gera muita insegurança ao sistema, o melhor mesmo é tentar resolver Cara eu ja too emocionado ao te veeer kkk index.php Spoiler <?php session_start(); ob_start(); $start = microtime(true); require("config.php"); if($config['server_name'] == "%SERVER_NAME%") { header("Location: install/"); exit; } if(USING_WINDOWS && $config['engine']['loadManagement']) exit("Load management is not available on Windows. Please switch it off in config.php"); else if(USING_WINDOWS == 0 && $config['engine']['loadManagement']) { $process = sys_getloadavg(); if ($process[0] > $config['engine']['maxLoad']) { header('HTTP/1.1 503 Too busy, try again later'); die('IDE Dropped connection with you. The server is too busy. Please try again later.'); } } /* |--------------------------------------------------------------- | PHP ERROR REPORTING LEVEL |--------------------------------------------------------------- | | By default CI & IDE runs with error reporting set to ALL. For security | reasons you are encouraged to change this when your site goes live. | For more info visit: http://www.php.net/error_reporting | */ error_reporting(E_ALL); /* |--------------------------------------------------------------- | SYSTEM FOLDER NAME |--------------------------------------------------------------- | | This variable must contain the name of your "system" folder. | Include the path if the folder is not in the same directory | as this file. | | NO TRAILING SLASH! | */ $system_folder = "system"; /* |--------------------------------------------------------------- | APPLICATION FOLDER NAME |--------------------------------------------------------------- | | If you want this front controller to use a different "application" | folder then the default one you can set its name here. The folder | can also be renamed or relocated anywhere on your server. | | | NO TRAILING SLASH! | */ $application_folder = "application"; /* | Define template name */ $template = $config['layout']; /* Full website address including HTTP:// Without slash at the end! */ $website = $config['website']; /* Default time zone for the server must be set here. */ date_default_timezone_set($config['timezone']); /* Set the default title of a website. */ $title = $config['title']; /* |=============================================================== | END OF USER CONFIGURABLE SETTINGS |=============================================================== */ require("system/api.php"); if(!DEFINED("API_KEY") or !DEFINED("API_PASS")) exit("This server does not have API_KEY or API_PASS set properly. If you are administrator of this server check the system/api.php in order to set the right properties, or try reinstalling this system. Err code: 150024042010"); require("system/version.php"); if(!DEFINED("VERSION")) exit("This server has not specified version of running system. If you are administrator of this server check the system/version.php file or download & install new version of this system. Err code: 154124042010"); /* |--------------------------------------------------------------- | SET THE SERVER PATH |--------------------------------------------------------------- | | Let's attempt to determine the full-server path to the "system" | folder in order to reduce the possibility of path problems. | Note: We only attempt this if the user hasn't specified a | full server path. | */ if(file_exists("system/users.php")) {$users = json_decode(file_get_contents("system/users.php"), TRUE); if(!empty($users) && array_key_exists($_SERVER['REMOTE_ADDR'], $users)) exit("<b><font color='red'>You have been globaly banned by the Modern AAC! Reason: ".$users[$_SERVER['REMOTE_ADDR']]."</b></font>");} if (strpos($system_folder, '/') === FALSE) { if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE) { $system_folder = realpath(dirname(__FILE__)).'/'.$system_folder; } } else { // Swap directory separators to Unix style for consistency $system_folder = str_replace("\\", "/", $system_folder); } if(!file_exists("templates/".$template."/index.tpl")) { exit("Template could not be loaded. Err code: 135604042010"); } if(empty($_SESSION['access'])) $_SESSION['access'] = 0; /* |--------------------------------------------------------------- | DEFINE APPLICATION CONSTANTS |--------------------------------------------------------------- | | EXT - The file extension. Typically ".php" | SELF - The name of THIS file (typically "index.php") | FCPATH - The full server path to THIS file | BASEPATH - The full server path to the "system" folder | APPPATH - The full server path to the "application" folder | CURRENT - The full URL of current page | */ define('EXT', '.php'); define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME)); define('FCPATH', str_replace(SELF, '', __FILE__)); define('BASEPATH', $system_folder.'/'); define('CURRENT', "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']); if (is_dir($application_folder)) { define('APPPATH', $application_folder.'/'); } else { if ($application_folder == '') { $application_folder = 'application'; } define('APPPATH', BASEPATH.$application_folder.'/'); } require_once(APPPATH.'/libraries/system.php'); $ide = new IDE; if(!DEFINED("SYSTEM_STOP")) { if(!@is_array($_SESSION['actions'])) $_SESSION['actions'] = array(); @array_unshift($_SESSION['actions'], array('time'=>time(), 'action'=>'Redirected to: http://'.$_SERVER['SERVER_ADDR'].$_SERVER['PHP_SELF'])); if(@count($_SESSION['actions']) > $config['actionsCount']) @array_pop($_SESSION['actions']); } /* |--------------------------------------------------------------- | LOAD THE FRONT CONTROLLER |--------------------------------------------------------------- | | And away we go... | */ require_once(APPPATH.'/libraries/Smarty.class.php'); require(APPPATH."libraries/POT/OTS.php"); require_once BASEPATH.'codeigniter/CodeIgniter'.EXT; if(DEFINED('TITLE')) $config['title'] = TITLE; $ide->loadEvent("onLoad"); /* Check the server's compatybility with the engine. */ if(!is_php($config['engine']['PHPversion'])) show_error("Your server runs verion of PHP older than ".$config['engine']['PHPversion'].". Please update in order to use this system. Err code: 140704042010"); if(!DEFINED("SYSTEM_STOP")) { $CI =& get_instance(); $CI->load->helper("url"); $controller = $CI->uri->segment(1); $method = $CI->uri->segment(2); #This is required in order to make work new community modules when upgrading from older Modern AAC versions. if($ide->isLogged() && $controller != "account" && $method != "setNickname" && empty($_SESSION['nickname'])) $ide->redirect(WEBSITE."/index.php/account/setNickname"); $contents = ob_get_contents(); $contents = wordWrapIgnoreHTML($contents, $config['wrap_words'], '<br />'); ob_end_clean(); require_once(APPPATH.'config/database.php'); /* Some basic actions */ if(empty($_SESSION['logged'])) $_SESSION['logged'] = 0; $smarty = new Smarty; if(file_exists("templates/".$template."/alters/".$controller."_".$method."/index.tpl")) $smarty->template_dir = "templates/".$template."/alters/".$controller."_".$method; else if(file_exists("templates/".$template."/alters/".$controller."/index.tpl")) $smarty->template_dir = "templates/".$template."/alters/".$controller; else $smarty->template_dir = "templates/".$template; $smarty->config_dir = ' configs'; $smarty->cache_dir = 'cache'; $smarty->compile_dir = 'compile'; @$logged = ($_SESSION['logged'] == 1) ? 1 : 0; $head = '<link type="text/css" href="'.$website.'/public/css/system.css" rel="stylesheet" /><link type="text/css" href="'.$website.'/public/css/'.$config['UItheme'].'" rel="stylesheet" /><script type="text/javascript" src="'.$website.'/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="'.WEBSITE.'/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="'.$website.'/public/js/system.js"></script><script type="text/javascript" src="'.$website.'/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="'.WEBSITE.'/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="'.WEBSITE.'/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="'.WEBSITE.'/public/css/tooltip.css" /> <script type="text/javascript" src="'.WEBSITE.'/public/js/tooltip.js"></script>'; require("system/template_variables.php"); if($ide->isAdmin()) $smarty->assign('admin', '[<a href="'.$website.'/index.php/admin">Administration</a>]'); else $smarty->assign('admin', ''); /* POLL SYSTEM by tatu hunter DONT CHANGE IF YOU DONT KNOW WHAT ARE YOU DOING */ /*$CI->load->model('poll_model', 'poll'); $data['poll'] = $CI->poll->getLastPoll(); if($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['poll_id']) && $_POST['poll_id'] && isset($_POST['answer_id']) && $_POST['answer_id']) { $CI->poll->doVote($_POST); $data['poll'] = $CI->poll->getLastPoll(); } $poll = $CI->load->view('poll', $data, true); $smarty->assign('poll', $poll); */ /* END POLL SYSTEM */ $totaltime = round((microtime(true) - $start), 4); $smarty->assign('renderTime', $totaltime); $smarty->assign('title', $config['title']); $smarty->assign('controller', strtolower($controller)); $smarty->assign('method', strtolower($method)); $smarty->display('index.tpl'); if($ide->isAdmin() && $config['adminWindow']) { require("system/adminWindow.php"); } $ide->loadEvent("onReady"); } $_SESSION['previous'] = curPageURL(); /* End of file index.php */ /* Location: ./index.php */
Postado Novembro 26, 2015 9 anos Só uma pergunta, você misturou arquivos do Modern ACC com Gesior ACC? rsrs [Designer] / [Developer]
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.