Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 27th June 2008, 22:36
D3SI's Avatar
D3SI D3SI is offline
Senior Member
 
Join Date: May 2008
Posts: 58
Post Donations Page with Auto Paypal Mod
ScreenShot of Donate Page

Click image for larger version

Name:	67454623jz8.jpg
Views:	967
Size:	91.7 KB
ID:	920

Files:

donate.php
Updated
Code:
<?php
require 'include/bittorrent.php';
dbconn();
loggedinorreturn();
$nick = ($CURUSER ? $CURUSER['username'] : ('Guest' . rand(1000, 9999)));
stdhead('Donate');
#Last Update: 29-06-2008

#Easy Configuration
#Added by D3SI
#Start
#Set Donations Amount here [ use same in Paypal.php]
$amount5 = 5; # For 5
$amount10 = 10;# For 10 Etc....
$amount20 = 20;
$amount30 = 60;
$amount40 = 40;
$amount50 = 50;
$amount100 = 150;

#Set the length [Same in Paypal.php]
$length5 = 1;
$length10 = 1;
$length20= 2;
$length30 = 6;
$length40= 4;
$length50= 5;
$length100= 10;

#Set the Currency Type
$currencytype = 'Euro'; #For Fonts
$currencytype2 = '&euro;'; #For Sign
$currencytype3 = 'EUR'; #Main Currency for Donations

#Set the Class for Donations
$class5 = 'VIP';
$class10 = 'VIP';
$class20 = 'VIP';
$class30 = 'VIP';
$class40 = 'VIP';
$class50 = 'PLATINIUM';
$class100 = 'PLATINIUM';

#Donate Email
$DONATEMAIL = 'Email-here'; #Your Paypal email address here. Same in paypal.php

#End
?>

<table class=main width=750 border=0 cellspacing=0 cellpadding=0><tr><td class=embedded>
<h2><center>Thank You for visiting Donations page <font color=red><?=$CURUSER['username']?></font></center></h2>
<table width=737 class=main border=0 cellspacing=0 cellpadding=0><tr><td class='embedded'><h2><center><? echo date('F');?> Special Offers</center></h2></td></tr>
<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td>
<div align='center'>
<table border='0' width='100%' cellpadding='10'>
<tr>

<? #First Box

#Start?>
<td>
<center>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>5</font>

Donate 5 <?=$currencytype?> and  receive:[*]<?=$amount5?>GB Upload Credits[*]<?=$length5?> Week <?=$class5?>.[*]Custom Title.[*]No Ads.[*]Donor Star.



<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='Server Funds (<?=$nick;?>)'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='amount' value='5'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<?/*<input name='submit' type='image' style='margin-top: 5px' src='/pic/donate2.gif' alt='Donate $5' align='bottom' border='0'>*/?>
<center><input type='submit' value='Donate'></center>
</form>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>
<? #First Box

#End?>

<? #Second Box

#Start?>

<td>
<center>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>10</font>


Donate 10 <?=$currencytype?> and  receive:[*]<?=$amount10?>GB Upload Credits[*]<?=$length10?> Week <?=$class10?>.[*]Custom Title.[*]No Ads.[*]Donor Star.



