mojotrollz donate page
This commit is contained in:
parent
7f710948b2
commit
795bcc8e7a
BIN
mojotrollz/files/content/bitcoin-donation-tab.png
Normal file
BIN
mojotrollz/files/content/bitcoin-donation-tab.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@ -6,4 +6,5 @@ require_once dirname(__FILE__).'/default_impressum/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_login/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_serverlist/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_beta/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_article/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_article/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_donate/autoload.inc';
|
||||
2
mojotrollz/page/default_donate/autoload.inc
Normal file
2
mojotrollz/page/default_donate/autoload.inc
Normal file
@ -0,0 +1,2 @@
|
||||
<?php
|
||||
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'');
|
||||
10
mojotrollz/page/default_donate/default_donate.php
Normal file
10
mojotrollz/page/default_donate/default_donate.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
class default_donate extends \SYSTEM\PAGE\Page {
|
||||
public function html(){
|
||||
$vars = \SYSTEM\PAGE\text::tag('mojotrollz');
|
||||
return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_donate/tpl/donate.tpl'))->SERVERPATH(), $vars);
|
||||
}
|
||||
//public static function js(){
|
||||
// return array( new PPAGE('default_beta/js/default_beta.js'),
|
||||
// \LIB\lib_jqbootstrapvalidation::js());}
|
||||
}
|
||||
20
mojotrollz/page/default_donate/tpl/donate.tpl
Normal file
20
mojotrollz/page/default_donate/tpl/donate.tpl
Normal file
@ -0,0 +1,20 @@
|
||||
<div class="row" style="padding-left: 10px; padding-right: 10px;">
|
||||
<div class="col-md-9" style="padding-bottom: 15px;">
|
||||
<h1>Donate to Mojotrollz.eu</h1>
|
||||
<p><b>We accept Bitcoin-Donations for Mojotrollz.eu</b></p>
|
||||
<p>Feel free to donate any amount you like us to receive. We will use those Donations to keep the Server Up and running.
|
||||
There is no Reward for donating yet - but you can be assured you have our deepest respect and be considered a Founder.
|
||||
If there will be Rewards for Donating in the Future you previous Donations will give you a special something so everyone
|
||||
can see how generous you are.
|
||||
</p>
|
||||
<h3>Why Bitcoin</h3>
|
||||
<p>Why Bitcoin you ask? Because its Anonymous. If we use Bitcoin there is bigger Chance to not get in Trouble even if larger
|
||||
Amounts of Payments are received. We value our and your Anonymity - therefore Bitcoin!
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-3" style="padding-left: 40px; padding-top: 120px;">
|
||||
<a href="bitcoin:1DZmhdbP4YQvwYBTNDNEBnDFn1gYrHb3uT&amount=0.025&message=Mojodonate">
|
||||
<img src="./api.php?call=files&cat=content&id=bitcoin-donation-tab.png"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -56,6 +56,7 @@
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="ontop"><a href="${link_facebook}" target="_blank"><i class="fa fa-facebook fa-lg"></i></a></li>
|
||||
<li class="ontop"><a href="${link_youtube}" target="_blank"><i class="fa fa-youtube fa-lg"></i></a></li>
|
||||
<li class="ontop"><a href="#!donate"><i class="fa fa-usd fa-lg"></i></a></li>
|
||||
<li class="ontop"><a href="#!login"><i class="glyphicon glyphicon-user"></i></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -94,8 +95,9 @@
|
||||
<!--<a href="#!login(register)">REGISTER</a><br><br>
|
||||
<a href="#!guild">GUILD PAGES</a><br><br>
|
||||
<a href="#!gshirt">GUILD SHIRTS</a><br><br>-->
|
||||
<a href="${link_facebook}" target="_blank"><i class="fa fa-facebook fa-lg"></i></a>
|
||||
<a href="${link_youtube}" target="_blank"><i class="fa fa-youtube fa-lg"></i></a>
|
||||
<a href="${link_facebook}" target="_blank"><i class="fa fa-facebook fa-lg"></i> Facebook</a><br><br>
|
||||
<a href="${link_youtube}" target="_blank"><i class="fa fa-youtube fa-lg"></i> Youtube</a><br><br>
|
||||
<a href="#!donate"><i class="fa fa-usd fa-lg"></i> Donate</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="#!impressum">${mojotrollz_impressum}</a><br><br>
|
||||
|
||||
@ -27,4 +27,7 @@ class page_mojotrollz extends \SYSTEM\API\api_default {
|
||||
|
||||
public static function page_article($id){
|
||||
return (new default_article($id))->html();}
|
||||
|
||||
public static function page_donate(){
|
||||
return (new default_donate())->html();}
|
||||
}
|
||||
@ -8,3 +8,5 @@ REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`
|
||||
REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`, `type`, `div`, `url`, `func`, `php_class`) VALUES (25, 1, 'beta', 'beta', -1, 0, 0, '#content', './?page=beta&key=${key}', 'init_beta', 'default_beta');
|
||||
|
||||
REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`, `type`, `div`, `url`, `func`, `php_class`) VALUES (30, 1, 'article', 'article', -1, 0, 0, '#content', './?page=article&id=${article}', 'init_article', 'default_article');
|
||||
|
||||
REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`, `type`, `div`, `url`, `func`, `php_class`) VALUES (35, 1, 'donate', 'donate', -1, 0, 0, '#content', './?page=donate', 'init_donate', 'default_donate');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user