hajime/public/yuuno_donate.php

89 lines
7.8 KiB
PHP
Raw Permalink Normal View History

2023-08-11 22:16:32 +00:00
<?php
$whyTenshi = array(
1 => array('Maintained by one person!', 'The site, server and it\'s code are all maintained and paid for by one guy in the Netherlands.'),
2 => array('No ads!', 'Unlike a good chunk of the internet we don\'t make money by shoving ads in your face.'),
3 => array('Helping us survive!', 'It helps us with getting new hardware to make your Flashii Experience&trade; better and paying the bills to stay alive.'),
4 => array('Extra features!', 'You get some extra things to play with if you donate more than $5!')
);
$retTenshi = array(
1 => array('A special colour', 'Your username will be <span style="font-weight:bold;color:#EE9400;">orange</span> so you can be recognised in chat and elsewhere on the site!'),
2 => array('Early access', 'You get early access to new features before regular users and access the developement domain.'),
3 => array('Username', 'You get the ability to change your username once a month.'),
4 => array('User title', 'You get the ability to change your user title whenever you wish to.'),
5 => array('Chat logs', 'You can read the <a class="default" href="#" target="_blank">chat logs</a> where all the messages since the original launch are saved.<br />Temporarily unavailable due to permissioning issues.'),
6 => array('Private channel', 'You get your own Private Channel in the Chat.'),
7 => array('Profile background', 'You get the ability to set a custom background on your profile.'),
8 => array('A good feeling', 'You get the good feeling of helping me keep Flashii alive and growing (and of course the fact that you get all your special stuff that you can brag about to regular users).'),
);
print desHeader($flashii->loggedIn() ? 'Donate to Flashii' : 'Login to view');
if($flashii->loggedIn()) {
?>
<div class="content donate">
<div class="head">Donate to Flashii (Get Tenshi)</div>
<div class="sectionHeader">What is Tenshi?</div>
<p>
Tenshi is Flashii's Premium user group.<br />
The reason why we have one is because the site is pretty much non-profit but things like hardware aren't free and since I don't really like asking for money without giving something back I came up with the idea to make one of these.<br />
Below you can find things you get as a Tenshi, I may add more cool stuff as time goes on (you may also suggest certain things if you'd like to).<br />
If you've sent money to me using another method than this page contact me about this and I'll look into making you able to "redeem" your Tenshi. Paypal sends me an e-mail whenever someone donates so I'll add you to the group whenever I'm able to.
</p>
<div class="sectionHeader">Why should I get Tenshi?<div style="float: right; font-size: 10px; text-align: right;">Click a box to expand its contents.</div></div>
<div class="featureParent">
<?php
foreach($whyTenshi as $id => $array) {
print '<div class="featureBox" id="fbw';
print $id;
print '" onclick="donatePage(this.id);">';
print '<div class="featureBoxHeader">';
print $array[0];
print '</div>';
print '<div class="featureBoxDesc">';
print $array[1];
print '</div>';
print '</div>';
}
?>
</div>
<div class="sectionHeader">What do I get in return?<div style="float: right; font-size: 10px; text-align: right;">Click a box to expand its contents.</div></div>
<div class="featureParent">
<?php
foreach($retTenshi as $id => $array) {
print '<div class="featureBox" id="fbr';
print $id;
print '" onclick="donatePage(this.id);">';
print '<div class="featureBoxHeader">';
print $array[0];
print '</div>';
print '<div class="featureBoxDesc">';
print $array[1];
print '</div>';
print '</div>';
}
?>
</div>
<div class="sectionHeader">Payment Options</div>
<span style="font-size: 8pt;">We don't (and probably will never) accept cryptocurrencies at the moment, sorry. Right now the only option is PayPal but we'll try to add more options in the future.</span>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" class="paypal-donate-form">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBm5EzqnU7RR0mOKVJuqnC0K4dE8T60AwKukd7vpB90F82FsiLx0eUxfaaKb2cWNSwxJelFFWir7XER7KQv2W4nNXK2o9uG851JzIAmoH/mg9TNKe5FAfGOOmw5mxTGIKWFFwjf4SO0lYojfszi63HfUqWe6I4KDC/4wsyKdonFQjELMAkGBSsOAwIaBQAwgdQGCSqGSIb3D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zAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MDYwOTA5Mzc0NVowIwYJKoZIhvcNAQkEMRYEFIWyN+ucs3zVasPJB4BMeytk8sBEMA0GCSqGSIb3DQEBAQUABIGAeKZgq6m22LZ+516NUYp4FnGPuA88+qJHjwZmt3TV2R6Jg4/H8R4dQ3958pcxDOpVjeg6o/vn+PhYbik6wBC6n1q9+oOsx9MNhmJPWBFeA2tiJ3aSFQ/QkfrI7fB6de54ywl58sAqC+opGA/ld3zUMzUJJ7nGopSeqX1dawpj2sc=-----END PKCS7-----" />
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal The safer, easier way to pay online." style="border: 0;" />
<img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" style="border: 0; width: 1px; height: 1px;" />
</form>
</div>
<script type="text/javascript">window.onload = function() {donatePage();}</script>
<?php
} else {
?>
<div class="content standalone" style="padding: 20px;">
<h1>Login to view this page!</h1>
If you actually are logged in something went wrong and you should report this to <a href="/u/2" target="_blank" class="default">Flashwave</a>.<br />
If you aren't logged in please log in or create an account if you don't have one.
</div>
<?php
}
print desFooter();