<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='10.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>
<?/*<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $10'>*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td

<? #Second Box

#End?>

<? #Third Box

#Start?>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>20</font>

Donate 20 <?=$currencytype?> and  receive:[*]<?=$amount20?>GB Upload Credits[*]<?=$length20?> Weeks <?=$class20?>.[*]Custom Title.[*]No Ads.[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='20.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>






<?/*<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $20'>*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>

<? #Third Box

#Finish?>

<? #Fourth Box

#Start?>
<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>30</font>

Donate 30 <?=$currencytype?> and  receive:[*]<?=$amount30?>GB Upload Credits[*]Custom Title.[*]<?=$length30?> Weeks <?=$class30?>.[*]No Ads.[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='30.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>






<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $30'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>
<tr>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>40</font>

Donate 40 <?=$currencytype?> and  receive:[*]<?=$amount40?>GB Upload Credits[*]<?=$length40?> Week <?=$class40?>[*]Custom Title.[*]No Ads .[*]4 Invites.[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='40.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>




<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $40'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>50</font>

Donate 50 <?=$currencytype?> and  receive:[*]<?=$amount50?>GB Upload Credits[*]<?=$length50?> Week <?=$class50?>[*]All Torrents Free[*]Custom Title.[*]No Ads .[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='50.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>




<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $50'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>


<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>100</font>

Donate 100 <?=$currencytype?> and  receive:[*]<?=$amount100?>GB Upload Credits[*]<?=$length100?> Week <?=$class100?>[*]All Torrents Free[*]Custom Title.[*]No Ads .[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='100.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>




<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $100'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Default for All Donations</font>

When you Donate you get[*]Custom Title.[*]No Ads .[*]Donor Star.[*]Invites.[*]Access to <?=$SITENAME?>
 VIP Forum.[*]No wait time restrictions,
 regardless your ratio.[*]Immunity to the auto-ban
 because of low ratio.
</td></tr></tbody></table>
</td>

</tr>
</td></tr></table>
</td>
</tr>
</table>




      <table width='800' border='1' cellspacing='1' cellpadding='10' class='coltable'>
       <tr>
        <td align='left' width=800 class='rowhead'>IMPORTANT NOTES:</td>
      </tr>
      <tr>
        <td align='left' class='rowhead'>
         <table width='100%' border='1' cellspacing='1' cellpadding='10' class='coltable'>
          <tr>
           <td class='rowhead2' align='left'>[*]Donations DO NOT exempt you from the rules or from being banned.[*]Donations will increase your ratio, but normal ratio rules will still apply.
          <?#[*]All donations will be processed with Paypal IPN, this means that right after you will complete the donation process, it will instantly credit your account.
          #[*]<font color=white>If you have any problems with your donation or you have not recieved proper credit, send <a href=sendmessage.php?receiver=1> D3SI </a> a PM.</font>?>
          

          <font color=red>All donations will be processed with Paypal IPN, this means that right after you will complete the donation process, it will instantly credit your account.</font>
         </td>
        </tr>
         </table>
        </td>
       </tr>
      </table>
      </table>
<?#Everything End ?>

<?
stdfoot();
?>
Note: Remember to change
Code:
http://www.yoursite.com/paypal.php
to your site's link and
Code:
$DONATEMAIL
can be setup in bittorrent.php

like this:
Code:
////////Site donation email
$DONATEMAIL = "youremailadress.com";

paypal.php:
Code:
<?php
require "include/bittorrent.php";
dbconn();
#Working and Tested by D3SI
$donb=0;
// read the post from PayPal system and add 'cmd'
$req = 'cmd=_notify-validate';
foreach ($_POST as $key => $value)
{
$value = urlencode(stripslashes($value));
$req .= "&$key=$value";
}
// post back to PayPal system to validate
$header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
$fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30);
// assign posted variables to local variables
$item_name = $_POST['item_name'];
$item_number = $_POST['item_number'];
$payment_status = $_POST['payment_status'];
$payment_amount = $_POST['mc_gross'];
$payment_currency = $_POST['mc_currency'];
$txn_id = $_POST['txn_id'];
$receiver_email = $_POST['receiver_email'];
$payer_email = $_POST['payer_email'];
$clid = $_POST['custom'];
$payment_type = $_POST['payment_type'];


// block pending echecks. paypal posts payments again when echecks clear, blocks double credits.
if ($payment_type == "echeck" && $payment_status == "Pending") die;

if (!$fp)
{}
else
{
fputs ($fp, $header . $req);
while (!feof($fp))
{
$res = fgets ($fp, 1024);
if (strcmp ($res, "VERIFIED") == 0)
{
// process payment
if ($receiver_email == "email_here") #Your Paypal Emial here
{
settype($payment_amount, "float");
settype($payment_amount, "string");

$donated_time = get_date_time();

///Sort Upload and Donor time amounts
if ($payment_amount == 5)
{$days = 1*1;}
elseif ($payment_amount == 10)
{$days = 1*1;}
elseif ($payment_amount == 20)
{$days = 1*2;}
elseif ($payment_amount == 30)
{$days = 1*3;}
elseif ($payment_amount == 40)
{$days = 1*4;}
elseif ($payment_amount == 50)
{$days = 1*5;}
elseif ($payment_amount == 100)
{$days = 1*10;}
else {$days = 1*1;}

//set donor upload upgrade
if ($payment_amount == 5)
{$donb = 21474836480; }
#{$donb = 5368709120; }
elseif ($payment_amount == 10)
{$donb = 53687091200; }
#{$donb = 10737418240; }
elseif ($payment_amount == 20)
{$donb = 150323855360; }
#{$donb = 21474836480; }
elseif ($payment_amount == 30)
{$donb = 42949672960; }
elseif ($payment_amount == 40)
{$donb = 64424509440; }
elseif ($payment_amount == 50)
{$donb = 75161927680; }
elseif ($payment_amount == 100)
{$donb = 128849018880; }
else {
$donb = 1073741824*$payment_amount;}

//Set User Invites
if ($payment_amount == 5)
{$invites = 1; }
elseif ($payment_amount == 10)
{$invites = 1; }
elseif ($payment_amount == 20)
{$invites = 1; }
elseif ($payment_amount == 30)
{$invites = 1; }
elseif ($payment_amount == 40)
{$invites = 4; }
elseif ($payment_amount == 50)
{$invites = 4; }
elseif ($payment_amount == 100)
{$invites = 4; }
else {
$invites = 0;}

//get user information from DB
$query = "SELECT * FROM users WHERE id='".$clid."'";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$username = $row['username'];
$old=date($row['donoruntil']);
$class = $row['class'];
$dona = $row['uploaded'];

//Set class to VIP if lower then VIP
if ($payment_amount == 5 || $payment_amount == 10 || $payment_amount == 20 || $payment_amount == 30 || $payment_amount == 40 || $payment_amount == 50 ) {
if ($class <= 30)
{$class = 30;}}

$r = @mysql_query("SELECT * FROM users WHERE id=$clid") or sqlerr();
$user = mysql_fetch_array($r) or bark("No user with ID.");
//Reset download upload post and reset to zero H&R's
$query = "UPDATE users SET donor='yes', class=$class, warned ='no', invites=$invites WHERE id='".$clid."'";
$result = mysql_query("$query");

//Get Donor time if already some left from before
If ($old<>"0000-00-00 00:00:00")
{
$old1=strtotime($old)- gmtime();
$donateuntil = get_date_time((gmtime()   $days * 604800)  $old1);
}
else
{$donateuntil = get_date_time(gmtime()   $days * 604800);}
//add Upload bonus for amount given at 1Gb per
__________________
I install Site Source for $
Reply With Quote
The Following 5 Users Say Thank You to D3SI For This Useful Post:
BlackGhosT (14th April 2010), Cody (16th November 2009), d6bmg (14th November 2010), Necro (31st May 2010), Tibys08 (29th May 2011)
  #2  
Old 28th June 2008, 00:47
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 971
Default Re: New Donations Page with Auto Paypal Mod
awesome, thank you !

Reply With Quote
  #3  
Old 28th June 2008, 03:44
koolfire's Avatar
koolfire koolfire is offline
Senior Member
 
Join Date: Jun 2008
Posts: 27
Default Re: New Donations Page with Auto Paypal Mod
man atleast tell wht is this for?!!!! TS OR TBDEV OR WHAT?!
Reply With Quote
  #4  
Old 28th June 2008, 07:15
Kotafi's Avatar
Kotafi Kotafi is offline
Senior Member
 
Join Date: Jan 2008
Posts: 139
Default Re: New Donations Page with Auto Paypal Mod
Quote:
Originally Posted by koolfire
man atleast tell wht is this for?!!!! TS OR TBDEV OR WHAT?!
TBDEV and there are few others based on that :D:
Reply With Quote
  #5  
Old 30th June 2008, 19:00
D3SI's Avatar
D3SI D3SI is offline
Senior Member
 
Join Date: May 2008
Posts: 58
Default Re: [TBDEV]Donations Page with Auto Paypal Mod
A small update:

instead of changing every line when you do special offers with more gigs and more weeks VIP i added a small bit at the top to change it easily

for example you make new offer on 5 USD and need to change the amount from 5 to 10GB
Code:
[*]5GB Upload Credits
New
Code:
[*]10GB Upload Credits
etc etc

same for class and Length.


Code:
<?
$amount5 = 5; # For 5

#Set the length [Same in Paypal.php]
$length5 = 1;

#Set the Currency Type
$currencytype = 'Euro'; #For Fonts

#Set the Class for Donations
$class5 = 'VIP';

#Donate Email
$DONATEMAIL = 'Email-here'; #Your Paypal email address here. Same in paypal.php
?>
Whole new code for Donate page

donate.php
Code:
<?php
require 'include/bittorrent.php';
dbconn();
loggedinorreturn();
$nick = ($CURUSER ? $CURUSER['username'] : ('Guest' . rand(1000, 9999)));
stdhead('Donate');
#Last Update: 29-06-2008

#Easy Configuration 
#Added by D3SI
#Start
#Set Donations Amount here [ use same in Paypal.php]
$amount5 = 5; # For 5
$amount10 = 10;# For 10 Etc....
$amount20 = 20;
$amount30 = 60;
$amount40 = 40;
$amount50 = 50;
$amount100 = 150;

#Set the length [Same in Paypal.php]
$length5 = 1;
$length10 = 1;
$length20= 2;
$length30 = 6;
$length40= 4;
$length50= 5;
$length100= 10;

#Set the Currency Type
$currencytype = 'Euro'; #For Fonts
$currencytype2 = '&euro;'; #For Sign
$currencytype3 = 'EUR'; #Main Currency for Donations

#Set the Class for Donations
$class5 = 'VIP';
$class10 = 'VIP';
$class20 = 'VIP';
$class30 = 'VIP';
$class40 = 'VIP';
$class50 = 'PLATINIUM';
$class100 = 'PLATINIUM';

#Donate Email
$DONATEMAIL = 'Email-here'; #Your Paypal email address here. Same in paypal.php

#End
?>

<table class=main width=750 border=0 cellspacing=0 cellpadding=0><tr><td class=embedded>
<h2><center>Thank You for visiting Donations page <font color=red><?=$CURUSER['username']?></font></center></h2>
<table width=737 class=main border=0 cellspacing=0 cellpadding=0><tr><td class='embedded'><h2><center><? echo date('F');?> Special Offers</center></h2></td></tr>
<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td>
<div align='center'>
<table border='0' width='100%' cellpadding='10'>
<tr>

<? #First Box

#Start?>
<td>
<center>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>5</font>

Donate 5 <?=$currencytype?> and  receive:[*]<?=$amount5?>GB Upload Credits[*]<?=$length5?> Week <?=$class5?>.[*]Custom Title.[*]No Ads.[*]Donor Star.



<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='Server Funds (<?=$nick;?>)'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='amount' value='5'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<?/*<input name='submit' type='image' style='margin-top: 5px' src='/pic/donate2.gif' alt='Donate $5' align='bottom' border='0'>*/?>
<center><input type='submit' value='Donate'></center>
</form>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>
<? #First Box

