Location: PHPKode > projects > H-tracker > donate.php
<?
//
//  H-Tracker v0.2
//    http://h-tracker.org
//    Based on TorrentTrader (http://www.torrenttrader.org)
//
//
require 'backend/functions.php';
dbconn();
loggedinonly();
$nick = ($CURUSER ? $CURUSER['username'] : ('Guest' . rand(1000, 9999)));
stdhead('Donate');
begin_frame('Donate');
$amount5 = 5; # For 5
$amount10 = 10;# For 10 Etc....
$amount20 = 20;
$amount30 = 30;
$amount40 = 40;
$amount50 = 50;
$amount100 = 150;

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

#Set the Currency Type
$currencytype = $site_config['CURRENCYTYPE'];
$currencytype2 = $site_config['CURRENCYTYPE2'];
$currencytype3 = $site_config['CURRENCYTYPE3'];

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

#Donate Email
$DONATEMAIL = $site_config['PAYPALEMAIL']; #Your Paypal email address here. Same in paypal.php
$siteurl = $site_config['SITEURL'];
?>

<table class=table_head width='98%' border=0 cellspacing=0 cellpadding=0><tr><td class=ttable_head>
<center>Thank You for visiting Donations page <font color=red><?=$CURUSER['username']?>
</font></center>
<table width=100% class=ttable_head border=0 cellspacing=0 cellpadding=0>
<tr><td class='ttable_col1'><center><? echo date('F');?> Special Offers</center>
</td></tr>
<table class= ttable_col1  width=100% cellspacing=0 cellpadding='5'><tr><td>
<div align='center'>
<table border='0' width='100%' cellpadding='5'>
<tr>
<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>5</strong></font><br />
Donate 5 <?=$currencytype?> and receive:
<li><?=$amount5?>GB Upload Credits</li>
<li><?=$length5?> Invites.</li> 
<li><?=$class5?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li><br />
<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='V.I.P Account (<?=$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='<?=$siteurl?>/paypal.php'>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center> 
</form>
</div>
</form>
</center>
</td></tr></tbody></table>
</td>

<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>10</strong></font><br />

Donate 10 <?=$currencytype?> and receive:
<li><?=$amount10?>GB Upload Credits</li>
<li><?=$length10?> Invites.</li> 
<li><?=$class10?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li><br>
<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='V.I.P Account(<?=$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='<?=$siteurl?>/paypal.php'>
<div align=bottom>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center>
</div>
</form>
</center>
</td></tr></tbody></table>
</td></tr>
<tr>

<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>20</strong></font><br />
Donate 20 <?=$currencytype?> and receive:
<li><?=$amount20?>GB Upload Credits</li>
<li><?=$length20?> Invites.</li> 
<li><?=$class20?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li>
<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='V.I.P Account(<?=$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='<?=$siteurl?>/paypal.php'>
<div align=bottom>
<br>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center>  
</div>
</form>
</center>
</td></tr></tbody></table>
</td>

<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>30</strong></font><br />
Donate 30 <?=$currencytype?> and receive:
<li><?=$amount30?>GB Upload Credits</li>
<li><?=$length30?> Invites.</li> 
<li><?=$class30?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li>
<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='V.I.P Account(<?=$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='<?=$siteurl?>/paypal.php'>
<div align=bottom>
<br>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center>  
</div>
</form>
</center>
</td></tr></tbody></table>
</td></tr>
<tr>

<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>40</strong></font><br />
Donate 40 <?=$currencytype?> and receive:
<li><?=$amount40?>GB Upload Credits</li>
<li><?=$length40?> Invites.</li> 
<li><?=$class40?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li>
<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='V.I.P Account(<?=$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='<?=$siteurl?>/paypal.php'>
<div align=bottom>
<br>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center>  
</div>
</form>
</td></tr></tbody></table>
</td>

<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>50</strong></font><br />
Donate 50 <?=$currencytype?> and receive:
<li><?=$amount50?>GB Upload Credits</li>
<li><?=$length50?> Invites.</li> 
<li><?=$class50?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li>
<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='V.I.P Account(<?=$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='<?=$siteurl?>/paypal.php'>
<div align=bottom>
<br>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td></tr>
<tr>


<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Donate <?=$currencytype2?>100</strong></font><br />
Donate 100 <?=$currencytype?> and receive:
<li><?=$amount100?>GB Upload Credits</li>
<li><?=$length100?> Invites.</li> 
<li><?=$class100?> Class.</li>
<li>Custom Title.</li>
<li>Acces to V.I.P Torrents.</li>
<li>Donor Sign.</li>
<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='V.I.P Account(<?=$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='<?=$siteurl?>/paypal.php'>
<div align=bottom>
<br>
<center><input type='image' src='images/donate2.gif' border='0' name='submit' alt='Donate'></center>
</div>
</form>
</td></tr></tbody></table>
</td>

<td>
<center>
<table class='ttable_head' cellpadding='5' cellspacing='0' height='229' width='170'>
<tbody><tr><td>
<font color='red'><strong>Default for All Donations</strong></font><br />
When you Donate you get
<li>Custom Title.</li>
<li>No Ads .</li>
<li>Donor Sign.</li>
<li>Invites.</li>
<li>Access to <?=$SITENAME?><br> VIP torrents.</li>
<li>No wait time restrictions,<br> regardless your ratio.</li>
<li>Immunity to the auto-ban<br> because of low ratio.</li>
</td></tr></tbody></table>
</td>

</tr>
</td></tr></table>
</td>
</tr>
</table>
<br>
<table width='100%'  cellspacing='1' cellpadding='5' class='ttable_col2'>
<tr>
<td align='left' width='98%' class='ttable_head'><b>IMPORTANT NOTES:</b></td>
</tr>
<tr>
<td align='left' class='table_head'>
<table width='100%'  cellspacing='1' cellpadding='5' class='ttable_col1'>
<tr>
<td class='ttable_col2' align='left'>
<li>Donations DO NOT exempt you from the rules or from being banned.</li>
<li>Donations will increase your ratio, but normal ratio rules will still apply.</li>
<li>If Age system for torrents is active & your age is under torrents request u can`t download thats torrents</li> 
<b>If you have any problems with your donation or you have not recieved proper credit, send to <a href=mailbox.php?compose&id=1> Administrator </a> a PM.</b></font></li>
<br>
<b><font color=red>All donations will be processed with Paypal IPN,
<br>
this means that right after you will complete the donation process, it will instantly credit your account.</font></li></b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</table>
<?#Everything End ?>

<?
end_frame();
stdfoot();
?>
Return current item: H-tracker