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

@section('results')
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
	@if( $metager->showQuicktips() )
		<div class="col-xs-12 col-md-8 resultContainer">
	@else
		<div class="col-xs-12 col-md-12 resultContainer">
	@endif
			{{-- 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)
					@include('layouts.ad', ['ad' => $metager->popAd()])
				@endif
				@include('layouts.result', ['result' => $result])
			@endforeach
			<nav class="pager">
				{!! $metager->getResults()->links() !!}
			</nav>
		</div>
	@if( $metager->showQuicktips() )
		<div class="hidden-xs col-md-4" id="quicktips">
			<iframe class="col-mod-4 hidden-xs hidden-sm" src="/qt?q={{ $metager->getQ() }}&sprueche={{ $metager->getSprueche() }}"></iframe>
		</div>
	@endif
28
@endsection
29