#End?>

<? #Second Box

#Start?>

<td>
<center>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>10</font>


Donate 10 <?=$currencytype?> and  receive:[*]<?=$amount10?>GB Upload Credits[*]<?=$length10?> Week <?=$class10?>.[*]Custom Title.[*]No Ads.[*]Donor Star.



<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='10.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>
<?/*<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $10'>*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td

<? #Second Box

#End?>

<? #Third Box

#Start?>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>20</font>

Donate 20 <?=$currencytype?> and  receive:[*]<?=$amount20?>GB Upload Credits[*]<?=$length20?> Weeks <?=$class20?>.[*]Custom Title.[*]No Ads.[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='20.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>






<?/*<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $20'>*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>

<? #Third Box

#Finish?>

<? #Fourth Box

#Start?>
<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>30</font>

Donate 30 <?=$currencytype?> and  receive:[*]<?=$amount30?>GB Upload Credits[*]Custom Title.[*]<?=$length30?> Weeks <?=$class30?>.[*]No Ads.[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='30.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>






<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $30'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>
<tr>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>40</font>

Donate 40 <?=$currencytype?> and  receive:[*]<?=$amount40?>GB Upload Credits[*]<?=$length40?> Week <?=$class40?>[*]Custom Title.[*]No Ads .[*]4 Invites.[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='40.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>




<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $40'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>50</font>

Donate 50 <?=$currencytype?> and  receive:[*]<?=$amount50?>GB Upload Credits[*]<?=$length50?> Week <?=$class50?>[*]All Torrents Free[*]Custom Title.[*]No Ads .[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='50.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>




<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $50'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>


<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Donate <?=$currencytype2?>100</font>

Donate 100 <?=$currencytype?> and  receive:[*]<?=$amount100?>GB Upload Credits[*]<?=$length100?> Week <?=$class100?>[*]All Torrents Free[*]Custom Title.[*]No Ads .[*]Donor Star.
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='amount' value='100.00'>
<input type='hidden' name='business' value='<?=$DONATEMAIL;?>'>
<input type='hidden' name='item_name' value='(<?=$nick;?>)'>
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='<?=$currencytype3;?>'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='custom' value='<? echo $CURUSER['id'] ?>'>
<input type='hidden' name='notify_url' value='http://www.yourtracker.org/paypal.php'>
<div align=bottom>




<?/*
<input type='image' src='http://www.yourtracker.org/pic/donate2.gif' border='0' name='submit' alt='Donate $100'>
*/?>
<center><input type='submit' value='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>

