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

@section('results')
4

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

Dominik Hebeler's avatar
Dominik Hebeler committed
15
16
17
18
19
20
21
22
23
24
	@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>
25
@if( $metager->showQuicktips() )
26
<div class="hidden-xs col-md-4" id="quicktips">
27
	<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
28
</div>
29
@endif
30

31
@endsection
32