KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Donations.php 2.4KB

11 years ago
11 years ago
11 years ago
11 years ago
9 years ago
9 years ago
11 years ago
11 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. $PAGE_TITLE = "KXStudio : Donations";
  3. $PAGE_TYPE = "DONATIONS";
  4. $PAGE_SOURCE_1 = ARRAY("/Donations");
  5. $PAGE_SOURCE_2 = ARRAY("Donations");
  6. include_once("includes/header.php");
  7. require "donate/config.php";
  8. require "donate/connect.php";
  9. ?>
  10. <p>
  11. KXStudio is and always will be a free and open-source project to everyone.<br/>
  12. Donations help ensure that developers have the needed enthusiasm and motivation to keep working on the project.<br/>
  13. Just because we're open-source doesn't mean we're allergic to money. ;)
  14. </p>
  15. <p>
  16. Currently the KXStudio project accepts donations only via PayPal.<br/>
  17. Monthly subscriptions are not an option anymore.<br/>
  18. We thank you in advance for any donation you make!<br/>
  19. </p>
  20. <p>
  21. NOTE: PayPal takes a minimum 5% fee on all donations (10&euro; becomes 9.31&euro;).<br/>
  22. You can bypass this fee by sending money directly to falktx@falktx.com as a friend.<br/>
  23. <br/>
  24. </p>
  25. <table>
  26. <tr><td width="40px">
  27. </td><td valign="bottom" width="200px">
  28. <?php if ($db_link) { ?>
  29. <b>Last 5 donations:</b><br/>
  30. <?php
  31. $sql_donations_last5 = mysqli_query($db_link, "SELECT * FROM donations ORDER BY dt DESC LIMIT 5");
  32. while ($sql_row = mysqli_fetch_assoc($sql_donations_last5)) {
  33. echo "" . date("Y-m-d", strtotime($sql_row["dt"])) . " - " . $sql_row["amount"] . "&euro;<br/>";
  34. }
  35. } ?>
  36. </td><td valign="bottom" width="150px" align="center">
  37. <strong>PayPal Single Donation</strong>
  38. <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  39. <input type="hidden" name="cmd" value="_s-xclick">
  40. <input type="hidden" name="hosted_button_id" value="A8QZW5UPVZGTW">
  41. <input type="hidden" name="currency_code" value="EUR">
  42. <input type="hidden" name="lc" value="US">
  43. <!--<input type="hidden" name="notify_url" value="https://kxstudio.linuxaudio.org/donate/ipn.php"/>-->
  44. <input type="hidden" name="return" value="https://kxstudio.linuxaudio.org/donate/thankyou.php"/>
  45. <input type="hidden" name="rm" value="2"/>
  46. <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal">
  47. <!--<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">-->
  48. </form>
  49. </td></tr>
  50. </table>
  51. <p><br/></p>
  52. <?php
  53. include_once("includes/footer.php");
  54. ?>