<td>
<table class='main' border='1' cellpadding='10' cellspacing='0' height='229' width='100%'><tbody><tr><td class='text'>
<font color='red'>Default for All Donations</font>

When you Donate you get[*]Custom Title.[*]No Ads .[*]Donor Star.[*]Invites.[*]Access to <?=$SITENAME?>
 VIP Forum.[*]No wait time restrictions,
 regardless your ratio.[*]Immunity to the auto-ban
 because of low ratio.
</td></tr></tbody></table>
</td>

</tr>
</td></tr></table>
</td>
</tr>
</table>




      <table width='800' border='1' cellspacing='1' cellpadding='10' class='coltable'>
       <tr>
        <td align='left' width=800 class='rowhead'>IMPORTANT NOTES:</td>
	   </tr>
	   <tr>
        <td align='left' class='rowhead'>
         <table width='100%' border='1' cellspacing='1' cellpadding='10' class='coltable'>
          <tr>
           <td class='rowhead2' align='left'>[*]Donations DO NOT exempt you from the rules or from being banned.[*]Donations will increase your ratio, but normal ratio rules will still apply.
          <?#[*]All donations will be processed with Paypal IPN, this means that right after you will complete the donation process, it will instantly credit your account.
          #[*]<font color=white>If you have any problems with your donation or you have not recieved proper credit, send <a href=sendmessage.php?receiver=1> D3SI </a> a PM.</font>?>
          

          <font color=red>All donations will be processed with Paypal IPN, this means that right after you will complete the donation process, it will instantly credit your account.</font>
		   </td>
		  </tr>
         </table>
        </td>
       </tr> 
      </table>
      </table>
