Browse Source

Add back donation links and buttons

Signed-off-by: falkTX <falktx@falktx.com>
pull/16/head
falkTX 5 years ago
parent
commit
ccdf8763e3
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 47 additions and 13 deletions
  1. +46
    -12
      Donations.php
  2. +1
    -1
      includes/header.php

+ 46
- 12
Donations.php View File

@@ -8,27 +8,61 @@ include_once("includes/header.php");

<p>
KXStudio is and always will be a free and open-source project to everyone.<br/>
Donations help ensure that developers have the needed enthusiasm and motivation to keep working on the project.<br/>
Just because we're open-source doesn't mean we're allergic to money. ;)
Donations help ensure that its single developer has the needed enthusiasm and motivation to keep working on the project.<br/>
You can help to keep the project alive by giving your support.<br/>
</p>

<p>
<b>The KXStudio project is no longer taking donations.</b>
Currently, KXStudio's developer (falkTX) accepts donations via LiberaPay and PayPal.<br/>
Thank you in advance for any donation you make!<br/>
</p>

<p>
In German law donations count as income and thus have to be taxed.<br/>
It came to the point where it was more expensive for the project to have them rather than not.<br/>
As such, donations have been taken down for now.<br/>
They might come back at a later time, when the (single) KXStudio developer relocates to another country.
</p>
<table>
<tr><td width="20px">

<p>
Thanks for understanding.
</p>
</td><td valign="bottom" width="80px">
<?php if (false && $db_link) { ?>
<b>Last 5 donations:</b><br/>
<?php
while ($sql_row = mysqli_fetch_assoc($sql_donations_last5)) {
echo "" . date("Y-m-d", strtotime($sql_row["dt"])) . " - " . $sql_row["amount"] . "&euro;<br/>";
}
} ?>

</td><td valign="bottom" width="150px">
<script src="https://liberapay.com/falkTX/widgets/receiving.js"></script>
<noscript>
<a class="liberapay-btn" href="https://liberapay.com/falkTX" target="_blank">
<svg viewBox="0 0 80 80" height="16" width="16">
<g transform="translate(-78.37-208.06)" fill="#1a171b">
<path d="m104.28 271.1c-3.571 0-6.373-.466-8.41-1.396-2.037-.93-3.495-2.199-4.375-3.809-.88-1.609-1.308-3.457-1.282-5.544.025-2.086.313-4.311.868-6.675l9.579-40.05 11.69-1.81-10.484 43.44c-.202.905-.314 1.735-.339 2.489-.026.754.113 1.421.415 1.999.302.579.817 1.044 1.546 1.395.729.353 1.747.579 3.055.679l-2.263 9.278"/>
<path d="m146.52 246.14c0 3.671-.604 7.03-1.811 10.07-1.207 3.043-2.879 5.669-5.01 7.881-2.138 2.213-4.702 3.935-7.693 5.167-2.992 1.231-6.248 1.848-9.767 1.848-1.71 0-3.42-.151-5.129-.453l-3.394 13.651h-11.162l12.52-52.19c2.01-.603 4.311-1.143 6.901-1.622 2.589-.477 5.393-.716 8.41-.716 2.815 0 5.242.428 7.278 1.282 2.037.855 3.708 2.024 5.02 3.507 1.307 1.484 2.274 3.219 2.904 5.205.627 1.987.942 4.11.942 6.373m-27.378 15.461c.854.202 1.91.302 3.167.302 1.961 0 3.746-.364 5.355-1.094 1.609-.728 2.979-1.747 4.111-3.055 1.131-1.307 2.01-2.877 2.64-4.714.628-1.835.943-3.858.943-6.071 0-2.161-.479-3.998-1.433-5.506-.956-1.508-2.615-2.263-4.978-2.263-1.61 0-3.118.151-4.525.453l-5.28 21.948"/>
</g>
</svg>
<span>Donate</span>
</a>
</noscript>

</td><td valign="bottom" width="150px" align="center">
<a href="https://www.patreon.com/bePatron?u=9065029" data-patreon-widget-type="become-patron-button">
Become a Patron!
</a>
<script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>

</td><td valign="bottom" width="150px" align="center">
<a href="https://www.paypal.me/falkTX" target="_blank">
<img src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png" alt="PayPal"/>
</a>
</td></tr>

</table>

<p><br/></p>

<p>
Note: There used to be a donation counter here, but it a has maintainance burden that is not really worth it.<br/>
</p>

<?php
include_once("includes/footer.php");
?>

+ 1
- 1
includes/header.php View File

@@ -48,7 +48,7 @@ if (false && $PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE !=
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" />
<link rel="icon" type="image/png" href="/images/ico_kxstudio.png" />
<link rel="shortcut icon" href="/favicon.ico" />
<?php if (false && $PAGE_TYPE == "DONATIONS") { ?>
<?php if ($PAGE_TYPE == "DONATIONS") { ?>
<style type="text/css">
html > body .liberapay-btn {
background-color: #f6c915;


Loading…
Cancel
Save