spende.blade.php 4.75 KB
Newer Older
1
2
3
4
@extends('layouts.subPages')

@section('title', $title )

5
6
@section('navbarFocus.donate', 'class="dropdown active"')

7
@section('content')
8
9
10
11
12
13
	<div id="donation">
		<div class="section">
			<h1>{!! trans('spende.headline.1') !!}</h1>
			<h2>{!! trans('spende.headline.2') !!}</h2>
			<p>{!! trans('spende.about.2') !!}</p>
			<p><i class="fa fa-info fa-fw fa-lg" aria-hidden="true"></i>{!! trans('spende.bankinfo.3') !!}</p>
14
		</div>
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
		<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>
48
49
50
					</form>
				</div>
			</div>
51
52
53
54
55
56
57
58
59
			<div class="col-right">
				<div class="section">
					<h3>{!! trans('spende.bankinfo.1') !!}</h3>
					<p>{!! trans('spende.bankinfo.2') !!}</p>
				</div>
				<div class="section">
					<h3>{!! trans('spende.paypal.title') !!}</h3>
					<p>{!! trans('spende.paypal.subtitle') !!}</p>
					<div class="center-wrapper">
Dominik Hebeler's avatar
Dominik Hebeler committed
60
61
62
63
64
65
						@if (LaravelLocalization::getCurrentLocale() == "de")
						<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
							<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" />
66
						</form>
Dominik Hebeler's avatar
Dominik Hebeler committed
67
68
69
70
71
72
73
74
						@else
						<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
							<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
75
76
77
78
79
80
81
82
83
					</div>
				</div>
				<div class="section">
					<h3>{{ trans('spende.bitpay.title') }}</h3>
					@include('spende.bitpay')
				</div>
				<div class="section">
					<p>{!! trans('spende.lastschrift.10') !!}</p>
				</div>
84
			</div>
85
		</div>
86
	</div>
87
@endsection