<?#Everything End ?>

<?
stdfoot();
?>
No changes needed in paypal.php just update this. :)

First Post Updated
__________________
I install Site Source for $
Reply With Quote
The Following User Says Thank You to D3SI For This Useful Post:
d6bmg (14th November 2010)
  #6  
Old 28th August 2008, 01:30
NatashaRhea's Avatar
NatashaRhea NatashaRhea is offline
Senior Member
 
Join Date: Aug 2008
Posts: 48
Default
works great thanks
Reply With Quote
  #7  
Old 9th September 2008, 01:47
Dymo's Avatar
Dymo Dymo is offline
Member
 
Join Date: Sep 2008
Posts: 2
Default
thx mate


But can you fix it soo it lock like the picture ?
Reply With Quote
  #8  
Old 3rd January 2009, 16:54
Tony's Avatar
Tony Tony is offline
Senior Member
 
Join Date: Mar 2008
P2P
Posts: 182
Default
are you sure the paypal.php code above is the full code since just looking at the end bit it doesnt seem like its finished code at the end ???

//add Upload bonus for amount given at 1Gb per

wheres the code for the bonus updating ?

Last edited by Tony; 3rd January 2009 at 16:56.
Reply With Quote
  #9  
Old 20th June 2009, 16:39
DarkK1d's Avatar
DarkK1d DarkK1d is offline
Senior Member
 
Join Date: Apr 2009
P2P
Posts: 20
Default
Cool mod, works :-).
Reply With Quote
  #10  
Old 1st July 2009, 20:19
dudu_dudu's Avatar
dudu_dudu dudu_dudu is offline
Member
 
Join Date: Jan 2009
P2P
Posts: 1
Default
verry nice thx
Reply With Quote
Reply

Tags
auto , donations , mod , page , paypal

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Donations lovebeer Template Shares 8 8th October 2011 20:38
Donations needed !!! mrdecoder Template Shares 44 2nd March 2011 11:24
Reseting donations Syn Template Shares 0 3rd June 2009 13:26
TS 5.1 Paypal set up...the return url?? DJHicks Template Shares 4 1st February 2009 22:13
[REQ]Auto Paypal submission D3SI Template Shares 0 28th May 2008 12:57



All times are GMT +2. The time now is 13:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.