diff --git a/mojotrollz/files/content/bitcoin-donation-tab.png b/mojotrollz/files/content/bitcoin-donation-tab.png new file mode 100644 index 0000000..c742e26 Binary files /dev/null and b/mojotrollz/files/content/bitcoin-donation-tab.png differ diff --git a/mojotrollz/page/autoload.inc b/mojotrollz/page/autoload.inc index 055f428..e15f261 100644 --- a/mojotrollz/page/autoload.inc +++ b/mojotrollz/page/autoload.inc @@ -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'; \ No newline at end of file +require_once dirname(__FILE__).'/default_article/autoload.inc'; +require_once dirname(__FILE__).'/default_donate/autoload.inc'; \ No newline at end of file diff --git a/mojotrollz/page/default_donate/autoload.inc b/mojotrollz/page/default_donate/autoload.inc new file mode 100644 index 0000000..8fd92c5 --- /dev/null +++ b/mojotrollz/page/default_donate/autoload.inc @@ -0,0 +1,2 @@ +SERVERPATH(), $vars); + } + //public static function js(){ + // return array( new PPAGE('default_beta/js/default_beta.js'), + // \LIB\lib_jqbootstrapvalidation::js());} +} \ No newline at end of file diff --git a/mojotrollz/page/default_donate/tpl/donate.tpl b/mojotrollz/page/default_donate/tpl/donate.tpl new file mode 100644 index 0000000..adf1f53 --- /dev/null +++ b/mojotrollz/page/default_donate/tpl/donate.tpl @@ -0,0 +1,20 @@ +
+
+

Donate to Mojotrollz.eu

+

We accept Bitcoin-Donations for Mojotrollz.eu

+

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. +

+

Why Bitcoin

+

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! +

+
+
+ + + +
+
\ No newline at end of file diff --git a/mojotrollz/page/default_page/tpl/default_page.tpl b/mojotrollz/page/default_page/tpl/default_page.tpl index 035c7fd..36d462f 100644 --- a/mojotrollz/page/default_page/tpl/default_page.tpl +++ b/mojotrollz/page/default_page/tpl/default_page.tpl @@ -56,6 +56,7 @@ @@ -94,8 +95,9 @@ -    - +    Facebook

+    Youtube

+    Donate
${mojotrollz_impressum}

diff --git a/mojotrollz/page/page_mojotrollz.php b/mojotrollz/page/page_mojotrollz.php index be57ce3..e95b8fb 100644 --- a/mojotrollz/page/page_mojotrollz.php +++ b/mojotrollz/page/page_mojotrollz.php @@ -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();} } \ No newline at end of file diff --git a/mojotrollz/sql/mysql/system_page.sql b/mojotrollz/sql/mysql/system_page.sql index 2002626..47d6d01 100644 --- a/mojotrollz/sql/mysql/system_page.sql +++ b/mojotrollz/sql/mysql/system_page.sql @@ -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');