metager3results.blade.php 985 Bytes
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
21
22
23
24
25
	{{-- 3-Mal Werbung --}}
	@for($i = 0; $i <= 2; $i++)
		@include('layouts.ad', ['ad' => $metager->popAd()])
	@endfor
	@foreach($metager->getResults()->items() as $result)
		@if($result->number % 7 === 0)
26
			@include('layouts.ad', ['ad' => $metager->popAd()])
27
28
29
30
		@endif
		@include('layouts.result', ['result' => $result])
	@endforeach
	<nav class="pager">
31
32
		{!! $metager->getResults()->links() !!}
	</nav>
33
</div>
34
<div class="hidden-xs col-md-4" id="quicktips">
35
	<iframe class="col-mod-4 hidden-xs hidden-sm" src="/qt?q={{ $metager->getQ() }}&sprueche={{ $metager->getSprueche() }}"></iframe>
36
37
</div>