Ir para conteúdo

[Gesior Acc] Página Buypoints Semi-Automática


walefxavier

Posts Recomendados

Esta é uma página buypoints totalmente customizada,ela ja está presente do gesior 0.3.8 modificado e customizado que está presente na aba de Downloads,mas resolvi posta-la para as pessoas que só querem a página.

 

A pagina consiste em: O player escreve o nome do char e escolhe a quantidade de pontos que deseja comprar,clica em finalizar e é redirecionado para a página do pagseguro para terminar o pagamento. No pagseguro será mostrado o nome do char e a quantidade de pontos,assim,quando o pagamento for confirmado voce já saberá para quem os pontos devem ser entregues,não precisando mais de Confirmação de Pagamentos.

 

Um exemplo da página está aki neste site: MEGA TIBIA

 

Vamos lá !

 

Em Htdocs/buypoints.php coloque isto dentro:

 

<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Logout Successful</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td>You have logged out of your '.$config['server']['serverName'].' account. In order to view your account you need to <a href="?subtopic=accountmanagement" >log in</a> again.</td></tr> </table> </div> </table></div></td></tr>';
else
$main_content .= 'Please enter your account name and your password.<br/><a href="?subtopic=createaccount" >Create an account</a> if you do not have one yet.<br/><br/><form action="?subtopic=accountmanagement" method="post" ><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/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Account Login</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td class="LabelV" ><span >Account Name:</span></td><td style="width:100%;" ><input type="password" name="account_login" SIZE="10" maxlength="10" ></td></tr><tr><td class="LabelV" ><span >Password:</span></td><td><input type="password" name="password_login" size="30" maxlength="29" ></td></tr> </table> </div> </table></div></td></tr><br/><table width="100%" ><tr align="center" ><td><table border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></td><tr></form></table></td><td><table border="0" cellspacing="0" cellpadding="0" ><form action="?subtopic=lostaccount" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Account lost?" alt="Account lost?" src="'.$layout_name.'/images/buttons/_sbutton_accountlost.gif" ></div></div></td></tr></form></table></td></tr></table>';
else
{
$main_content .= '   

<br><table width="100%" border="2" cellpadding="4" cellspacing="1"> 

<tbody><tr> 

 <td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td> 



</tr> 

<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor da Doação</b></td></tr> 

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr> 



<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr> 

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr> 

<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr> 

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr> 

<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr> 

</tbody></table> 
<br></br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"> 

<center><font size="2"><b></b></font></center>

<div style="width: 0%">

<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">

<p>

<input type="hidden" name="email_cobranca" value="walefxavier@yahoo.com.br">

<input type="hidden" name="tipo" value="CP"> 

<input type="hidden" name="moeda" value="BRL"> 

<input type="hidden" name="item_id_1" value="2000050"> 

<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white"><strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table> 

<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1"></td></tr></tbody></table><br> 

<input type="hidden" name="item_quant_1" value="1"> 

<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>

</tr></tbody></table> 

<table border="0"><tbody><tr border="2">

 <td width="96" bgcolor="grey"><label>

   <select name="item_valor_1" id="item_valor_1" tabindex="2">

     <option selected>Selecione</option>

     <option value="5,00">5 Points</option>

     <option value="10,00">10 Points</option>

     <option value="20,00">20 Points</option>

     <option value="30,00">30 Points</option>

     <option value="40,00">40 Points</option>

     <option value="50,00">50 Points</option>

     <option value="60,00">60 Points</option>

     <option value="70,00">70 Points</option>

     <option value="80,00">80 Points</option>

     <option value="90,00">90 Points</option>

     <option value="100,00">100 Points</option>

     <option value="110,00">110 Points</option>

     <option value="120,00">120 Points</option>

     <option value="130,00">130 Points</option>

     <option value="140,00">140 Points</option>

     <option value="150,00">150 Points</option>

                               </select>

 </label></td>

</tr></tbody></table>


</td>
</tr>
<br> 

<br> 

<input type="hidden" name="item_frete_1" value="000"> 

<br> 

<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table> 

</p>

<div></div> 

<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="1">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?> 

 

Agora em Htdocs/layouts/tibiacom/layout.php adicione a seguinte tag: (Só para quem ainda não tem ela.)

 

<a href='?subtopic=buypoints'>
 <div id='submenu_doacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
   <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
   <div id='ActiveSubmenuItemIcon_doacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
   <div class='SubmenuitemLabel'><font color=red><blink>Buy Points</blink></font></div>
   <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
 </div>
</a>

 

Agora em Htdocs/index.php adicione a tag :

 

        case "buypoints":
               $topic = "Buy Points";
               $subtopic = "buypoints";
               include("buypoints.php");
       break;

 

É isso,para redirecionar a pagina para seu email pagseguro,basta coloca-lo no lugar de walefxavier@yahoo.com.br em buypoints.php .

Editado por Walef Xavier
Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

cara olha so oque aconteceu me ajuda ae =( fico sem as bolinha =(

 

http://cnrot.no-ip.org/?subtopic=buypoints

 

BOLINHAS ARRUMADAS

 

outro problema as barra da esquerda nao querem fechar

 

mais uma duvida e so eu troca seu EMAIL pelo meu do pagseguro que os boleto vao pra minha conta?

 

OBS: depois que o player pagou como eu envio os creditos pra conta dele?

essa maneira sua envia altomaticamente?

ou o nome do char dele vai para no site do pagseguro?

Editado por xFhenixX
Link para o comentário
Compartilhar em outros sites

  • 8 months later...

Esta é uma página buypoints totalmente customizada,ela ja está presente do gesior 0.3.8 modificado e customizado que está presente na aba de Downloads,mas resolvi posta-la para as pessoas que só querem a página.

 

A pagina consiste em: O player escreve o nome do char e escolhe a quantidade de pontos que deseja comprar,clica em finalizar e é redirecionado para a página do pagseguro para terminar o pagamento. No pagseguro será mostrado o nome do char e a quantidade de pontos,assim,quando o pagamento for confirmado voce já saberá para quem os pontos devem ser entregues,não precisando mais de Confirmação de Pagamentos.

 

Um exemplo da página está aki neste site: MEGA TIBIA

 

Vamos lá !

 

Em Htdocs/buypoints.php coloque isto dentro:

 

<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Logout Successful</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td>You have logged out of your '.$config['server']['serverName'].' account. In order to view your account you need to <a href="?subtopic=accountmanagement" >log in</a> again.</td></tr> </table> </div> </table></div></td></tr>';
else
$main_content .= 'Please enter your account name and your password.<br/><a href="?subtopic=createaccount" >Create an account</a> if you do not have one yet.<br/><br/><form action="?subtopic=accountmanagement" method="post" ><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/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Account Login</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td class="LabelV" ><span >Account Name:</span></td><td style="width:100%;" ><input type="password" name="account_login" SIZE="10" maxlength="10" ></td></tr><tr><td class="LabelV" ><span >Password:</span></td><td><input type="password" name="password_login" size="30" maxlength="29" ></td></tr> </table> </div> </table></div></td></tr><br/><table width="100%" ><tr align="center" ><td><table border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></td><tr></form></table></td><td><table border="0" cellspacing="0" cellpadding="0" ><form action="?subtopic=lostaccount" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Account lost?" alt="Account lost?" src="'.$layout_name.'/images/buttons/_sbutton_accountlost.gif" ></div></div></td></tr></form></table></td></tr></table>';
else
{
$main_content .= '  

<br><table width="100%" border="2" cellpadding="4" cellspacing="1">

<tbody><tr>

 <td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>



</tr>

<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor da Doação</b></td></tr>

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>



<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>

<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>

<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>

</tbody></table>
<br></br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050">

<center><font size="2"><b></b></font></center>

<div style="width: 0%">

<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">

<p>

<input type="hidden" name="email_cobranca" value="walefxavier@yahoo.com.br">

<input type="hidden" name="tipo" value="CP">

<input type="hidden" name="moeda" value="BRL">

<input type="hidden" name="item_id_1" value="2000050">

<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white"><strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>

<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1"></td></tr></tbody></table><br>

<input type="hidden" name="item_quant_1" value="1">

<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>

</tr></tbody></table>

<table border="0"><tbody><tr border="2">

 <td width="96" bgcolor="grey"><label>

<select name="item_valor_1" id="item_valor_1" tabindex="2">

  <option selected>Selecione</option>

  <option value="5,00">5 Points</option>

  <option value="10,00">10 Points</option>

  <option value="20,00">20 Points</option>

  <option value="30,00">30 Points</option>

  <option value="40,00">40 Points</option>

  <option value="50,00">50 Points</option>

  <option value="60,00">60 Points</option>

  <option value="70,00">70 Points</option>

  <option value="80,00">80 Points</option>

  <option value="90,00">90 Points</option>

  <option value="100,00">100 Points</option>

  <option value="110,00">110 Points</option>

  <option value="120,00">120 Points</option>

  <option value="130,00">130 Points</option>

  <option value="140,00">140 Points</option>

  <option value="150,00">150 Points</option>

							</select>

 </label></td>

</tr></tbody></table>


</td>
</tr>
<br>

<br>

<input type="hidden" name="item_frete_1" value="000">

<br>

<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>

</p>

<div></div>

<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="1">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?> 

 

Agora em Htdocs/layouts/tibiacom/layout.php adicione a seguinte tag: (Só para quem ainda não tem ela.)

 

<a href='?subtopic=buypoints'>
 <div id='submenu_doacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
<div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
<div id='ActiveSubmenuItemIcon_doacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
<div class='SubmenuitemLabel'><font color=red><blink>Buy Points</blink></font></div>
<div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
 </div>
</a>

 

Agora em Htdocs/index.php adicione a tag :

 

		case "buypoints":
			$topic = "Buy Points";
			$subtopic = "buypoints";
			include("buypoints.php");
	break;

 

É isso,para redirecionar a pagina para seu email pagseguro,basta coloca-lo no lugar de walefxavier@yahoo.com.br em buypoints.php .

Esta é uma página buypoints totalmente customizada,ela ja está presente do gesior 0.3.8 modificado e customizado que está presente na aba de Downloads,mas resolvi posta-la para as pessoas que só querem a página.

 

A pagina consiste em: O player escreve o nome do char e escolhe a quantidade de pontos que deseja comprar,clica em finalizar e é redirecionado para a página do pagseguro para terminar o pagamento. No pagseguro será mostrado o nome do char e a quantidade de pontos,assim,quando o pagamento for confirmado voce já saberá para quem os pontos devem ser entregues,não precisando mais de Confirmação de Pagamentos.

 

Um exemplo da página está aki neste site: MEGA TIBIA

 

Vamos lá !

 

Em Htdocs/buypoints.php coloque isto dentro:

 

<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Logout Successful</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td>You have logged out of your '.$config['server']['serverName'].' account. In order to view your account you need to <a href="?subtopic=accountmanagement" >log in</a> again.</td></tr> </table> </div> </table></div></td></tr>';
else
$main_content .= 'Please enter your account name and your password.<br/><a href="?subtopic=createaccount" >Create an account</a> if you do not have one yet.<br/><br/><form action="?subtopic=accountmanagement" method="post" ><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/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Account Login</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td class="LabelV" ><span >Account Name:</span></td><td style="width:100%;" ><input type="password" name="account_login" SIZE="10" maxlength="10" ></td></tr><tr><td class="LabelV" ><span >Password:</span></td><td><input type="password" name="password_login" size="30" maxlength="29" ></td></tr> </table> </div> </table></div></td></tr><br/><table width="100%" ><tr align="center" ><td><table border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></td><tr></form></table></td><td><table border="0" cellspacing="0" cellpadding="0" ><form action="?subtopic=lostaccount" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Account lost?" alt="Account lost?" src="'.$layout_name.'/images/buttons/_sbutton_accountlost.gif" ></div></div></td></tr></form></table></td></tr></table>';
else
{
$main_content .= '  

<br><table width="100%" border="2" cellpadding="4" cellspacing="1">

<tbody><tr>

 <td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>



</tr>

<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor da Doação</b></td></tr>

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>



<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>

<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>

<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>

<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>

</tbody></table>
<br></br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050">

<center><font size="2"><b></b></font></center>

<div style="width: 0%">

<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">

<p>

<input type="hidden" name="email_cobranca" value="walefxavier@yahoo.com.br">

<input type="hidden" name="tipo" value="CP">

<input type="hidden" name="moeda" value="BRL">

<input type="hidden" name="item_id_1" value="2000050">

<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white"><strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>

<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1"></td></tr></tbody></table><br>

<input type="hidden" name="item_quant_1" value="1">

<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>

</tr></tbody></table>

<table border="0"><tbody><tr border="2">

 <td width="96" bgcolor="grey"><label>

<select name="item_valor_1" id="item_valor_1" tabindex="2">

  <option selected>Selecione</option>

  <option value="5,00">5 Points</option>

  <option value="10,00">10 Points</option>

  <option value="20,00">20 Points</option>

  <option value="30,00">30 Points</option>

  <option value="40,00">40 Points</option>

  <option value="50,00">50 Points</option>

  <option value="60,00">60 Points</option>

  <option value="70,00">70 Points</option>

  <option value="80,00">80 Points</option>

  <option value="90,00">90 Points</option>

  <option value="100,00">100 Points</option>

  <option value="110,00">110 Points</option>

  <option value="120,00">120 Points</option>

  <option value="130,00">130 Points</option>

  <option value="140,00">140 Points</option>

  <option value="150,00">150 Points</option>

							</select>

 </label></td>

</tr></tbody></table>


</td>
</tr>
<br>

<br>

<input type="hidden" name="item_frete_1" value="000">

<br>

<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>

</p>

<div></div>

<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="1">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?> 

 

Agora em Htdocs/layouts/tibiacom/layout.php adicione a seguinte tag: (Só para quem ainda não tem ela.)

 

<a href='?subtopic=buypoints'>
 <div id='submenu_doacao' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
<div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
<div id='ActiveSubmenuItemIcon_doacao' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
<div class='SubmenuitemLabel'><font color=red><blink>Buy Points</blink></font></div>
<div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
 </div>
</a>

 

Agora em Htdocs/index.php adicione a tag :

 

		case "buypoints":
			$topic = "Buy Points";
			$subtopic = "buypoints";
			include("buypoints.php");
	break;

 

É isso,para redirecionar a pagina para seu email pagseguro,basta coloca-lo no lugar de walefxavier@yahoo.com.br em buypoints.php .

 

amigo deu esse erro aqui ..

 

Erro 100 - Informacoes do recebedor da doacao inconsistentes.

Link para o comentário
Compartilhar em outros sites

  • 3 months later...
  • 1 month later...
  • 5 months later...
×
×
  • Criar Novo...