first attempt at a donation page

This commit is contained in:
creme 2023-05-02 22:00:28 +02:00
parent 98da46b04e
commit 26d302c629
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 81 additions and 20 deletions

77
donate.php Normal file
View File

@ -0,0 +1,77 @@
<?php
$title = "envs.net | donate";
$desc = "envs.net | donate";
include 'header.php';
?>
<body id="body" class="dark-mode">
<div>
<div class="button_back">
<pre class="clean"><strong><a href="/">&lt; back</a></strong></pre>
</div>
<div id="main">
<div class="block">
<h1><em>donate to envs</em></h1>
<h2><em>and help your admin and the project</em></h2>
<p></p>
</div>
<pre>
with your kind donation, you make the monthly expenses for the envs.net
infrastructure possible. additionally, you secure needed hardware-upgrades of
the future. thank you so much for that!
</pre>
<br />
<table>
<tr><th class="tw25"></th> <th></th></tr>
<tr>
<td><i class="fa fa-liberapay" aria-hidden="true"></i></td>
<td><a href="https://en.liberapay.com/envs.net" target="_blank">liberapay</a></td>
</tr>
<tr>
<td><i class="fa fa-patreon" aria-hidden="true"></i></td>
<td><a href="https://www.patreon.com/envs" target="_blank">patreon</a></td>
</tr>
<tr>
<td><i class="fa fa-paypal" aria-hidden="true"></i></td>
<td><a href="https://paypal.me/envsk" target="_blank">paypal</a></td>
</tr>
</table>
<br />
<pre><h2># crypto</h2></pre>
<p></p>
<table>
<tr><th class="tw110"></th> <th></th></tr>
<tr><td>BTC:</td> <td><code>bc1qxtljvxjjcrqt3kn8kl3pnwazny7k34kjxsyy7s</code></td></tr>
<tr><td>ETH:</td> <td><code>0xF481f6a7d9b22B3BE5d40A54C833A1C6eEdcdf69</code></td></tr>
</table>
<br />
<pre><h2># old but gold - Bank2Bank</h2></pre>
<p></p>
<table>
<tr><th class="tw110"></th> <th></th></tr>
<tr><td>Recipient:</td> <td>Sven Kinne</td></tr>
<tr><td>IBAN:</td> <td>DE59 8505 0300 1225 5661 06</td></tr>
<tr><td>BIC:</td> <td>OSDDDE81XXX</td></tr>
<tr><td>Bank:</td> <td>Ostsächsische Sparkasse Dresden</td></tr>
</table>
<br />
<pre><strong>thank you for supporting envs.net!</strong></pre>
</div>
<?php include 'footer.php'; ?>

View File

@ -98,7 +98,7 @@ be found on the <a href="/sysinfo/">sysinfo page</a>.</em>
<tr><th class="tw25"></th> <th></th></tr>
<?php
$menu = [
'chat' => ['fa' => 'comments-o', 'url' => '/chat'],
'chat' => ['fa' => 'comments-o', 'url' => '/chat/'],
'webmail' => ['fa' => 'envelope-o', 'url' => 'https://mail.envs.net/'],
'mailing list' => ['fa' => 'bullhorn', 'url' => 'https://lists.envs.net/'],
'forum' => ['fa' => 'forumbee', 'url' => 'https://bbj.envs.net/'],
@ -109,11 +109,13 @@ $menu = [
'terms of service' => ['fa' => 'handshake-o', 'url' => '/tos/'],
'privacy policy' => ['fa' => 'eye', 'url' => '/privacy-policy/'],
'help' => ['fa' => 'book', 'url' => 'https://help.envs.net/'],
'faq' => ['fa' => 'question-circle-o', 'url' => 'https://help.envs.net/faq/']
'faq' => ['fa' => 'question-circle-o', 'url' => 'https://help.envs.net/faq/'],
'donate' => ['fa' => 'rocket', 'url' => '/donate/']
];
foreach ($menu as $name => $m_entry) {
if ($name == 'code of conduct') echo "\t<tr><td>&nbsp;</td><td></td></tr>\n"; ?>
if ($name == 'faq') echo "\t<tr><td>&nbsp;</td><td></td></tr>\n"; ?>
<tr onclick="window.location='<?=$m_entry['url']?>';">
<td><i class="fa fa-<?=$m_entry['fa']?> fa-fw" aria-hidden="true"></i></td>
<td><strong><a rel="<?=$name?>" target="_top" href="<?=$m_entry['url']?>"><?=$name?></a></strong></td>
@ -124,24 +126,6 @@ foreach ($menu as $name => $m_entry) {
<p></p>
<div class="block">
<pre>
<em>solidarity via</em>
</pre>
<table>
<tr><th class="tw25"></th> <th></th></tr>
<tr onclick="window.location='https://en.liberapay.com/envs.net';">
<td><i class="fa fa-liberapay" aria-hidden="true"></i></td>
<td><a href="https://en.liberapay.com/envs.net" target="_blank">liberapay</a></td>
</tr>
<tr onclick="window.location='https://www.patreon.com/envs';">
<td><i class="fa fa-patreon" aria-hidden="true"></i></td>
<td><a href="https://www.patreon.com/envs" target="_blank">patreon</a></td>
</tr>
</table>
<p></p>
</div>
<div class="block">
<pre>
<strong><i class="fa fa-users fa-fw" aria-hidden="true"></i> USERS</strong>