Jump to content

Search the Community

Showing results for tags 'myaac'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Sou

Found 3 results

  1. Olá comunidade Xtibia! Tenho o prazer de apresentar a todos vocês o Sistema de Doações via Mercado Pago , desenvolvido especialmente para servidores MyAAC/Modern/ZnoteAAC. Este sistema oferece uma maneira fácil e segura de implementar doações em seu servidor, proporcionando uma experiência tranquila para seus jogadores. Características principais: Processamento Instantâneo: Com atualizações em tempo real na database, seus jogadores receberão seus pontos de donates imediatamente após a confirmação do pagamento. Segurança e Confiança: Mantenha a segurança dos dados dos seus jogadores e a confiabilidade das suas transações com nosso sistema de pagamento seguro. Destaque-se da concorrência: Ofereça uma experiência de doação superior, agregando valor ao seu servidor e se destacando da concorrência. Recursos do sistema: Interface Amigável: O sistema possui uma interface intuitiva e fácil de usar para gerenciamento dos donates. Pagamento por PIX: Os jogadores têm a opção de pagar os donates por meio do PIX, oferecendo comodidade e rapidez. Entrega Automática de Pontos: Após a confirmação do pagamento, os pontos doados são entregues automaticamente aos jogadores. Configuração Personalizada: Oferecemos opções configuráveis, como pontos duplos, triplos e quádruplos em determinados períodos, para que você possa ajustar o sistema de acordo com a necessidade do seu servidor. Notificações por Email: Notificação por email aos jogadores informando sobre o status do donate, desde a confirmação do pagamento até a entrega de premium pontos ou coins. Processo de pagamento: Ao receber a notificação de pagamento, o sistema verifica se o pagamento foi aprovado pelo Mercado Pago. Processa o pagamento e adiciona premium pontos ou coins à conta do jogador com base na quantidade de dinheiro doado e na taxa de conversão configurada. Atualiza a tabela de contas na database com os premium pontos adicionados. Transparência: Estou empenhado em fornecer o melhor suporte e assistência possível. Para mais informações sobre como adquirir o Sistema de Doações via MercadoPago e para qualquer suporte adicional, não hesite em entrar em contato comigo via Discord: odranoels.s Este sistema foi desenvolvido com ênfase na segurança, garantindo proteção contra ataques de injeção de SQL e seguindo um fluxo de trabalho 100% correto. PAGAMENTO AUTOMÁTICO VIA (PIX) v2.0.0 Valores de pontos padrão. Opção de Double Points para valores configurados Opção de Triple Points para valores configurados Opção de Quadruple Points para valores configurados QR Code PIX gerado com sucesso! Informações extras de pagamento. Pagamento efetuado e pontos entregues automaticamente ao jogador. Em breve, estarei fazendo um vídeo de demonstração com o funcionamento completo do sistema! Atualização para a versão 3.0.0 em andamento! A versão 3.0.0 do Sistema de Doações via MercadoPago está em desenvolvimento! Esta atualização está sendo cuidadosamente elaborada para trazer uma série de novos recursos e melhorias, visando proporcionar uma experiência ainda mais incrível para jogadores e administradores de no MyAAC/Modern/ZnoteAAC. O que esperar da versão 3.0.0: Novos recursos inovadores: Estamos introduzindo uma variedade de novos recursos inovadores que transformarão a maneira como os jogadores interagem com o sistema de doações, tornando-o mais dinâmico e envolvente do que nunca. Melhorias na interface: Estamos revolucionando a interface do sistema para torná-la ainda mais intuitiva e fácil de usar, proporcionando uma experiência de doação perfeita para os jogadores. Painel de Administração: Desenvolvimento de um painel de administração onde os administradores podem visualizar e gerenciar as doações recebidas, verificar o status dos pagamentos e realizar ações manuais se necessário. Histórico de transações: os jogadores poderão visualizar um histórico completo de suas transações dos donates, incluindo datas, valores, métodos de pagamento e status. Promoções e Descontos: Sera Implementado um sistema de incentivo a doações maiores ou recorrentes, oferecendo benefícios extras aos jogadores que doarem acima de determinado valor ou em prazo determinado. Suporte para outros gateways de pagamento: Além do Mercado Pago, vamos adicionar suporte para outros gateways de pagamento populares, como PayPal, PagSeguro e outros, para oferecer mais opções de pagamento aos jogadores. Pacotes/itens por donates personalizados: Sera Implementado a opção de comprar pacotes ou item diretamente na pagina de donate, permitindo aos jogadores escolher entre uma variedade de opções de doação pré-configuradas ou criar seu próprio pacote a partir de itens/pontos exclusivos. Implementação no OTClientv8: Estamos trabalhando para tornar a experiência de doação mais integrada e simplificada, diretamente no cliente do servidor. Atualização: Todos os clientes que adquirirem a Versão 2.0.0 antes do lançamento da Versão 3.0.0 serão atualizados para a nova versão sem custo adicional. É a nossa maneira de agradecer pelo seu apoio contínuo e garantir que você tenha acesso aos melhores e mais recentes recursos do nosso sistema. Estamos empenhados em tornar esta atualização o mais incrível e útil possível. Fique ligado para mais atualizações sobre a versão 3.0.0 e não hesite em nos fornecer comentários ou sugestões adicionais.
  2. Salve galera do xtibia! Estou a algum tempo tentando solucionar isso, mas até o momento sem sucesso. Eu quero remover essa tag de promoção do donate, se alguem puder me ajudar, por favor, sei que deve ser bem simples, mas não consegui achar. Quero remover os 100 Coins 250 Coins 400 Coins 700 Coins e deixar só normal sem desconto. donate_tibia_like.php <?php /** * Created by PhpStorm. * User: Ricardo * Date: 22/12/2017 * Time: 21:14 */ if ($logged) { /** * Progress Bar * * Make a donate with 4 Steps (Like now tibia) */ if (!isset($_REQUEST['step']) || $_REQUEST['step'] == "donateagreement") { $main_content .= ' <p>Before you can donate please read the ' . $config['server']['serverName'] . ' Service Agreement and state if you agree to it by clicking on the appropriate button below.</p> <div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0"> <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);" /></span> <div class="Text" >' . $config['server']['serverName'] . ' Service Agreement</div> <span class="CaptionVerticalRight" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" > <center><h2>READ WITH ATTENTION!</h2></center> <ul> <li>All income obtained from donations is directly applied to the maintenance and improvements of ' . $config['server']['serverName'] . ', the game is free and is maintained with the donation of some players.</li> <li>When you make a donation, you will receive some in-game coins as a bonus, you can exchange these coins for products in our store.</li> <li>It is very important to understand that <b>you are not buying the coins</b>, you are receiving a <b>symbolic bonus</b>.</li> <li>It is not allowed to use this website without the monitoring of those responsible. </li> <li>The ' . $config['server']['serverName'] . ' may change, at any time, these General Terms and Conditions, with a view to improving and improving the services provided. It should be noted that new Terms and Conditions will come into effect immediately after their publication on the website.</li> </ul> <center><h2>RULES!</h2></center> <ul> <li>By donating, you agree that <b>you cannot have the amount returned</b>.</li> <li>The coins will be awarded within 72 hours of confirmation of payment to the donor account.</li> <li>By donating, you are aware that <b>you are donating</b> and as a form of gratification, we will add the coins to your account.</li> <li>By clicking on <b>I Agree</b> you agree with all the rules that have been presented.</li> </ul> <br /> <br /> <font size=1 color=gray>*Eventually, the website may not be available for technical reasons or Internet failures, or for any other fortuitous event or force majeure, beyond the control of the ' . $config['server']['serverName'] . '. As a result, the user will not be able to assign him any responsibility or demand indemnity due to damages resulting from the occurrence of the same.</font><br /> <center><h4>By clicking on <b>I Agree</b> you agree with all the rules that have been presented.</h4></center> <font size=1 color=red>*All rules can be changed at any time without notice.</font><br /> </table> </div> </td> </tr> </table> </div> <br/> <center> <form action="?subtopic=accountmanagement&action=donate&step=1" method="post"> <tr> <td style="border:0px;" ><div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton.gif)" > <div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_over.gif);" ></div> <input class="ButtonText" type="image" name="Back" alt="Back" src="' . $layout_name . '/images/global/buttons/_sbutton_iagree.gif" > </div> </div> </form> </center>'; } else { if (!isset($_POST['step']) || $_POST['step'] == "") { $step = 1; } else { $step = $_POST['step']; } $main_content .= ' <div id="ProgressBar"> <div id="MainContainer"> <div id="BackgroundContainer"> <img id="BackgroundContainerLeftEnd" src="' . $layout_name . '/images/global/content/stonebar-left-end.gif"> <div id="BackgroundContainerCenter"> <div id="BackgroundContainerCenterImage" style="background-image:url(' . $layout_name . '/images/global/content/stonebar-center.gif);"></div> </div> <img id="BackgroundContainerRightEnd" src="' . $layout_name . '/images/global/content/stonebar-right-end.gif"> </div> <img id="TubeLeftEnd" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-left-green.gif"> <img id="TubeRightEnd" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-right-' . (($step >= 4) ? 'green' : 'blue') . '.gif"> <div id="FirstStep" class="Steps"> <div class="SingleStepContainer"> <img class="StepIcon" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-icon-1-green.gif"> <div class="StepText" style="font-weight:' . (($step == 1) ? 'bold' : 'normal') . ';">Select product</div> </div> </div> <div id="StepsContainer1"> <div id="StepsContainer2"> <div class="Steps" style="width:33%"> <div class="TubeContainer"> <img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-green' . (($step == 1) ? '-blue' : '') . '.gif"> </div> <div class="SingleStepContainer"> <img class="StepIcon" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-icon-2-' . (($step >= 2) ? 'green' : 'blue') . '.gif"> <div class="StepText" style="font-weight:' . (($step == 2) ? 'bold' : 'normal') . ';">Enter payment data</div> </div> </div> <div class="Steps" style="width:33%"> <div class="TubeContainer">'; if ($step < 2) { $main_content .= '<img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-blue.gif">'; } elseif ($step == 2) { $main_content .= '<img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-green-blue.gif">'; } else { $main_content .= '<img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-green.gif">'; } $main_content .= ' </div> <div class="SingleStepContainer"> <img class="StepIcon" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-icon-3-' . (($step >= 3) ? 'green' : 'blue') . '.gif"> <div class="StepText" style="font-weight:' . (($step == 3) ? 'bold' : 'normal') . ';">Confirm your order</div> </div> </div> <div class="Steps" style="width:33%"> <div class="TubeContainer">'; if ($step < 3) { $main_content .= '<img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-blue.gif">'; } elseif ($step == 3) { $main_content .= '<img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-green-blue.gif">'; } else { $main_content .= '<img class="Tube" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-tube-green.gif">'; } $main_content .= ' </div> <div class="SingleStepContainer"> <img class="StepIcon" src="' . $layout_name . '/images/global/content/progressbar/progress-bar-icon-4-' . (($step >= 4) ? 'green' : 'blue') . '.gif"> <div class="StepText" style="font-weight:' . (($step >= 4) ? 'bold' : 'normal') . ';">Summary</div> </div> </div> </div> </div> </div> </div> <script type="text/javascript">g_Deactivated = true;</script> '; if ($step == 1) { $main_content .= ' <script src="' . $layout_name . '/js/changepmctibia.js' . $css_version . '"></script> <form method="POST"> <div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);"></span> <div class="Text">Select product</div> <span class="CaptionVerticalRight" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table5" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"> <tbody> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td class="LabelV150"><span>Country:</span></td> <td> <select name="CountryCode" class="Width100Percent" onchange="this.form.submit();" onblur="CheckForReload(this)"> <option value="">--- please select your country ---</option> <option value="Brazil" selected="selected">Brazil</option> </select> <input type="hidden" id="CC_ServiceID" name="InitialServiceID" value="1"> <input type="hidden" name="CountrySubmitted" value="1"> <div id="SelectCountrySubmitButton" style="float: right; display: none;"> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_over.gif);"></div> <input class="ButtonText" type="image" name="Change Country" alt="Change Country" src="' . $layout_name . '/images/global/buttons/_sbutton_changecountry.gif"> </div> </div> </div> </td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> <tr> <td> <span class="HelperDivIndicator" onmouseover="ActivateHelperDiv($(this), \'' . $config['sale']['productName'] . '\', \'' . $config['sale']['productName'] . ' are Tibia currency to purchase exclusive products in the Store . <br /><br />You cannot only buy Premium Time there but also treat your character to one or more of the following products: Character Name Change, Character Sex Change, (Express) Character World Transfer, outfits, addons and mounts . <br /><br />The Store can be entered ingame by clicking on the little coin icon in your character inventory. <br /><br />\', \'ProductCategoryHelperDiv_13\');" onmouseout="$(\'#HelperDivContainer\').hide();"> <div class="InnerTableTab ActiveInnerTableTab"> <div id="ProductCategoryHelperDiv_13" class="ProductCategoryHelperDiv"></div> <a> <img src="' . $layout_name . '/images/payment/products_tab_active.png"> <div class="InnerTableTabLabel">' . $config['sale']['productName'] . '</div> </a> </div> </span> </td> </tr> <form method="post" action=""></form> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td style="text-align: center;" align="center"> <div style="max-height: 500px; overflow-y: auto;">'; $countOffers = 1; foreach ($config['donate']['offers'] as $id => $coins) { foreach ($coins as $reais => $coins) { $main_content .= ' <div class="ServiceID_Icon_Container" id="ServiceID_Icon_Container_' . $id . '"> <div class="ServiceID_Icon_Container_Background" id="" style="background-image:url(' . $layout_name . '/images/payment/serviceid_icon_normal.png);">'; $realcoin = ($reais / $coins) / 100; if ($config['donate']) { if ($realcoin != $config['donate']['proporcao'] && $realcoin > 0) { $percent = ( - (($realcoin * 100) / $config['donate']['proporcao'])); } } $main_content .= ' <div class="ServiceID_Icon" id="ServiceID_Icon_' . $id . '" style="" onclick="ChangeService(' . $id . ', 13);" onmouseover="MouseOverServiceID(' . $id . ', 13);" onmouseout="MouseOutServiceID(' . $id . ', 13);"> <div class="PermanentDeactivated ServiceID_Deactivated_ByChoice" id="ServiceID_NotAllowed_' . $id . '" style="display: none;"> <span class="HelperDivIndicator" onmouseover="ActivateHelperDiv($(this), \'Service Info:\', \'<p>The product is not available for the selected payment method!</p>\', \'\');" onmouseout="$(\'#HelperDivContainer\').hide();"> <div class="ServiceID_Deactivated" style="background-image: url(' . $layout_name . '/images/payment/serviceid_deactivated.png);"></div> </span> </div> <div class="ServiceID_Icon_New" id="ServiceID_Icon_New_' . $id . '" style="background-image:url(' . $layout_name . '/images/payment/serviceid_' . ($countOffers >= 5 ? '1' : $countOffers) . '.png);"></div> <div class="ServiceID_Icon_Selected" id="ServiceID_Icon_Selected_' . $id . '"></div> <div class="ServiceID_Icon_Over" id="ServiceID_Icon_Over_' . $id . '" style=""></div> <label for="ServiceID_' . $id . '"> <div class="ServiceIDLabelContainer"> <div class="ServiceIDLabel"> <input type="radio" id="ServiceID_' . $id . '" name="ServiceID" value="' . $id . '" style="display: none;"> <strike>' . $coins . ' Coins </strike> <br/>' . $coins / 1 . ' ' . $config['sale']['subProductName'] . ' </div> </div> <div class="ServiceIDPriceContainer"> <span class="ServiceIDPrice" id="PD_' . $id . '">R$ ' . number_format($reais / 100, 2, ",", ".") . '</span> </div> </label> </div> </div> </div> '; } $countOffers++; } unset($countOffers); $main_content .= ' </div> </td> </tr> <tr> <td> <small> <div style="float: left; margin-right: 5px;">*</div> <div style="float: left;"> <div id="ExchangeRateNote">Please note that the prices may vary depending on the current exchange rate.</div> Different prices may apply depending on your selected payment method. </div> </small> </td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td style="text-align: center;" align="center"> <div style="max-height: 240px; overflow-y: auto;">'; $valid_methods = array_diff($config['paymentsMethods'], [false]); $payment_id = 1; foreach ($valid_methods as $methodName => $status) { $showName = ""; switch ($methodName) { case "mercadoPago": $showName = "Mercado Pago"; break; case "transfer": $showName = "Bank Transfer"; break; case "picpay": $showName = "PicPay"; break; default: break; } $main_content .= ' <div class="PMCID_Icon_Container" id="PMCID_Icon_Container_' . $payment_id . '"> <div class="PMCID_Icon" id="PMCID_Icon_' . $payment_id . '" style="background-image:url(' . $layout_name . '/images//payment/pmcid_icon_normal.png);" onclick="ChangePMC(' . $payment_id . ');" onmouseover="MouseOverPMCID(' . $payment_id . ');" onmouseout="MouseOutPMCID(' . $payment_id . ');"> <div class="PermanentDeactivated PMCID_Deactivated_ByChoice" id="PMCID_NotAllowed_' . $payment_id . '" style="display: none;"> <span class="HelperDivIndicator" onmouseover="ActivateHelperDiv($(this), \'Payment Method Info:\', \'<p>The payment method is not allowed for the selected service!</p>\', \'\');" onmouseout="$(\'#HelperDivContainer\').hide();"> <div class="PMCID_Deactivated" style="background-image: url(' . $layout_name . '/images/payment/pmcid_deactivated.png);"></div> </span> </div> <div class="PMCID_Icon_Selected" id="PMCID_Icon_Selected_' . $payment_id . '"></div> <div class="PMCID_Icon_Over" id="PMCID_Icon_Over_' . $payment_id . '"></div> <span style="position: absolute; left: 125px; top: 53px; z-index: 99;"><span style="margin-left: 5px; position: absolute; margin-top: 2px;"><a href="../common/help.php?subtopic=Field_PaymentMethodCategory_Option_' . $payment_id . '_Comment" target="_blank"><span class="HelperDivIndicator" onmouseover="ActivateHelperDiv($(this), \'Information:\', \'This method is ' . ($showName == '' ? ucfirst($methodName) : ucfirst($showName)) . '.\', \'\');" onmouseout="$(\'#HelperDivContainer\').hide();"><img style="border:0px;" src="' . $layout_name . '/images/global/content/info.gif"></span></a></span></span> <img class="PMCID_CP_Icon" src="' . $layout_name . '/images/payment/' . strtolower($methodName) . '.gif"> <div class="PMCID_CP_Label"> <input type="radio" id="PMCID_' . $payment_id . '" name="PMCID" value="' . $payment_id . '" style="display: none;"> <label for="PMCID_' . $payment_id . '">' . ($showName == '' ? ucfirst($methodName) : ucfirst($showName)) . '</label> </div> </div> </div> '; $payment_id++; } $main_content .= ' </div> <small> <div style="clear: both; margin-right: 5px; text-align: left;">** If you use this payment method, you will have to wait 6 months before you can trade the purchased ' . $config['sale']['productName'] . ' in the Market or gift them to other characters using the Store. Of course, you can use these ' . $config['sale']['productName'] . ' without delay to purchase products for your own account.</div> </small> </td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </div> <div class="SubmitButtonRow"> <div class="LeftButton"> <input type="hidden" name="step" value="2"> <input type="hidden" name="ServiceCategoryID" value="13"> <input type="hidden" name="CountryCode" value="BR"> <input type="hidden" name="Submitted" value="1"> <input type="hidden" name="source" value=""> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_green.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_green_over.gif);"></div> <input class="ButtonText" type="image" name="Next" alt="Next" src="' . $layout_name . '/images/global/buttons/_sbutton_next.gif"> </div> </div> </div> <div class="RightButton"> <form action="./?subtopic=accountmanagement" method="post" style="padding:0px;margin:0px;"> <input type="hidden" name="page" value=""> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_red.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_red_over.gif);"></div> <input class="ButtonText" type="image" name="Cancel" alt="Cancel" src="' . $layout_name . '/images/global/buttons/_sbutton_cancel.gif"> </div> </div> </form> </div> </div> <script type="text/javascript"> $(\'#SelectCountrySubmitButton\').hide(); $(\'.PMCID_CP_Label > input\').hide(); $(\'.ServiceIDLabel > input\').hide(); </script> </form> '; if ($_POST['storage_OrderServiceData']['ServiceID']) { $main_content .= ' <script type="text/javascript"> ChangeService(' . $_POST['ServiceID'] . ', 13); ChangePMC(' . $_POST["PMCID"] . '); </script> '; } else { $main_content .= ' <script type="text/javascript"> ChangeService(0, 13); ChangePMC(1); </script> '; } } elseif ($step == 2) { $payment_data = $_POST; $valid_methods = array_diff($config['paymentsMethods'], [false]); $valid_methods = array_keys($valid_methods); $payment_data['methodName'] = $valid_methods[($_POST['PMCID']) - 1]; $payment_data['coins'] = array_values($config['donate']['offers'][$payment_data["ServiceID"]])[0]; $payment_data['price'] = array_keys($config['donate']['offers'][$payment_data["ServiceID"]])[0]; if (!isset($_POST['ServiceID']) || !$_POST['PMCID'] || $_POST['source']) { header("Location: ./?subtopic=accountmanagement&action=donate"); } else { $main_content .= ' <div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);"></span> <div class="Text">Enter payment data</div> <span class="CaptionVerticalRight" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table5" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"> <tbody> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <form method="post" action=""> <input type="hidden" name="storage_OrderServiceData[IsInitialised]" value="' . $payment_data["Submitted"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceID]" value="' . $payment_data["ServiceID"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodName]" value="' . $payment_data["methodName"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodCategoryID]" value="' . $payment_data["PMCID"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceCategoryID]" value="' . $payment_data["ServiceCategoryID"] . '"> <input type="hidden" name="storage_OrderServiceData[coins]" value="' . $payment_data["coins"] . '"> <input type="hidden" name="storage_OrderServiceData[Price]" value="R$ ' . ($payment_data['price'] / 100) . '.00"> <input type="hidden" name="storage_OrderServiceData[RealPrice]" value="' . ($payment_data['price'] / 100) . '"> <!-- <input type="hidden" name="storage_OrderServiceData[VATPercentage]" value="0"> <input type="hidden" name="storage_OrderServiceData[FormToken]" value="151399923984211117981340"> <input type="hidden" name="storage_OrderServiceData[CombinedSelection]" value="1"> <input type="hidden" name="storage_OrderServiceData[Repayment]" value="0">--> <input type="hidden" name="storage_OrderServiceData[Country]" value="' . $payment_data["CountryCode"] . '"> <input type="hidden" name="storage_OrderServiceData[EMailAddress]" value="' . htmlspecialchars($account_logged->getEmail()) . '"> <tbody> <tr> <td style="vertical-align: middle;" class="LabelV200 ">Country:</td> <td><input type="text" name="Form_OrderServiceStep3[Country]" value="BR" disabled="disabled"><input type="hidden" name="Form_OrderServiceStep3[Country]" value="BR"> <span style="margin-left: 5px; position: absolute; margin-top: 2px;"><a href="../common/help.php?subtopic=Field_Country_Comment" target="_blank"><span class="HelperDivIndicator" onmouseover="ActivateHelperDiv($(this), \'Information:\', \'Go back to step 1 if you want to change it.\', \'\');" onmouseout="$(\'#HelperDivContainer\').hide();"><img style="border:0px;" src="' . $layout_name . '/images/global/content/info.gif"></span></a></span> </td> </tr> <tr> <td style="vertical-align: middle;" class="LabelV200 ">E-Mail Address:</td> <td> <input type="text" name="Form_OrderServiceStep3[EMailAddress]" value="' . ($payment_data["storage_OrderServiceData"]["EMailAddress"] ? $payment_data["storage_OrderServiceData"]["EMailAddress"] : htmlspecialchars($account_logged->getEmail())) . '"> <span style="margin-left: 5px; position: absolute; margin-top: 2px;"><a href="../common/help.php?subtopic=Field_EMailAddress_Comment" target="_blank"><span class="HelperDivIndicator" onmouseover="ActivateHelperDiv($(this), \'Information:\', \'Used to send you the invoice and status updates on the payment process.\', \'\');" onmouseout="$(\'#HelperDivContainer\').hide();"><img style="border:0px;" src="' . $layout_name . '/images/global/content/info.gif"></span></a></span> </td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </div> <div class="SubmitButtonRow"> <div class="LeftButton"> <input type="hidden" name="ServiceCategoryID" value="' . $payment_data["ServiceCategoryID"] . '"> <input type="hidden" name="step" value="3"> <input type="hidden" name="ServiceID" value="' . $payment_data["ServiceID"] . '"> <input type="hidden" name="source" value=""> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_green.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image: url(' . $layout_name . '/images/global/buttons/sbutton_green_over.gif&quot;); visibility: hidden;"></div> <input class="ButtonText" type="image" name="Next" alt="Next" src="' . $layout_name . '/images/global/buttons/_sbutton_next.gif"> </div> </div> </div> </form> <div class="RightButton"> <form method="post" action=""> <input type="hidden" name="storage_OrderServiceData[IsInitialised]" value="' . $payment_data["Submitted"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceID]" value="' . $payment_data["ServiceID"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodName]" value="' . $payment_data["methodName"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceCategoryID]" value="' . $payment_data["ServiceCategoryID"] . '"> <input type="hidden" name="storage_OrderServiceData[Price]" value="R$ ' . ($payment_data["ServiceID"] / 100) . '.00"> <!--<input type="hidden" name="storage_OrderServiceData[VATPercentage]" value="0"> <input type="hidden" name="storage_OrderServiceData[FormToken]" value="151399923984211117981340"> <input type="hidden" name="storage_OrderServiceData[CombinedSelection]" value="1"> <input type="hidden" name="storage_OrderServiceData[Repayment]" value="0">--> <input type="hidden" name="storage_OrderServiceData[Country]" value="' . $payment_data["CountryCode"] . '"> <input type="hidden" name="storage_OrderServiceData[EMailAddress]" value="' . htmlspecialchars($account_logged->getEmail()) . '"> <input type="hidden" name="ServiceCategoryID" value="' . $payment_data["ServiceCategoryID"] . '"> <input type="hidden" name="ServiceID" value="' . $payment_data["ServiceID"] . '"> <input type="hidden" name="Coins" value="' . $payment_data["coins"] . '"> <input type="hidden" name="PMCID" value="' . $payment_data["PMCID"] . '"> <input type="hidden" name="source" value=""> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_over.gif);"></div> <input class="ButtonText" type="image" name="Previous" alt="Previous" src="' . $layout_name . '/images/global/buttons/_sbutton_previous.gif"> </div> </div> </form> </div> </div> '; } } elseif ($step == 3) { $payment_data = $_POST; if ($payment_data['storage_OrderServiceData']) { $main_content .= ' <div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);"></span> <div class="Text">Confirm your order</div> <span class="CaptionVerticalRight" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image:url(' . $layout_name . '/images/global/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image:url(' . $layout_name . '/images/global/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table5" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"> <tbody> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td class="LabelV200">Service</td> <td>' . $payment_data["storage_OrderServiceData"]["coins"] . ' ' . $config['sale']['productName'] . '</td> </tr> <tr> <td class="LabelV200">Price</td> <td>from ' . $payment_data["storage_OrderServiceData"]["Price"] . '</td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td class="LabelV200">Payment Method</td> <td>' . $payment_data["storage_OrderServiceData"]["PaymentMethodName"] . '</td> </tr> <tr> <td class="LabelV200">Country:</td> <td>' . $payment_data["storage_OrderServiceData"]["Country"] . '</td> </tr> <tr> <td class="LabelV200">E-Mail Address:</td> <td>' . $payment_data["Form_OrderServiceStep3"]["EMailAddress"] . '</td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <form method="post" action=""> <tbody> <tr> <td colspan="2"><input type="hidden" name="Form_OrderServiceStep4[TermsOfService]" value="0"> <input type="checkbox" checked="checked" name="Form_OrderServiceStep4[TermsOfService]" value="1" id="AgreementsCheckbox"> <span> <label for="AgreementsCheckbox">I have read and I agree to the <a href="http://www.tibia.com/support/?subtopic=legaldocuments&amp;page=extendedagreement" target="_blank">Extended Tibia Service Agreement</a> and the <a href="http://www.tibia.com/support/?subtopic=legaldocuments&amp;page=privacy" target="_blank">Tibia Privacy Policy</a>.</label> </span> </td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </div> <div class="SubmitButtonRow"> <div class="LeftButton"> <input type="hidden" name="storage_OrderServiceData[IsInitialised]" value="' . $payment_data["storage_OrderServiceData"]["IsInitialised"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceID]" value="' . $payment_data["storage_OrderServiceData"]["ServiceID"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodCategoryID]" value="' . $payment_data["storage_OrderServiceData"]["PaymentMethodCategoryID"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodName]" value="' . $payment_data["storage_OrderServiceData"]["PaymentMethodName"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceCategoryID]" value="' . $payment_data["storage_OrderServiceData"]["ServiceCategoryID"] . '"> <input type="hidden" name="storage_OrderServiceData[Price]" value="' . $payment_data["storage_OrderServiceData"]["Price"] . '"> <input type="hidden" name="storage_OrderServiceData[RealPrice]" value="' . $payment_data["storage_OrderServiceData"]["RealPrice"] . '"> <!--<input type="hidden" name="storage_OrderServiceData[VATPercentage]" value="' . $payment_data[""][""] . '"> <input type="hidden" name="storage_OrderServiceData[FormToken]" value="' . $payment_data[""][""] . '"> <input type="hidden" name="storage_OrderServiceData[CombinedSelection]" value="' . $payment_data[""][""] . '"> <input type="hidden" name="storage_OrderServiceData[Repayment]" value="' . $payment_data[""][""] . '">--> <input type="hidden" name="storage_OrderServiceData[Country]" value="' . $payment_data["storage_OrderServiceData"]["Country"] . '"> <input type="hidden" name="storage_OrderServiceData[EMailAddress]" value="' . $payment_data["Form_OrderServiceStep3"]["EMailAddress"] . '"> <input type="hidden" name="ServiceCategoryID" value="' . $payment_data["storage_OrderServiceData"]["ServiceCategoryID"] . '"> <input type="hidden" name="ServiceID" value="' . $payment_data["storage_OrderServiceData"]["ServiceID"] . '"> <input type="hidden" name="step" value="' . ($payment_data["step"] + 1) . '"> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_green.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image: url(&quot;' . $layout_name . '/images/global/buttons/sbutton_green_over.gif&quot;); visibility: hidden;"></div> <input class="ButtonText" type="image" name="BuyNow" alt="BuyNow" src="' . $layout_name . '/images/global/buttons/_sbutton_buynow.gif"> </div> </div> </div> </form> <div class="RightButton"> <form method="post" action=""> <input type="hidden" name="storage_OrderServiceData[IsInitialised]" value="' . $payment_data["storage_OrderServiceData"]["IsInitialised"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceID]" value="' . $payment_data["storage_OrderServiceData"]["ServiceID"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodCategoryID]" value="' . $payment_data["storage_OrderServiceData"]["PaymentMethodCategoryID"] . '"> <input type="hidden" name="storage_OrderServiceData[PaymentMethodName]" value="' . $payment_data["storage_OrderServiceData"]["PaymentMethodName"] . '"> <input type="hidden" name="storage_OrderServiceData[ServiceCategoryID]" value="' . $payment_data["storage_OrderServiceData"]["ServiceCategoryID"] . '"> <input type="hidden" name="storage_OrderServiceData[Price]" value="' . $payment_data["storage_OrderServiceData"]["Price"] . '"> <input type="hidden" name="storage_OrderServiceData[RealPrice]" value="' . $payment_data["storage_OrderServiceData"]["RealPrice"] . '"> <!--<input type="hidden" name="storage_OrderServiceData[VATPercentage]" value="' . $payment_data[""][""] . '"> <input type="hidden" name="storage_OrderServiceData[FormToken]" value="' . $payment_data[""][""] . '"> <input type="hidden" name="storage_OrderServiceData[CombinedSelection]" value="' . $payment_data[""][""] . '"> <input type="hidden" name="storage_OrderServiceData[Repayment]" value="' . $payment_data[""][""] . '">--> <input type="hidden" name="storage_OrderServiceData[Country]" value="' . $payment_data["storage_OrderServiceData"]["Country"] . '"> <input type="hidden" name="storage_OrderServiceData[EMailAddress]" value="' . $payment_data["Form_OrderServiceStep3"]["EMailAddress"] . '"> <input type="hidden" name="CountryCode" value="' . $payment_data["storage_OrderServiceData"]["Country"] . '"> <input type="hidden" name="CountrySubmitted" value="1"> <input type="hidden" name="Submitted" value="' . $payment_data["storage_OrderServiceData"]["IsInitialised"] . '"> <input type="hidden" name="ServiceCategoryID" value="' . $payment_data["storage_OrderServiceData"]["ServiceCategoryID"] . '"> <input type="hidden" name="ServiceID" value="' . $payment_data["storage_OrderServiceData"]["ServiceID"] . '"> <input type="hidden" name="PMCID" value="' . $payment_data["storage_OrderServiceData"]["PaymentMethodCategoryID"] . '"> <input type="hidden" name="source" value=""> <input type="hidden" name="step" value="' . ($payment_data["step"] - 1) . '"> <div class="BigButton" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton.gif)"> <div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"> <div class="BigButtonOver" style="background-image:url(' . $layout_name . '/images/global/buttons/sbutton_over.gif);"></div> <input class="ButtonText" type="image" name="Previous" alt="Previous" src="' . $layout_name . '/images/global/buttons/_sbutton_previous.gif"> </div> </div> </form> </div> </div> '; } else { header("Location: ./?subtopic=accountmanagement&action=donate"); } } elseif ($step == 4) { $payment_data = $_POST; if ($payment_data["Form_OrderServiceStep4"]["TermsOfService"] == 1) { $qnt = array_values($config['donate']['offers'][intval($payment_data['storage_OrderServiceData']['ServiceID'])])[0]; $main_content .= '<div class="TableContainer">'; $main_content .= $make_content_header("Sumary"); $main_content .= ' <table class="Table5" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"> <tbody> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td class="LabelV200">Service</td> <td>' . $qnt . ' ' . $config['sale']['productName'] . '</td> </tr> <tr> <td class="LabelV200">Price</td> <td>from ' . $payment_data["storage_OrderServiceData"]["Price"] . '</td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"> <tbody> <tr> <td class="LabelV200">Payment Method</td> <td>' . $payment_data["storage_OrderServiceData"]["PaymentMethodName"] . '</td> </tr> <tr> <td class="LabelV200">Country:</td> <td>' . $payment_data["storage_OrderServiceData"]["Country"] . '</td> </tr> </tbody> </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(' . $layout_name . '/images/global/content/table-shadow-br.gif);"></div> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> '; $methodBuy = $payment_data["storage_OrderServiceData"]["PaymentMethodName"]; $donateRef = $methodBuy . "-" . rand(0, 5000); $donateRef2 = "confirm"; if ($methodBuy == "pagseguro") { $donateRef2 = "waiting"; } if ($methodBuy != "pagseguro") { $SQL->query("INSERT INTO `z_shop_donates` (`date`,`reference`,`account_name`,`method`,`price`,`coins`,`status`) VALUES (" . time() . ",'" . $donateRef . "'," . $SQL->quote($account_logged->getName()) . ", " . $SQL->quote($methodBuy) . ",'" . $payment_data["storage_OrderServiceData"]["RealPrice"] . "'," . $qnt . "," . $SQL->quote($donateRef2) . ")"); } $main_content .= $make_table_header(); $main_content .= '<td>Thank you for your order. After clicking on "' . $payment_data["storage_OrderServiceData"]["PaymentMethodName"] . '" you will be redirected to <b>' . $payment_data["storage_OrderServiceData"]["PaymentMethodName"] . '</b> website in order to carry out the payment.</td>'; $main_content .= $make_table_footer(); $main_content .= '</div>'; if (isset($payment_data["storage_OrderServiceData"]["PaymentMethodName"])) { foreach ($config['paymentsMethods'] as $key => $value) { if ($payment_data["storage_OrderServiceData"]["PaymentMethodName"] == $key) { include_once "payment_methods/" . strtolower($key) . ".php"; } } $main_content .= $make_button("Center"); } else { header("Location: ./?subtopic=accountmanagement&action=donate"); } } else { header("Location: ./?subtopic=accountmanagement&action=donate"); } } else { header("Location: ./?subtopic=accountmanagement&action=donate"); } } } else { header("Location: ./?subtopic=accountmanagement"); }
  3. MyAAC MyAAC é um Criador de Conta Automático (AAC) gratuito, open source e escrito em PHP. Este AAC é baseado no Gesior, o que significa que possui todos os recursos do Gesior, e um pouco mais! Requisitos: - PHP 5.3.0 ou superior; - Database MySQL; - Extensão PDO PHP; - Extensão XML PHP; - Extensão ZIP PHP; - (Opcional) Mod_rewrite para urls amigáveis. Imagens: Como instalar? Baixe os arquivos necessários, navegue em seu navegador para o local onde você carregou seus arquivos - normalmente http: // localhost. Siga as etapas de instalação para instalar o AAC. É possível migrar do GesiorAAC para o MyAAC? Sim! É possível, graças ao script de instalação, que automaticamente detecta o esquema de banco de dados existente e faz a atualização. Basta fazer o upload do MyAAC para a pasta raiz da web e seguir as etapas de instalação. Nenhuma etapa adicional precisa ser feita! Seu banco de dados será convertido de Gesior para MyAAC, e você não perderá nada! Tão simples! Demo: Visualize uma demonstração do site no link abaixo: http://demo.my-aac.org Download: https://github.com/slawkens/myaac/releases Site oficial: http://my-aac.org Créditos: slawkens
×
×
  • Create New...