Advertisement
Guest User

donate.php

a guest
May 11th, 2012
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. <?php
  2. if (!isset($_SESSION['sess_user'])) {
  3. header("Location: ?p=youneed");
  4. exit;
  5. }
  6.  
  7. ?>
  8. <table width="400" border="0" align="center" cellpadding="3" cellspacing="1">
  9. <tr>
  10. <td><strong><b><a href="?p=rules"><font color="red">Read the rules at section 4 before you donate.</a></font></strong></td>
  11. </tr>
  12. </table>
  13. <html>
  14. <body>
  15. <br>
  16. <br>
  17. <b>Paypal</b>
  18. <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  19. <input type="hidden" name="cmd" value="_xclick">
  20. <input type="hidden" name="business" value="apelsin-donations@hotmail.com">
  21. <input type="hidden" name="lc" value="US">
  22. <input type="hidden" name="item_name" value="Support Apelsinen.com">
  23. <b>Username:</b> <input type="text" name="custom" value="<?php echo $_SESSION['sess_name']; ?>">
  24.  
  25. <select name="amount">
  26. <option value="1.00">1 EUR</option>
  27. <option value="5.00">5 EUR</option>
  28. <option value="10.00">10 EUR</option>
  29. </select>
  30. <input type="hidden" name="button_subtype" value="products">
  31. <input type="hidden" name="currency_code" value="EUR">
  32. <input type="hidden" name="no_shipping" value="1">
  33. <input type="hidden" name="currency_code" value="EUR">
  34. <input type="hidden" name="notify_url" value="http://apelsinen.com/ipn/ipn.php">
  35. <input type="hidden" name="return" value="http://apelsinen.com">
  36. <input type="hidden" name="rm" value="0">
  37. <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
  38. <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
  39. <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
  40. </form>
  41. </html>
  42. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement