metager3results.blade.php 1.69 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@if( sizeof($errors) > 0 )
		<div class="alert alert-danger">
			<ul>
				@foreach($errors as $error)
				<li>{!! $error !!}</li>
				@endforeach
			</ul>
		</div>
	@endif
	@if( sizeof($warnings) > 0)
		<div class="alert alert-warning">
			<ul>
				@foreach($warnings as $warning)
					<li>{!! $warning !!}</li>
				@endforeach
			</ul>
		</div>
	@endif
19
<div class="col-xs-12 col-md-8">
20
	@if( !$metager->validated && App::isLocale('de') )
21
22
		<div class="mg-panel container" style="margin-bottom:20px;max-height:90px;text-align:left; max-width:100%; padding:0px;margin-top:0px">
			<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spendenaufruf") }}" target="_blank">
23
				<img src="/img/aufruf.png" style="max-width:100%;max-height:90px;" alt="Spendenaufruf für die unabhängige, nicht-kommerzielle Internet-Suche" >
24
25
26
			</a>
		</div>
	@endif
27
28
29
30
	{{-- 3-Mal Werbung --}}
	@for($i = 0; $i <= 2; $i++)
		@include('layouts.ad', ['ad' => $metager->popAd()])
	@endfor
31
	@foreach($metager->getResults() as $result)
32
		@if($result->number % 7 === 0)
33
			@include('layouts.ad', ['ad' => $metager->popAd()])
34
35
36
		@endif
		@include('layouts.result', ['result' => $result])
	@endforeach
37
38
39
40
41
	<nav aria-label="...">
		<ul class="pager">
		    <li @if($metager->lastSearchLink() === "#") class="disabled" @endif><a href="{{ $metager->lastSearchLink() }}">Zurück</a></li>
			<li @if($metager->nextSearchLink() === "#") class="disabled" @endif><a href="{{ $metager->nextSearchLink() }}">Weiter Suchen</a></li>
		</ul>
42
	</nav>
43
</div>
44
<div class="hidden-xs col-md-4" id="quicktips">
45
	<iframe class="col-mod-4 hidden-xs hidden-sm" src="/qt?q={{ $metager->getQ() }}&sprueche={{ $metager->getSprueche() }}"></iframe>
46
</div>