diff --git a/browserconfig.xml b/browserconfig.xml new file mode 100644 index 0000000..c554148 --- /dev/null +++ b/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/democracy/page/default_page/tpl/default_page.tpl b/democracy/page/default_page/tpl/default_page.tpl index fa68fb5..439286a 100644 --- a/democracy/page/default_page/tpl/default_page.tpl +++ b/democracy/page/default_page/tpl/default_page.tpl @@ -40,6 +40,7 @@ + diff --git a/democracy/sql/mysql/system_text.sql b/democracy/sql/mysql/system_text.sql index 0914253..bbe5b91 100644 --- a/democracy/sql/mysql/system_text.sql +++ b/democracy/sql/mysql/system_text.sql @@ -1,32 +1,36 @@ INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('main_startnext_status', 'deDE', 'Crowd-Funding auf Startnext Logo
456 Unterstützerinnen
22.232€ Spendensumme

11.907€ fehlen noch
Noch 9 Tage - Mach mit!', 1, 1, '2017-11-17 17:29:13', '2017-11-17 17:29:13'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_ceta_og:description', 'deDE', 'CETA ist das Freihandelsabkommen mit Kanada. Stimme darüber ab, ob der Bundestag CETA zustimmen oder ablehnen soll.', 1, 1, '2017-11-17 16:52:06', '2017-11-17 16:52:06'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_ceta_og:image', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/files/landing/ceta.jpg', 1, 1, '2017-11-17 17:09:32', '2017-11-17 17:09:32'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_ceta_og:image', 'deDE', 'https://www.democracy-deutschland.de/files/landing/ceta.jpg', 1, 1, '2017-11-17 17:09:32', '2017-11-17 17:09:32'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_ceta_og:title', 'deDE', 'App-stimmen über CETA - mit der DEMOCRACY App', 1, 1, '2017-11-17 17:03:03', '2017-11-17 17:03:03'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_ceta_og:url', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/#!ceta', 1, 1, '2017-11-17 17:08:47', '2017-11-17 17:08:47'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_ceta_og:url', 'deDE', 'https://www.democracy-deutschland.de/#!ceta', 1, 1, '2017-11-17 17:08:47', '2017-11-17 17:08:47'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_euro_og:description', 'deDE', 'Der Euro ist die verbindliche Währung der soganannten Euro-Zone innerhalb der Europäischen Union. Stimme darüber ab, ob der Bundestag aus dem Euro aussteigen oder verbleiben soll.', 1, 1, '2017-11-17 17:18:43', '2017-11-17 17:18:43'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_euro_og:image', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/files/landing/euro.jpg', 1, 1, '2017-11-17 17:18:04', '2017-11-17 17:18:04'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_euro_og:image', 'deDE', 'https://www.democracy-deutschland.de/files/landing/euro.jpg', 1, 1, '2017-11-17 17:18:04', '2017-11-17 17:18:04'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_euro_og:title', 'deDE', 'Verbleib oder Ausstieg aus dem Euro - Stimme darüber ab mit der DEMOCRACY App', 1, 1, '2017-11-17 17:18:34', '2017-11-17 17:18:34'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_euro_og:url', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/#!euro', 1, 1, '2017-11-17 17:18:22', '2017-11-17 17:18:22'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_euro_og:url', 'deDE', 'https://www.democracy-deutschland.de/#!euro', 1, 1, '2017-11-17 17:18:22', '2017-11-17 17:18:22'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_gez_og:description', 'deDE', 'Der Rundfunkbeitrag ist in der Bundesrepublik Deutschland das gegenwärtige Modell zur Finanzierung der öffentlich-rechtlichen Rundfunkanstalten. Stimme darüber ab, wie die Mittel daraus verwendet werden sollen.', 1, 1, '2017-11-17 17:19:21', '2017-11-17 17:19:21'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_gez_og:image', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/files/landing/gez.jpg', 1, 1, '2017-11-17 17:18:53', '2017-11-17 17:18:53'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_gez_og:image', 'deDE', 'https://www.democracy-deutschland.de/files/landing/gez.jpg', 1, 1, '2017-11-17 17:18:53', '2017-11-17 17:18:53'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_gez_og:title', 'deDE', 'Bei der Verwendung der GEZ Gebühr mitentscheiden - Stimme darüber ab mit der DEMOCRACY App', 1, 1, '2017-11-17 17:19:08', '2017-11-17 17:19:08'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_gez_og:url', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/#!gez', 1, 1, '2017-11-17 17:19:01', '2017-11-17 17:19:01'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_gez_og:url', 'deDE', 'https://www.democracy-deutschland.de/#!gez', 1, 1, '2017-11-17 17:19:01', '2017-11-17 17:19:01'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_staatstrojaner_og:description', 'deDE', 'Der Staatstrojaner ist einer der schwerwiegendsten Eingriffe in die Grundrechte der Bürger. Stimme darüber ab, ob der Bundestag den Staatstrojaner erlauben oder ablehnen soll.', 1, 1, '2017-11-17 17:19:56', '2017-11-17 17:19:56'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_staatstrojaner_og:image', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/files/landing/staatstrojaner.jpg', 1, 1, '2017-11-17 17:19:35', '2017-11-17 17:19:35'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_staatstrojaner_og:image', 'deDE', 'https://www.democracy-deutschland.de/files/landing/staatstrojaner.jpg', 1, 1, '2017-11-17 17:19:35', '2017-11-17 17:19:35'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_staatstrojaner_og:title', 'deDE', 'App-stimmen über den Staatstrojaner - mit der DEMOCRACY App', 1, 1, '2017-11-17 17:19:49', '2017-11-17 17:19:49'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_staatstrojaner_og:url', 'deDE', 'https://test.webcraft-media.de/democracy_deutschland/#!staatstrojaner', 1, 1, '2017-11-17 17:19:41', '2017-11-17 17:19:41'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_staatstrojaner_og:url', 'deDE', 'https://www.democracy-deutschland.de/#!staatstrojaner', 1, 1, '2017-11-17 17:19:41', '2017-11-17 17:19:41'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_author', 'deDE', 'Author', 1, 1, '2017-06-08 21:23:49', '2017-06-08 21:23:49'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_DC.Description', 'deDE', 'DEMOCRACY ist eine Initiative für mehr Basisdemokratie in Deutschland.', 1, 1, '2017-11-17 16:46:25', '2017-11-17 16:46:25'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_description', 'deDE', 'Description', 1, 1, '2017-06-08 21:24:43', '2017-06-08 21:24:43'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_keywords', 'deDE', 'Keywords', 1, 1, '2017-06-08 21:25:22', '2017-06-08 21:25:22'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_og:description', 'deDE', 'DEMOCRACY ist eine Initiative für mehr Basisdemokratie in Deutschland.', 1, 1, '2017-11-17 16:43:59', '2017-11-17 16:43:59'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_og:image', 'deDE', './files/images/forfb2.png', 1, 1, '2017-11-17 16:48:03', '2017-11-17 16:48:03'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_og:url', 'deDE', 'https://www.democracy-deutschland.de/', 1, 1, '2017-11-17 16:49:45', '2017-11-17 16:49:45'); -INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_ceta', 'deDE', 'CETA | DEMOCRACY Deutschland', 1, 1, '2017-11-17 16:59:09', '2017-11-17 16:59:09'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_og:image', 'deDE', 'https://www.democracy-deutschland.de/files/images/forfb2.png', 1, 1, '2017-11-17 18:08:25', '2017-11-17 18:08:25'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('meta_start_og:url', 'deDE', 'https://www.democracy-deutschland.de/', 1, 1, '2017-11-17 18:08:54', '2017-11-17 18:08:54'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_ceta', 'deDE', 'CETA | DEMOCRACY Deutschland', 1, 1, '2017-11-18 20:36:06', '2017-11-18 20:36:06'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_euro', 'deDE', 'EURO AUSSTIEG | DEMOCRACY Deutschland', 1, 1, '2017-11-17 17:20:06', '2017-11-17 17:20:06'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_gez', 'deDE', 'GEZ VERWENDUNG | DEMOCRACY Deutschland', 1, 1, '2017-11-17 17:20:11', '2017-11-17 17:20:11'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_help', 'deDE', 'MITMACHEN | DEMOCRACY Deutschland', 1, 1, '2017-11-18 20:35:44', '2017-11-18 20:35:44'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_medien', 'deDE', 'MEDIEN | DEMOCRACY Deutschland', 1, 1, '2017-11-18 20:36:34', '2017-11-18 20:36:34'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_prototyp', 'deDE', 'PROTOTYP | DEMOCRACY Deutschland', 1, 1, '2017-11-18 20:36:47', '2017-11-18 20:36:47'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_staatstrojaner', 'deDE', 'STAATSTROJANER | DEMOCRACY Deutschland', 1, 1, '2017-11-17 17:20:18', '2017-11-17 17:20:18'); INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_start', 'deDE', 'DEMOCRACY Deutschland', 1, 1, '2017-11-17 16:42:22', '2017-11-17 16:42:22'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('title_wir', 'deDE', 'WIR | DEMOCRACY Deutschland', 1, 1, '2017-11-18 20:37:02', '2017-11-18 20:37:02'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('main_startnext_status', 'democracy'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('meta_ceta_og:description', 'meta'); @@ -73,9 +77,12 @@ INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('meta_start_og:image', 'meta INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('meta_start_og:url', 'democracy'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('meta_start_og:url', 'meta'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_ceta', 'title'); -INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_ceta', 'title_ceta'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_euro', 'title'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_gez', 'title'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_help', 'title'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_medien', 'title'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_prototyp', 'title'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_staatstrojaner', 'title'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_start', 'democracy'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_start', 'title'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('title_wir', 'title'); \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..c126e90 --- /dev/null +++ b/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "\/images\/icons\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/images\/icons\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/images\/icons\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/images\/icons\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/images\/icons\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/images\/icons\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/sendmail.php b/sendmail.php new file mode 100644 index 0000000..36460d2 --- /dev/null +++ b/sendmail.php @@ -0,0 +1,214 @@ +isSendmail(); + $mail->CharSet = 'utf-8'; + + + //Enable SMTP debugging + // 0 = off (for production use) + // 1 = client messages + // 2 = client and server messages + $mail->SMTPDebug = 2; + + //Ask for HTML-friendly debug output + $mail->Debugoutput = 'html'; + + //Set the hostname of the mail server + $mail->Host = 'atmanspacher.eu'; + // use + // $mail->Host = gethostbyname('smtp.gmail.com'); + // if your network does not support SMTP over IPv6 + + //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission + $mail->Port = 465; + + //Set the encryption system to use - ssl (deprecated) or tls + $mail->SMTPSecure = 'tls'; + + //Whether to use SMTP authentication + $mail->SMTPAuth = true; + + //Username to use for SMTP authentication - use full email address for gmail + //$mail->Username = "peacepoint1@gmail.com"; + + //Password to use for SMTP authentication + //$mail->Password = "Fredxtz4488"; + + $mail->setFrom($_POST["femail"], 'Neue Nachricht von - '. $_POST["fvorname"] .' '. $_POST["fnachname"] .''); + + $mail->addReplyTo($_POST["femail"], 'SYSTEM DEMOCRACY - '. $_POST["fvorname"] .' '. $_POST["fnachname"] .''); + + $mail->addAddress($mailFROM, $_POST["fvorname"] .' '. $_POST["fnachname"]); + + + + $datum = date("d.m.Y"); + $uhrzeit = date("H:i"); + + + + $html ='

eine neue nachricht ist von democracy-deutschland.de gesendet worden:

'; + $html .='
'; + $html .='
'; + $html .='
'; + $html .='

abegesendet : '. $datum .' - '. $uhrzeit .'

'; + $html .='
'; + $html .=' '; + $html.=' '; + $html.=' '; + + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + + $html.=' '; + $html.=' '; + $html.=' '; + + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + $html.=' '; + + + + $html.='
vorname:

'. $_POST["fvorname"] .'

nachname:

'. $_POST["fnachname"] .'

email:'. $_POST["femail"] .'
UI-Designer:'; + + if( isset($_POST["UI-Designer"]) ) { + $html.= $_POST["UI-Designer"]; + + } else { + $html.= ' - '; + } + + $html.='
Front-End-Prog:'; + + if( isset($_POST["Front-End-Prog"]) ) { + $html.= $_POST["Front-End-Prog"]; + + } else { + $html.= ' - '; + } + + $html.='
Back-End-Prog:'; + + if( isset($_POST["Back-End-Prog"]) ) { + $html.= $_POST["Back-End-Prog"]; + + } else { + $html.= ' - '; + } + + $html.='
Kryptolog:'; + if( isset($_POST["Kryptolog"]) ) { + $html.= $_POST["Kryptolog"]; + + } else { + $html.= ' - '; + } + + $html.='
Fragenredakteur:'; + if( isset($_POST["Fragenredakteur"]) ) { + $html.= $_POST["Fragenredakteur"]; + + } else { + $html.= ' - '; + } + + $html.='
Marketingstrateg:'; + if( isset($_POST["Marketingstrateg"]) ) { + $html.= $_POST["Marketingstrateg"]; + + } else { + $html.= ' - '; + } + + $html.='
Botschafter:'; + if( isset($_POST["Botschafter"]) ) { + $html.= $_POST["Botschafter"]; + + } else { + $html.= ' - '; + } + + $html.='
sonstiges:'; + if( isset($_POST["sonstiges"]) ) { + $html.= $_POST["sonstiges"]; + + } else { + $html.= ' - '; + } + + $html.='
Text:'. $_POST["text"] .'
'; + + + // $mail->Body = $html; + + $mail->msgHTML($html); + + //$mail->addAttachment('PHPMailer-master/examples/images/phpmailer_mini.png'); + + + + //send the message, check for errors + if (!$mail->send()) { + echo "Mailer Error: " . $mail->ErrorInfo; + } else { + + //echo "Message sent ::
text :: " . $html . "
striptags:: ". strip_tags($html); + echo "Message sent"; + } +//} +?>