metager3.blade.php 722 Bytes
Newer Older
1
2
3
@extends('layouts.resultPage')

@section('results')
4

5
<div class="col-xs-12 col-md-8 resultContainer">
Dominik Hebeler's avatar
Dominik Hebeler committed
6
7
8
9
	{{-- 3-Mal Werbung --}}
	@for($i = 0; $i <= 2; $i++)
		@include('layouts.ad', ['ad' => $metager->popAd()])
	@endfor
10

Dominik Hebeler's avatar
Dominik Hebeler committed
11
12
13
14
15
16
17
18
19
20
	@foreach($metager->getResults()->items() as $result)
		@if($result->number % 7 === 0)
		@include('layouts.ad', ['ad' => $metager->popAd()])
		@endif
		@include('layouts.result', ['result' => $result])
	@endforeach
	<nav class="pager">
        {!! $metager->getResults()->links() !!}
    </nav>
</div>
21
<div class="hidden-xs col-md-4" id="quicktips">
22
	<iframe class="col-mod-4 hidden-xs hidden-sm" src="/qt?q={{ $metager->getQ() }}&sprueche={{ $metager->getSprueche() }}"></iframe>
Dominik Hebeler's avatar
Dominik Hebeler committed
23
</div>
24

25
@endsection
26