Ir para conteúdo
  • 0

Codigo Simples


di12345di

Pergunta

po galera é o seguinte to me perdendo nesse codigo do pagseguro.

 

http://prntscr.com/91n2of

 

gostaria que aparecesse a conta do comprador

 

Quantidade: 1
Valor do item: R$ 1,00

 

Quantidade: 2
Valor do item: R$ 2,00

 

e não Quantidade: 1
Valor do item: R$ 6,00

 

gostaria muito que alguem me ajuda-se REP+

 

 

<?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('.$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" >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 .= '<b>Você precisa entrar para realizar sua doação!</b><br>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 .= '<center> <h2> <li>PagSeguro Automático</li> </h2>
<img src="/images/pagseguro.gif"><br><br>
<form target="pagseguro" method="post" action="https://pagseguro.uol.com.br/v2/checkout/payment.html">
<input type="hidden" name="receiverEmail" value="diego-123-diego@@Hotmail.com.br">
<input type="hidden" name="currency" value="BRL">
<input type="hidden" name="itemId1" value="1">
<input type="hidden" name="itemDescription1" value="Premium Points na account: ">
<input name="itemDescription1" type="hidden" value="' . $config['pagseguro']['produtoNome']. ' na account: '.$account_logged->getCustomField("name").'">
<input type="hidden" name="itemWeight1" value="0">
<input type="hidden" name="reference" value="">
<table border="1" cellpadding="4" cellspacing="1" width="56%" id="#estilo"><tbody>
<tr bgcolor="#d4c0a1">
<td width="10%">Account</td>
<td><strong>'.$account_logged->getCustomField("name").'</strong></td>
</tr>
<tr bgcolor="#d4c0a1">
<td width="10%">Pontos</td>
<td>
<input type="number" ng-model="get_points" min="1" size="5" maxlength="5">
<input name="itemAmount1" type="hidden" value="{{get_points}}.00" size="5" maxlength="5">
<input name="itemQuantity1" type="hidden" value="1" size="1" maxlength="1">
</td>
</tr>
<tr bgcolor="#d4c0a1">
<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>
<b><span style="color:#ff0000;">Observação:</span></b> Os pontos são entregues <b>automaticamente</b> logo após a aprovação da sua doação pelo PagSeguro.
<hr />
<h2> <li>Depósito Bancário </li> </h2> <!-- Escolha o nome do banco -->
<td>
<div class="TableShadowContainerRightTop">
<div class="TableShadowRightTop" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-rt.gif);"></div>
</div>
<div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-rm.gif);">
<div class="TableContentContainer">
<table class="TableContent" width="100%" style="border:1px solid #faf0d7;">
<tbody><tr bgcolor="#D4C0A1">
<td align="center" width="20%">
<img src="./images/caixa.gif" width="90px"><br>
Caixa<br> Econômica
</td>
<td>
Faça o depósito nas agências da <b>Caixa, Lotéricas</b> ou<br> <b>Transferência Online</b>.<br><br>
<b>Caixa Econômica</b><br>
<strong>Favorecido</strong>: Diego Santos Torquato.<br>
<strong>Agência:</strong> 3490<br>
<strong>Conta:</strong> 13216-6<br>
<strong>Operação:</strong> 013<br>
<strong>(<em>Conta Poupança</em>)</strong><br>
</td>
</tr>
</tbody></table>
</div>
</div>
<div class="TableShadowContainer">
<div class="TableBottomShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-bm.gif);">
<div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-bl.gif);"></div>
<div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-br.gif);"></div>
</div>
</div>
</td><br>
<div class="TableShadowContainerRightTop">
<div class="TableShadowRightTop" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-rt.gif);"></div>
</div>
<div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-rm.gif);">
<div class="TableContentContainer">
<table class="TableContent" width="100%" style="border:1px solid #faf0d7;">
<tbody><tr bgcolor="#D4C0A1">
<td align="center" width="20%">
<img src="./images/bradesco.gif" width="90px"><br>
Bradesco
</td>
<td>
Faça o depósito nas agências do <b>Bradesco</b> ou<br> <b>Transferência Online</b>.<br><br>
<b>Bradesco</b><br>
<strong>Favorecido</strong>: Diego Santos Torquato.<br>
<strong>Agência:</strong> 3212<br>
<strong>Conta:</strong> 7869-7<br>
<strong>(<em>Conta Corrente</em>)</strong><br>
</td>
</tr>
</tbody></table>
</div>
</div>
<div class="TableShadowContainer">
<div class="TableBottomShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-bm.gif);">
<div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-bl.gif);"></div>
<div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiacom/images/content/table-shadow-br.gif);"></div>
</div>
</div>
</td><br>
<br>
<?php } ?>'; } ?>

 

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

×
×
  • Criar Novo...