Commit 3372ca7b authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '1021-new-donate-site' into 'development'

Resolve "New donate site"

Closes #1021

See merge request !1692
parents 670b7e3a cd88ee75
......@@ -10,7 +10,7 @@ ingress:
kubernetes.io/tls-acme: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; script-src-elem 'self' 'unsafe-inline'; script-src-attr 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline'; style-src-attr 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; media-src; object-src; prefetch-src; child-src; frame-src 'self'; worker-src; frame-ancestors 'self' https://scripts.zdv.uni-mainz.de; form-action 'self'; base-uri; manifest-src; plugin-types; report-uri; report-to";
more_set_headers "Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; script-src-elem 'self' 'unsafe-inline'; script-src-attr 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline'; style-src-attr 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; media-src; object-src; prefetch-src; child-src; frame-src 'self'; worker-src; frame-ancestors 'self' https://scripts.zdv.uni-mainz.de; form-action 'self' www.paypal.com; base-uri; manifest-src; plugin-types; report-uri; report-to";
more_set_headers "X-Frame-Options: sameorigin";
more_set_headers "X-Content-Type-Options: nosniff";
more_set_headers "ReferrerPolicy: origin";
......
......@@ -83,16 +83,24 @@ class MailController extends Controller
'iban' => $request->input('iban', ''),
'bic' => $request->input('bic', ''),
'email' => $request->input('email', ''),
'betrag' => $request->input('Betrag', ''),
'betrag' => $request->input('amount', ''),
'frequency' => $request->input('frequency', ''),
'nachricht' => $request->input('Nachricht', ''),
];
$name = $request->input('Name', '');
$iban = $request->input('iban', '');
$bic = $request->input('bic', '');
$email = $request->input('email', '');
$betrag = $request->input('Betrag', '');
$frequency = $request->input('frequency', '');
$betrag = $request->input('amount', '');
$nachricht = $request->input('Nachricht', '');
# Allow custom amounts
if ($betrag == "custom") {
$betrag = $request->input('custom-amount', '');
$data['betrag'] = $betrag;
}
# Der enthaltene String wird dem Benutzer nach der Spende ausgegeben
$messageToUser = "";
$messageType = ""; # [success|error]
......@@ -140,6 +148,7 @@ class MailController extends Controller
}
$message .= "\r\nBetrag: " . $betrag;
$message .= "\r\nHäufigkeit: " . $frequency;
$message .= "\r\nNachricht: " . $nachricht;
try {
......
......@@ -4,7 +4,27 @@ return [
'headline.1' => 'Ihre Spende für SUMA-EV und MetaGer',
'headline.2' => 'Mit Ihrer Spende unterstützen Sie den Erhalt und die Weiterentwicklung der unabhängigen Suchmaschine metager.de und die Arbeit des gemeinnützigen Trägervereins SUMA-EV. <a href="/about" rel="noopener" target=_blank>Mehr erfahren</a> und <a href="/beitritt" target="_blank" rel="noopener">Mitglied werden.</a>.',
'bankinfo.1' => 'Spenden mittels einer Überweisung',
'headline.3' => 'Welchen Betrag möchten Sie spenden?',
'headline.4' => 'Wie regelmäßig möchten Sie spenden?',
'headline.5' => 'Wie möchten Sie spenden?',
'wunschbetrag' => 'Wunschbetrag',
'frequency' => 'Häufigkeit',
'frequency.1' => 'Einmalig',
'frequency.2' => 'Monatlich',
'frequency.3' => 'Vierteljährlich',
'frequency.4' => 'Halbjährlich',
'frequency.5' => 'Jährlich',
'head.lastschrift' => 'Lastschrift',
'ueberweisung' => 'Überweisung',
'paypal' => 'Paypal',
'bankinfo.1' => 'Um für den SUMA-EV unseren Trägerverein zu spenden, brauchen Sie nur eine Überweisung auf folgendes Konto zu tätigen:',
'bankinfo.2' => 'SUMA-EV',
'bankinfo.2.1' => 'IBAN: DE64 4306 0967 4075 0332 01',
'bankinfo.2.2' => 'BIC: GENODEM1GLS',
......@@ -20,12 +40,23 @@ return [
'lastschrift.5' => 'Ihre Telefonnummer, um Ihre Spende ggf. durch einen Rückruf zu verifizieren:',
'lastschrift.6' => 'Ihre IBAN:',
'lastschrift.7' => 'Ihre BIC (Nur notwendig für Transaktionen aus dem EU Ausland):',
'lastschrift.8.value' => 'Hier können Sie uns mitteilen, welchen Betrag (€) Sie spenden möchten:',
'lastschrift.8.value.placeholder' => 'Gewünschter Spendenbetrag (€)',
'lastschrift.8.message' => 'Hier können Sie uns ggf. noch eine Mitteilung dazu senden:',
'lastschrift.8.message.placeholder' => 'Weitere Angaben',
'lastschrift.9' => 'Spenden',
'lastschrift.10' => 'Ihre Daten werden über eine verschlüsselte Verbindung zu uns übertragen und können von Dritten nicht mitgelesen werden. Der Betrag, den Sie angegeben haben, wird dann durch uns von Ihrem Konto abgebucht. SUMA-EV verwendet Ihre Daten ausschlie&szlig;lich für die Spendenabrechnung; Ihre Daten werden nicht weitergegeben. Spenden an den SUMA-EV sind steuerlich absetzbar, da der Verein vom Finanzamt Hannover Nord als gemeinnützig anerkannt ist, eingetragen in das Vereinsregister beim Amtsgericht Hannover unter VR200033.',
'lastschrift.10' => 'Ihre Daten werden über eine verschlüsselte Verbindung zu uns übertragen und können von Dritten nicht mitgelesen werden. SUMA-EV verwendet Ihre Daten ausschlie&szlig;lich für die Spendenabrechnung; Ihre Daten werden nicht weitergegeben. Spenden an den SUMA-EV sind steuerlich absetzbar, da der Verein vom Finanzamt Hannover Nord als gemeinnützig anerkannt ist, eingetragen in das Vereinsregister beim Amtsgericht Hannover unter VR200033.',
'paypal.1' => 'Mit einem Klick auf Spenden werden Sie zu Paypal weitergeleitet.',
'submit' => 'Spenden',
'member.1' => 'Oder doch lieber Mitglied werden?',
'member.2' => 'Es kostet nicht mehr und bietet viele Vorteile:',
'member.3' => 'Werbefreie Nutzung von MetaGer',
'member.4' => 'Förderung der Suchmaschine MetaGer',
'member.5' => 'Mitgliedsbeitrag steuerlich absetzbar',
'member.6' => 'Mitbestimmungsrechte im Verein',
'member.7' => 'Antragsformular',
'drucken' => 'Drucken',
......@@ -39,9 +70,4 @@ return [
'betrag' => 'Betrag',
'danke.message' => 'Ihre Nachricht',
'paypal.title' => 'Spenden mit Paypal',
'paypal.subtitle' => 'Dort auch per Kreditkarte ohne Registrierung',
'paypal.2' => 'Spenden Sie mit PayPal - schnell, kostenlos und sicher!',
'bitpay.title' => 'Spenden mit Bitpay',
];
......@@ -2,9 +2,28 @@
return [
"headline.1" => "Your Donation for MetaGer to SUMA-EV",
"headline.2" => 'With your donation: you support maintenance and development of the independent search engine metager.org and its supporting association SUMA-EV. <a href="https://metager.org/about" rel="noopener" target=_blank>Read more</a> and <a href="https://metager.org/beitritt" target="_blank" rel="noopener">become a member.</a>
"headline.2" => 'With your donation: you support maintenance and development of the independent search engine metager.org and its supporting association SUMA-EV. <a href="https://metager.org/about" rel="noopener" target=_blank>Read more</a> and <a href="https://metager.org/beitritt" target="_blank" rel="noopener">become a member.</a>',
'headline.3' => 'How much would you like to donate?',
'headline.4' => 'How frequent do you want to donate?',
'headline.5' => 'Choose a payment method',
'wunschbetrag' => 'Custom amount',
'frequency' => 'Frequency',
'frequency.1' => 'Once',
'frequency.2' => 'Monthly',
'frequency.3' => 'Quarterly',
'frequency.4' => 'Semi-annual',
'frequency.5' => 'Annual',
'head.lastschrift' => 'Sepa direct debit',
'ueberweisung' => 'Bank transfer',
'paypal' => 'Paypal',
Please help to keep free and open search engines free and open on the Internet. The digital knowledge of the world must stay free from surveillance and control by governments or companies and must be publicly accessible to everyone. Please click <a href="https://metager.org" rel="noopener" target=_blank>here</a> for more information about us.',
"bankinfo.1" => "By bank transfer",
"bankinfo.2" => "SUMA-EV",
'bankinfo.2.1' => 'IBAN: DE64 4306 0967 4075 0332 01',
......@@ -12,8 +31,9 @@ return [
'bankinfo.2.3' => 'Bank: GLS Gemeinschaftsbank, Bochum',
'bankinfo.2.4' => '(AN: 4075 0332 01, BC: 43060967)',
"bankinfo.3" => "If you wish to receive a donation receipt,\r\nplease specify your full adress and (if available)\r\nyour E-Mail adress on the money transfer form.",
"paypal.2" => "Donate via Paypal - it's fast, safe and free",
"lastschrift.1" => "Donate by wire transfer",
"lastschrift.1" => "Donate by Sepa direct debit",
"lastschrift.2" => "Enter your account data along with the desired amount. We will debit your bank account accordingly.",
"lastschrift.3" => "Please enter your name:",
"lastschrift.3.placeholder" => "Name",
......@@ -22,11 +42,25 @@ return [
"lastschrift.6" => "Your IBAN or bank account number:",
"lastschrift.7" => "Your BIC or bank code:",
"lastschrift.8.value" => "Here you can tell us, what amount you want to donate:",
"lastschrift.8.value.placeholder" => "Donation amount",
"lastschrift.8.message" => "Here you can informally add a message to your donation:",
"lastschrift.8.message.placeholder" => "message",
"lastschrift.9" => "Donate",
"lastschrift.10" => "Your information is transmitted encrypted and is not read by a third party. The amount you enter will be debited from your account by us. SUMA-EV only uses your information for accounting; Your information is not passed on. Donations to the SUMA-EV are tax-deductible, because the association is recognized as charitable by the Finanzamt Hannover Nord (revenue board), listed in the register of associations, Amtsgericht Hannover under VR200033. A certificate for single donations above 200,-EUR is sent automatically (post address is required!). For donations below 200,-EUR an account current is enough for tax-deduction.",
"lastschrift.10" => "Your information is transmitted encrypted and is not read by a third party. SUMA-EV only uses your information for accounting; Your information is not passed on. Donations to the SUMA-EV are tax-deductible, because the association is recognized as charitable by the Finanzamt Hannover Nord (revenue board), listed in the register of associations, Amtsgericht Hannover under VR200033. A certificate for single donations above 200,-EUR is sent automatically (post address is required!). For donations below 200,-EUR an account current is enough for tax-deduction.",
'paypal.1' => 'You will be redirected where you can finalize your donation.',
'submit' => 'Donate',
'member.1' => 'Or rather become a member?',
'member.2' => 'It costs the same and gives many advantages.',
'member.3' => 'Ad-free usage of MetaGer',
'member.4' => 'Help funding MetaGer\'s development',
'member.5' => 'Tax deductable in Germany',
'member.6' => 'Voting rights in our NGO',
'member.7' => 'Membership form',
"drucken" => "print",
"danke.title" => "Thank you very much!! We received your donation message for MetaGer to SUMA-EV",
......@@ -37,10 +71,4 @@ return [
"bic" => "BIC/bank code",
'betrag' => 'Amount',
"danke.message" => "Your message",
'paypal.title' => 'Donate via Paypal',
'paypal.subtitle' => 'Comfortably with Paypal<br>Via Paypal by credit card too (without PayPal registration)',
'paypal.2' => 'Donate via Paypal - it is fast, safe and free',
'bitpay.title' => 'Donate via Bitpay',
];
<?php return [
"headline.1" => "Su donación para SUME-EV y MetaGer",
"headline.2" => "Ayuda usted, que en el internet los buscadores libres quedan libre. El conocimiento digital del mundo tiene que ser accesible sin tutela de estados o empresas.",
"headline.3" => " ",
"headline.4" => " ",
"headline.5" => " ",
"wunschbetrag" => " ",
'frequency.1' => 'Einmalig',
'frequency.2' => 'Monatlich',
'frequency.3' => 'Vierteljährlich',
'frequency.4' => 'Halbjährlich',
'frequency.5' => 'Jährlich',
'head.lastschrift' => 'Lastschrift',
'ueberweisung' => 'Überweisung',
'paypal' => 'Paypal',
"bankinfo.1" => "Con una transferencia bancaria",
"bankinfo.2" => "SUMA-EV",
"bankinfo.2.1" => "IBAN: DE64 4306 0967 4075 0332 01",
......@@ -8,6 +26,7 @@
"bankinfo.2.3" => "Banco: GLS Gemeinschaftsbank, Bochum",
"bankinfo.2.4" => "(NDC: 4075 0332 01, Código: 43060967)",
"bankinfo.3" => "En caso que quiere un recibo de donación, por favor ponga su correo electrónico y su dirección completa en el formulario de transferencia.",
"lastschrift.1" => "Donaciones con procedimiento de nota de cargo:",
"lastschrift.2" => "Simplemente llena el formulario con sus datos bancarios y el monto deseado. Nosotros entonces cargamos su cuenta acuerdo a los datos proporcionados.",
"lastschrift.3" => "Por favor ponga su nombre:",
......@@ -22,17 +41,28 @@
"lastschrift.8.message.placeholder" => "Mensaje",
"lastschrift.9" => "Donación",
"lastschrift.10" => "Sus datos serán transmitidos por una conexión encryptada y no pueden ser leído por terceros. El monto que usted nos indica, sera cargado a su cuenta. SUME-EV usa sus datos exclusivamente para la contabilidad de las donaciones. Sus datos no serán transmitidos a nadie. Donaciones al SUMA-EV son deducibles de los impuestos, ya que el SUME-EV es aprobado por el Finanzamt Hannover Nord como asociación sin fines de lucro, y esta registrado en el registro del Amtsgericht Hannover con el numero VR200033. Un recibo de donaciones arriba de 200,- Euro será mandado automáticamente. Para donaciones hasta 200,- EURO basta el extracto de cuenta para deducirlo de los impuestos.",
'paypal.1' => 'Mit einem Klick auf Spenden werden Sie zu Paypal weitergeleitet.',
'submit' => 'Spenden',
'member.1' => 'Oder doch lieber Mitglied werden?',
'member.2' => 'Es kostet nicht mehr und bietet viele Vorteile:',
'member.3' => 'Werbefreie Nutzung von MetaGer',
'member.4' => 'Förderung der Suchmaschine MetaGer',
'member.5' => 'Mitgliedsbeitrag steuerlich absetzbar',
'member.6' => 'Mitbestimmungsrechte im Verein',
'member.7' => 'Antragsformular',
"drucken" => "Imprimir",
"danke.title" => "¡Muchas gracias!! Hemos recibido su informacion de donación para MetaGer al SUME-EV.",
"danke.nachricht" => "En caso que nos ha enviado datos de contacto, pronto va recibir un mensaje personalizado.",
"danke.kontrolle" => "Hemos recibido el siguiente mensaje:",
"telefonnummer" => "Teléfono",
"iban" => "IBAN/ No. de cuenta",
"bic" => "BIC o código de identificación bancaria:",
"betrag" => "Cantidad",
"danke.message" => "Su mensaje",
"paypal.title" => "Donar con Paypal",
"paypal.subtitle" => "Allí con tarjeta de crédito sin registro",
"paypal.2" => "Donar con Paypal - rapido, seguro y gratis!",
"bitpay.title" => "Donar con Bitpay"
];
......@@ -22,4 +22,111 @@
#direct-payment > p {
margin: 0;
}
input[type=radio] {
margin: 0px;
margin-left: 2px;
margin-right: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
h3 {
font-weight:bold;
}
.amount-label {
display: inline-block;
vertical-align: middle;
text-align: center;
margin-bottom: 4px;
margin-top: 4px;
margin-right: 5px;
font-size: 18px;
font-weight: normal;
width:4em;
border: 2px solid #a6a6a6;
border-radius: 5px;
}
.frequency-radio {
display:none;
}
.amount-radio {
display:none;
}
.frequency-label {
display: inline-block;
vertical-align: middle;
margin-top: 5px;
height:45px;
font-weight: normal;
text-align: center;
line-height: 40px;
border: 2px solid #a6a6a6;
width: 150px;
border-radius: 6px;
}
.payment-label {
display: inline-block;
vertical-align: middle;
display: inline-block;
color: @text-color;
margin-top: 5px;
height:45px;
font-weight: normal;
line-height: 40px;
text-align: center;
border: 2px solid #a6a6a6;
width: 150px;
border-radius: 6px;
}
.amount-row {
display: flex;
justify-content: inherit;
margin-bottom: 8px;
height: 40px;
}
.custom-amount-container {
display: flex;
}
.amount-custom {
flex-grow: 0;
text-align: center;
align-items: center;
line-height: 25px;
margin-right: 4px;
padding-right: 8px;
padding-left: 4px;
height: 30px;
//width: 8em;
font-weight: normal;
border: 2px solid #a6a6a6;
border-radius: 5px;
}
#amount-custom {
display: none;
}
#custom-amount {
display: none;
height: 30px;
width: 164px;
}
#amount-custom:checked + label + input{
display: initial;
}
#amount-custom:checked + label{
line-height: 21px;
}
input[type=radio]:checked + label, .payment-label-selected {
border: 4px solid #f47216;
}
#donate-button {
height: 45px;
}
}
\ No newline at end of file
......@@ -50,7 +50,7 @@
<ul class="story-links">
<li><a class="story-button" href="https://suma-ev.de/" target="_blank">{{ trans('mg-story.btn-SUMA-EV') }}</a></li>
<li><a class="story-button" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "spende") }}">{{ trans('mg-story.btn-donate') }}</a></li>
<li><a class="story-button" href="https://metager.de/beitritt" target="_blank">{{ trans('mg-story.btn-member') }}</a></li>
<li><a class="story-button" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/beitritt/") }}" target="_blank">{{ trans('mg-story.btn-member') }}</a></li>
<li><a class="story-button" href="https://suma-ev.de/mitglieder/" target="_blank"> {{ trans('mg-story.btn-member-advantage') }}</a></li>
</ul>
</section>
......
......@@ -32,6 +32,10 @@
<td>{{ trans('spende.betrag') }}</td>
<td>{{ $data['betrag'] }} </td>
</tr>
<tr>
<td>{{ trans('spende.frequency') }}</td>
<td>{{ $data['frequency'] }} </td>
</tr>
<tr>
<td>{{ trans('spende.danke.message') }}</td>
<td>{{ $data['nachricht'] }}</td>
......
......@@ -11,81 +11,143 @@
<p>{!! trans('spende.headline.2') !!}</p>
</div>
<div class="two-col">
<div class="col-left">
<div class="section">
<h3 id="lastschrift">{!! trans('spende.lastschrift.1') !!}</h3>
<p>{!! trans('spende.lastschrift.2') !!}</p>
<form id="donate" method="POST">
<input type="hidden" name="dt" value="{{ md5(date('Y') . date('m') . date('d')) }}">
<div class="form-group donation-form-group">
<label for="Name">*{!! trans('spende.lastschrift.3') !!}</label>
<input type="text" class="form-control" id="Name" required="" name="Name" placeholder="{!! trans('spende.lastschrift.3.placeholder') !!}" @if(isset($data['name'])) value="{{$data['name']}}" @endif />
</div>
<div class="form-group donation-form-group">
<label for="email">{!! trans('spende.lastschrift.4') !!}</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Email" @if(isset($data['email'])) value="{{$data['email']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="iban">*{!! trans('spende.lastschrift.6') !!}</label>
<input type="text" class="form-control" id="iban" required="" name="iban" placeholder="IBAN" @if(isset($data['iban'])) value="{{$data['iban']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="bic">{!! trans('spende.lastschrift.7') !!}</label>
<input type="text" class="form-control" id="bic" name="bic" placeholder="BIC" @if(isset($data['bic'])) value="{{$data['bic']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="value">*{!! trans('spende.lastschrift.8.value')!!} </label>
<input type="number" class="form-control" id="value" required="" name="Betrag" min="1" step="0.01" placeholder="{!! trans('spende.lastschrift.8.value.placeholder') !!}" @if(isset($data['betrag'])) value="{{$data['betrag']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="msg">{!! trans('spende.lastschrift.8.message')!!}</label>
<p>{!! trans('spende.bankinfo.3')!!}</p>
<textarea class="form-control" id="msg" name="Nachricht" placeholder="{!! trans('spende.lastschrift.8.message.placeholder') !!}">@if(isset($data['nachricht'])){{$data['nachricht']}}@endif</textarea>
</div>
<button type="submit" form="donate" class="btn btn-default">{!! trans('spende.lastschrift.9') !!}</button>
</form>
</div>
</div>
<div class="col-right">
<div class="section" id="direct-payment">
<h3>{!! trans('spende.bankinfo.1') !!}</h3>
<p>{!! trans('spende.bankinfo.2') !!}</p>
<p>{!! trans('spende.bankinfo.2.1') !!}</p>
<p>{!! trans('spende.bankinfo.2.2') !!}</p>
<p>{!! trans('spende.bankinfo.2.3') !!}</p>
<p>{!! trans('spende.bankinfo.2.4') !!}</p>
</div>
<div class="section">
<h3>{!! trans('spende.paypal.title') !!}</h3>
<p>{!! trans('spende.paypal.subtitle') !!}</p>
@if (app('request')->input('method') == "paypal")
<form class="col-left" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
<a class="payment-label" href="?method=debit">{!! trans('spende.head.lastschrift') !!}</a>
<a class="payment-label" href="?method=bank-transfer">{!! trans('spende.ueberweisung') !!}</a>
<a class="payment-label payment-label-selected" href="?method=paypal">{!! trans('spende.paypal') !!}</a>
<p><br>{!! trans('spende.paypal.1') !!}</p>
<div class="center-wrapper">
@if (LaravelLocalization::getCurrentLocale() == "de")
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="lc" value="{{ Request::getPreferredLanguage([]) }}">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="5JPHYQT88JSRQ" />
<input type="image" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif']) }}" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypal.com/de_DE/i/scr/pixel.gif']) }}" width="1" height="1" />
</form>
@else
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="lc" value="{{ Request::getPreferredLanguage([]) }}">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="LXWAVD6P3ZSWG" />
<input type="image" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypalobjects.com/en_US/DK/i/btn/btn_donateCC_LG.gif']) }}" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypal.com/en_DE/i/scr/pixel.gif']) }}" width="1" height="1" />
</form>
@endif
</div>
</div>
@elseif ((app('request')->input('method') == "bank-transfer"))
<form class="col-left" method="post">
<div class="section">
<h3>{{ trans('spende.bitpay.title') }}</h3>
@include('spende.bitpay')
</div>
<h3>{!! trans('spende.headline.5') !!}</h3>
<a class="payment-label" href="?method=debit">{!! trans('spende.head.lastschrift') !!}</a>
<a class="payment-label payment-label-selected" href="?method=bank-transfer">{!! trans('spende.ueberweisung') !!}</a>
<a class="payment-label" href="?method=paypal">{!! trans('spende.paypal') !!}</a>
<p>
<br>{!! trans('spende.bankinfo.1') !!} <br>
<br>{!! trans('spende.bankinfo.2') !!}
<br>{!! trans('spende.bankinfo.2.1') !!}
<br>{!! trans('spende.bankinfo.2.2') !!}
<br>{!! trans('spende.bankinfo.2.3') !!}
<br>{!! trans('spende.bankinfo.2.4') !!}<br>
<br>{!! trans('spende.bankinfo.3') !!}
</p>
</div>
@else
<form class="col-left" method="post">
<div class="section">
<p>{!! trans('spende.lastschrift.10') !!}</p>
</div>
</div>
<h3>{!! trans('spende.headline.5') !!}</h3>
<a class="payment-label payment-label-selected" href="?method=debit">{!! trans('spende.head.lastschrift') !!}</a>
<a class="payment-label" href="?method=bank-transfer">{!! trans('spende.ueberweisung') !!}</a>
<a class="payment-label" href="?method=paypal">{!! trans('spende.paypal') !!}</a>
<h3>{!! trans('spende.headline.3') !!}</h3>
<div class="amount-row">
<input type="radio" value="5" class="amount-radio" name="amount" id="amount-5euro" required="required"checked="checked"> <label for="amount-5euro" class="amount-label">5</label>
<input type="radio" value="10" class="amount-radio" name="amount" id="amount-10euro" required="required"><label for="amount-10euro" class="amount-label">10</label>
<input type="radio" value="15" class="amount-radio" name="amount" id="amount-15euro" required="required"><label for="amount-15euro" class="amount-label">15</label>
<input type="radio" value="20" class="amount-radio" name="amount" id="amount-20euro" required="required"><label for="amount-20euro" class="amount-label">20</label>
<input type="radio" value="25" class="amount-radio" name="amount" id="amount-25euro" required="required"><label for="amount-25euro" class="amount-label">25</label> <br>
</div>
<div class="amount-row">
<input type="radio" value="50" class="amount-radio" name="amount" id="amount-50euro" required="required"><label for="amount-50euro" class="amount-label">50</label>
<input type="radio" value="100" class="amount-radio" name="amount" id="amount-100euro" required="required"><label for="amount-100euro" class="amount-label">100</label>
<input type="radio" value="200" class="amount-radio" name="amount" id="amount-200euro" required="required"><label for="amount-200euro" class="amount-label">200</label>
<input type="radio" value="250" class="amount-radio" name="amount" id="amount-250euro" required="required"><label for="amount-250euro" class="amount-label">250</label>
<input type="radio" value="300" class="amount-radio" name="amount" id="amount-300euro" required="required"><label for="amount-300euro" class="amount-label">300</label> <br>
</div>
<div class="custom-amount-container">
<input type="radio" name="amount" id="amount-custom" value="custom" required="required"><label for="amount-custom" class="amount-custom">{!! trans('spende.wunschbetrag') !!}</label> <input id="custom-amount" type="number" name="custom-amount" min="0" step=".01" placeholder="Betrag in €" value="">
</div>
<br>
<h3>{!! trans('spende.headline.4') !!}</h3>
<input type="radio" class="frequency-radio" name="frequency" id="once" value="once" required="required" checked="checked"><label class="frequency-label" for="once">{!! trans('spende.frequency.1') !!}</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="monthly" value="monthly" required="required"><label class="frequency-label" for="monthly">{!! trans('spende.frequency.2') !!}</label>
<input type="radio" class="frequency-radio" name="frequency" id="quarterly" value="quarterly" required="required"><label class="frequency-label" for="quarterly">{!! trans('spende.frequency.3') !!}</label> <br>
<input type="radio" class="frequency-radio" name="frequency" id="six-monthly" value="six-monthly" required="required"><label class="frequency-label" for="six-monthly">{!! trans('spende.frequency.4') !!}</label>
<input type="radio" class="frequency-radio" name="frequency" id="annual" value="annual" required="required"><label class="frequency-label" for="annual">{!! trans('spende.frequency.5') !!}</label> <br>
<br>
<p>{!! trans('spende.lastschrift.2') !!}</p>
<input type="hidden" name="dt" value="{{ md5(date('Y') . date('m') . date('d')) }}">
<div class="form-group donation-form-group">
<label for="Name">*{!! trans('spende.lastschrift.3') !!}</label>
<input type="text" required="required" class="form-control" id="Name" name="Name" placeholder="{!! trans('spende.lastschrift.3.placeholder') !!}" @if(isset($data['name'])) value="{{$data['name']}}" @endif />
</div>
<div class="form-group donation-form-group">
<label for="email">{!! trans('spende.lastschrift.4') !!}</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Email" @if(isset($data['email'])) value="{{$data['email']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="iban">*{!! trans('spende.lastschrift.6') !!}</label>
<input type="text" required="required" class="form-control" id="iban" name="iban" placeholder="IBAN" @if(isset($data['iban'])) value="{{$data['iban']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="bic">{!! trans('spende.lastschrift.7') !!}</label>
<input type="text" class="form-control" id="bic" name="bic" placeholder="BIC" @if(isset($data['bic'])) value="{{$data['bic']}}" @endif>
</div>
<div class="form-group donation-form-group">
<label for="msg">{!! trans('spende.lastschrift.8.message')!!}</label>
<p>{!! trans('spende.bankinfo.3')!!}</p>
<textarea class="form-control" id="msg" name="Nachricht" placeholder="{!! trans('spende.lastschrift.8.message.placeholder') !!}">@if(isset($data['nachricht'])){{$data['nachricht']}}@endif</textarea>
</div>
<input id="donate-button" type="submit" value="{!! trans('spende.submit') !!}">
</div>
@endif
</form>
<div class="col-right">
<div class="section">
<p>{!! trans('spende.lastschrift.10') !!}</p> </div>
<div class="section">
<h3>{!! trans('spende.member.1') !!}</h3>
<p>{!! trans('spende.member.2') !!}</p>
<ul>
<li>{!! trans('spende.member.3') !!}</li>
<li>{!! trans('spende.member.4') !!}</li>
<li>{!! trans('spende.member.5') !!}</li>