Jump to content
MakeWebGames

Recommended Posts

Posted

This is my own donation page that is completly standard but im wanting a new kind of lay out for it if possible... Dont know if this is the righ place to post this but any help would be greatly appreciated.....

<?php
include "globals.php";
print <<<EOF
<h3>Donations</h3>
[b][[url='willpotion.php']Buy Will Potions[/url]][/b]

If you become a donator to {$set['game_name']}, you will receive (each time you donate):

[b]1st Offer:[/b]<ul>
[*]\$5,000 game money
[*]50 crystals
[*]50 IQ, the hardest stat to get in the game!
[*]30 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type=hidden name=cmd value=_xclick>
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|1|{$userid}">
<input type="hidden" name="amount" value="3.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=standard">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
[b]2nd Offer:[/b]<ul>
[*]100 crystals
[*]30 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|2|{$userid}">
<input type="hidden" name="amount" value="3.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=crystals">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
[b]3rd Offer:[/b]<ul>
[*]120 IQ, the hardest stat to get in the game!
[*]30 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|3|{$userid}">
<input type="hidden" name="amount" value="3.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=iq">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
[b]4th Offer ($5.00 pack):[/b]<ul>
[*]\$15,000 game money
[*]75 crystals
[*]80 IQ, the hardest stat to get in the game!
[*]55 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|4|{$userid}">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=fivedollars">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
[b]5th Offer ($10.00 pack):[/b]<ul>
[*]\$35,000 game money
[*]160 crystals
[*]180 IQ, the hardest stat to get in the game!
[*]A free Rifle valued at \$25,000
[*]115 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|5|{$userid}">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=tendollars">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
EOF;
$h->endpage();
?>
Posted
please use [php ] (without space) tags

Wouldn't really help tbh ;) It's a short enough code to read it anyway.

Maybe but it's nicer to see it in it's syntax and not red..

First Posted Edited(Reason: Wrapped in PHP tags) ;)

Posted

here you go, tested and looks fine. hope you like it (its just a basic table)

 

<?php
include "globals.php";
print <<<EOF
<h3>Donations</h3>

<form action='willpotion.php' method='post'>   
<input type='submit' class='submit' value='Buy Will Potions'>       
</form>


<div style="background: black;border:1px solid gray; width:275px; margin-bottom: 1em; padding: 10px;color: black">
<font color="gold">Benifits of donating</font><hr />
<font color="white">Red Name

Friend / Enemy List

More Energy Every Five Minutes

PLUS MORE!</font>

</div>


<center><table width=100% cellspacing=1 class=table border=1></center>
<tr>
<th>Pack</th>
<th>Money</th>
<th>Crystals</th>
<th>IQ</th>
<th>Donator Days</th>
<th>Item</th>
<th>Donate</th>
</tr><tr>

<td align=center>1st Offer: ($3.00 Pack)</td>
<td align=center>$5,000</td>
<td align=center>50</td>
<td align=center>50</td>
<td align=center>30</td>
<td align=center>None</td><td align=center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type=hidden name=cmd value=_xclick>
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|1|{$userid}">
<input type="hidden" name="amount" value="3.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=standard">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

</td><tr>

<td align=center>2nd Offer: ($3.00 pack)</td>
<td align=center>0</td>
<td align=center>100</td>
<td align=center>0</td>
<td align=center>30</td>
<td align=center>None</td><td align=center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|2|{$userid}">
<input type="hidden" name="amount" value="3.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=crystals">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

</td><tr>

<td align=center>3rd Offer: ($3.00 pack)</td>
<td align=center>0</td>
<td align=center>0</td>
<td align=center>120</td>
<td align=center>30</td>
<td align=center>None</td><td align=center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|3|{$userid}">
<input type="hidden" name="amount" value="3.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=iq">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

</td><tr>

<td align=center>4th Offer ($5.00 pack):</td>
<td align=center>\$15,000</td>
<td align=center>75</td>
<td align=center>80</td>
<td align=center>55</td>
<td align=center>None</td><td align=center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|4|{$userid}">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=fivedollars">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

</td><tr>

<td align=center>5th Offer ($10.00 pack):</td>
<td align=center>$35,000</td>
<td align=center>160</td>
<td align=center>180</td>
<td align=center>115</td>
<td align=center>Rifle ($25,000)</td><td align=center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="{$domain}|DP|5|{$userid}">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://{$domain}/donatordone.php?action=done&type=tendollars">
<input type="hidden" name="cancel_return" value="http://{$domain}/donatordone.php?action=cancel">
<input type="hidden" name="notify_url" value="http://{$domain}/ipn_donator.php">
<input type="hidden" name="cn" value="Your Player ID">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
</td></table>
EOF;
$h->endpage();
?>

 

if you want me to join

<div style="background: black;border:1px solid gray; width:275px; margin-bottom: 1em; padding: 10px;color: black">
<font color="gold">Benifits of donating</font><hr />
<font color="white">Red Name

Friend / Enemy List

More Energy Every Five Minutes

PLUS MORE!</font>

</div>

 

onto this

<center><table width=100% cellspacing=1 class=table border=1></center>
<tr>
<th>Pack</th>
<th>Money</th>
<th>Crystals</th>
<th>IQ</th>
<th>Donator Days</th>
<th>Item</th>
<th>Donate</th>
</tr><tr>

 

so its together in 1 table instead of a div black box, tell me and ill see what i can do.

Posted
yes please that will be great for you to add them thank you guys.

ok, not tested just writing it up here...

find...

<div style="background: black;border:1px solid gray; width:275px; margin-bottom: 1em; padding: 10px;color: black">
<font color="gold">Benifits of donating</font><hr />
<font color="white">Red Name

Friend / Enemy List

More Energy Every Five Minutes

PLUS MORE!</font>

</div>


<center><table width=100% cellspacing=1 class=table border=1></center>
<tr>
<th>Pack</th>
<th>Money</th>
<th>Crystals</th>
<th>IQ</th>
<th>Donator Days</th>
<th>Item</th>
<th>Donate</th>
</tr><tr>

and replace it with

<center><table width=100% cellspacing=1 class=table border=1></center>
<tr>
<th align=center colspan=7>
<font color="gold">Benifits of donating</font><hr />
<font color="white">Red Name

Friend / Enemy List

More Energy Every Five Minutes

PLUS MORE!</font></th></tr><tr>
<th>Pack</th>
<th>Money</th>
<th>Crystals</th>
<th>IQ</th>
<th>Donator Days</th>
<th>Item</th>
<th>Donate</th>
</tr><tr>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...