-
-
-
-
-
- ${donation_paten} VON 2.000
-
-
PATENSCHAFTEN ERREICHT!
-
-
- ${donation_value}€ von 10.000€
-
-
(min. Finanzierungsziel/Monat)
-
Stand: ${donation_date}
-

-
-
-
+ ${donate_box}
DEMOCRACY Deutschland e.V. ist ein gemeinnütziger Verein, der mit seiner
diff --git a/democracy/page/default_donate/tpl/donate_box.tpl b/democracy/page/default_donate/tpl/donate_box.tpl
new file mode 100644
index 0000000..c6fe855
--- /dev/null
+++ b/democracy/page/default_donate/tpl/donate_box.tpl
@@ -0,0 +1,75 @@
+
+
+
+
+
+ ${donation_paten} VON 2.000
+
+
PATENSCHAFTEN ERREICHT!
+
+
+ ${donation_value}€ von 10.000€
+
+
(min. Finanzierungsziel/Monat)
+
Stand: ${donation_date}
+

+
+
+
\ No newline at end of file
diff --git a/democracy/page/default_press/default_press.php b/democracy/page/default_press/default_press.php
index 6dd0d4e..e599412 100644
--- a/democracy/page/default_press/default_press.php
+++ b/democracy/page/default_press/default_press.php
@@ -85,7 +85,19 @@ class default_press implements SYSTEM\PAGE\Page {
'title' => 'DEMOCRACY LOGO'),
array( 'link' => './files/download/Logo_with_sublines_2.png',
'img' => './files/download/Logo_with_sublines_2.png',
- 'title' => 'DEMOCRACY Logo quer')
+ 'title' => 'DEMOCRACY Logo quer'),
+ array( 'link' => './files/download/Funktionen.png',
+ 'img' => './files/download/Funktionen.png',
+ 'title' => 'DEMOCRACY Funktionsgrafik'),
+ array( 'link' => './files/download/Hello.png',
+ 'img' => './files/download/Hello.png',
+ 'title' => 'DEMOCRACY Beta Schleife'),
+ array( 'link' => './files/download/PM.png',
+ 'img' => './files/download/PM.png',
+ 'title' => 'DEMOCRACY Beta Invite'),
+ array( 'link' => './files/download/offenes_Parlament.jpg',
+ 'img' => './files/download/offenes_Parlament.jpg',
+ 'title' => 'DEMOCRACY offenes Parlament'),
);
$result = '';
foreach($media as $m) {
@@ -94,7 +106,13 @@ class default_press implements SYSTEM\PAGE\Page {
return $result;
}
private static function articles(){
- $articles = array( array( 'img' => './files/medien/Stadt_Land.png',
+ $articles = array( array( 'img' => './files/medien/NuoViso_Talk.png',
+ 'link' => 'https://www.youtube.com/watch?v=1Et7S8pi8zY',
+ 'title' => 'NuoViso.tv - "Democracy" - Volksabstimmung per Handy - Marius Krüger im NuoViso Talk'),
+ array( 'img' => './files/medien/audiopreneur.png',
+ 'link' => 'https://audiopreneur.de/34-ap-democracy-deutschland-die-app-fuer-mehr-demokratie/',
+ 'title' => 'AudioPreneur Podcast - DEMOCRACY Deutschland – die App für mehr Demokratie'),
+ array( 'img' => './files/medien/Stadt_Land.png',
'link' => 'http://ng.infranken.de/epaper/EPaper/PHP-Files/showclust.php?Ref=DText%2F94mvlhvqjm5-m4ssvjtetac&PageRef=DSArchiv%2Fg3~xgnu8amvnb567ftilydq&Clip=47%2C43%2C905%2C417&titel=bs&Spezial=&Display=print',
'title' => 'In Franken - Politische Mitspache bald per App?'),
array( 'img' => './files/medien/Startalp.png',
diff --git a/democracy/sai/autoload.inc b/democracy/sai/autoload.inc
index 13a7d6c..28fdd9a 100644
--- a/democracy/sai/autoload.inc
+++ b/democracy/sai/autoload.inc
@@ -1,2 +1,3 @@
Action
- ${data}
+
+
+ | Count |
+ ${code_count} |
+ ${redeemed_count} (${stored_count}) |
+ |
+ |
+
+ ${data}
+
\ No newline at end of file
diff --git a/democracy/sai/saimod_donate/autoload.inc b/democracy/sai/saimod_donate/autoload.inc
new file mode 100644
index 0000000..b6ff6c1
--- /dev/null
+++ b/democracy/sai/saimod_donate/autoload.inc
@@ -0,0 +1,4 @@
+SERVERPATH(),$vars);}
+
+ public static function sai_mod__SAI_saimod_donate_action_update($paten,$value){
+ \SYSTEM\PAGE\text::save('donation_paten', 'donation_paten', 'deDE', ['donation'], $paten);
+ \SYSTEM\PAGE\text::save('donation_value', 'donation_value', 'deDE', ['donation'], $value);
+ \SYSTEM\PAGE\text::save('donation_date', 'donation_date', 'deDE', ['donation'], date('d.m.Y * H:i').' Uhr');
+ return \SYSTEM\LOG\JsonResult::ok();
+ }
+ public static function menu(){
+ return new \SYSTEM\SAI\sai_module_menu( 100,
+ \SYSTEM\SAI\sai_module_menu::POISITION_LEFT,
+ \SYSTEM\SAI\sai_module_menu::DIVIDER_LEFT,
+ \SYSTEM\PAGE\replace::replaceFile((new \PSAI('saimod_donate/tpl/menu.tpl'))->SERVERPATH()));}
+ public static function right_public(){return false;}
+ public static function right_right(){return \SYSTEM\SECURITY\security::check(\SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
+
+ public static function js(){
+ return array(new \PSAI('saimod_donate/js/saimod_donate.js'));}
+}
\ No newline at end of file
diff --git a/democracy/sai/saimod_donate/sql/DATA_SAIMOD_DONATE.php b/democracy/sai/saimod_donate/sql/DATA_SAIMOD_DONATE.php
new file mode 100644
index 0000000..ddbf352
--- /dev/null
+++ b/democracy/sai/saimod_donate/sql/DATA_SAIMOD_DONATE.php
@@ -0,0 +1,9 @@
+SERVERPATH(),
+ (new \PSAI('/saimod_donate/sql/mysql/system_api.sql'))->SERVERPATH());
+ }
+}
\ No newline at end of file
diff --git a/democracy/sai/saimod_donate/sql/autoload.inc b/democracy/sai/saimod_donate/sql/autoload.inc
new file mode 100644
index 0000000..3927db9
--- /dev/null
+++ b/democracy/sai/saimod_donate/sql/autoload.inc
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/democracy/sai/saimod_donate/tpl/saimod_donate.tpl b/democracy/sai/saimod_donate/tpl/saimod_donate.tpl
new file mode 100644
index 0000000..b77121f
--- /dev/null
+++ b/democracy/sai/saimod_donate/tpl/saimod_donate.tpl
@@ -0,0 +1,26 @@
+
+
+
Donate
+
+
+
+ ${donate_box}
+
+
\ No newline at end of file
diff --git a/democracy/sql/mysql/system_text.sql b/democracy/sql/mysql/system_text.sql
index 41c5098..30c81e7 100644
--- a/democracy/sql/mysql/system_text.sql
+++ b/democracy/sql/mysql/system_text.sql
@@ -175,4 +175,11 @@ INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('faq_q_07', 'faq');
INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('faq_q_08', 'faq');
INSERT IGNORE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('donate_notice', 'deDE', 'Für Spenden unter 200€ jährlich genügt der
» Vereinfachte Zuwendungsnachweis « Spendenquittung auf
» Anfrage «', '1', '1', '2017-12-28 16:42:29', '2017-12-28 16:42:29');
-INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('donate_notice', 'democracy');
\ No newline at end of file
+INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('donate_notice', 'democracy');
+
+INSERT IGNORE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('donation_paten', 'deDE', '9', '1', '1', '2017-12-28 16:42:29', '2017-12-28 16:42:29');
+INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('donation_paten', 'donation');
+INSERT IGNORE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('donation_value', 'deDE', '61', '1', '1', '2017-12-28 16:42:29', '2017-12-28 16:42:29');
+INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('donation_value', 'donation');
+INSERT IGNORE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('donation_date', 'deDE', '14.05.2018 * 18:45 Uhr', '1', '1', '2017-12-28 16:42:29', '2017-12-28 16:42:29');
+INSERT IGNORE INTO `system_text_tag` (`id`, `tag`) VALUES ('donation_date', 'donation');
\ No newline at end of file