textchanges, missing files

This commit is contained in:
Ulf Gebhardt 2017-11-21 12:35:30 +01:00
parent c98b5de540
commit 171bdb5243
5 changed files with 277 additions and 12 deletions

2
browserconfig.xml Normal file
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>

View File

@ -40,6 +40,7 @@
<meta name="theme-color" content="#ffffff">
<meta name="fragment" content="!">
<link rel="manifest" href="/manifest.json">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">

View File

@ -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 <img src="./files/images/startnext_logo.png" alt="Startnext Logo" data-mce-src="files/images/startnext_logo.png"><br><strong>456</strong> Unterstützerinnen<br><strong>22.232€</strong> Spendensumme<br> <br><strong>11.907€</strong> fehlen noch<br> Noch <strong>9&nbsp;Tage</strong> - 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&nbsp;ist in der&nbsp;Bundesrepublik Deutschland&nbsp;das gegenwärtige Modell zur&nbsp;Finanzierung&nbsp;der&nbsp;ö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');

41
manifest.json Normal file
View File

@ -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"
}
]
}

214
sendmail.php Normal file
View File

@ -0,0 +1,214 @@
<?php
error_reporting(E_ALL);
ini_set("display_errors", true);
require( 'PHPMailer-master/PHPMailerAutoload.php');
date_default_timezone_set('Europe/Berlin');
//function sendmail($to_name, $to_mail, $subject, $txt, $typ, $from_name, $from_img) {
$mailFROM = "join@democracy-deutschland.de";
$mail = new PHPMailer;
$mail->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 ='<h3>eine neue nachricht ist von democracy-deutschland.de gesendet worden: </h3> ';
$html .='<br> ';
$html .='<hr> ';
$html .='<br> ';
$html .='<p>abegesendet : '. $datum .' - '. $uhrzeit .'<p> ';
$html .='<br> ';
$html .='<table> ';
$html.=' <tr>';
$html.=' <td >vorname:</td>';
$html.=' <td ><h3>'. $_POST["fvorname"] .'</h3></td>';
$html.=' </tr> ';
$html.=' <tr>';
$html.=' <td>nachname:</td>';
$html.=' <td><h3>'. $_POST["fnachname"] .'</h3></td>';
$html.=' </tr> ';
$html.=' <tr>';
$html.=' <td>email:</td>';
$html.=' <td>'. $_POST["femail"] .'</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>UI-Designer:</td>';
$html.=' <td>';
if( isset($_POST["UI-Designer"]) ) {
$html.= $_POST["UI-Designer"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Front-End-Prog:</td>';
$html.=' <td>';
if( isset($_POST["Front-End-Prog"]) ) {
$html.= $_POST["Front-End-Prog"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Back-End-Prog:</td>';
$html.=' <td>';
if( isset($_POST["Back-End-Prog"]) ) {
$html.= $_POST["Back-End-Prog"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Kryptolog:</td>';
$html.=' <td>';
if( isset($_POST["Kryptolog"]) ) {
$html.= $_POST["Kryptolog"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Fragenredakteur:</td>';
$html.=' <td>';
if( isset($_POST["Fragenredakteur"]) ) {
$html.= $_POST["Fragenredakteur"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Marketingstrateg:</td>';
$html.=' <td>';
if( isset($_POST["Marketingstrateg"]) ) {
$html.= $_POST["Marketingstrateg"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Botschafter:</td>';
$html.=' <td>';
if( isset($_POST["Botschafter"]) ) {
$html.= $_POST["Botschafter"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>sonstiges:</td>';
$html.=' <td>';
if( isset($_POST["sonstiges"]) ) {
$html.= $_POST["sonstiges"];
} else {
$html.= ' - ';
}
$html.='</td>';
$html.=' </tr>';
$html.=' <tr>';
$html.=' <td>Text:</td>';
$html.=' <td>'. $_POST["text"] .'</td>';
$html.=' </tr>';
$html.='</table>';
// $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 :: <br>text :: " . $html . "<br> striptags:: ". strip_tags($html);
echo "Message sent";
}
//}
?>