<h4 class="page_margin_top box_header"><span class="fa fa-music"></span> &nbsp; Nu op NH Gooi Radio</h4>

<div class="clearfix">

@php($program = $data[0])
<ul class="blog podcasts">
	<li class="post">
		<div class="post_content">
			<h2><a href="{{route('programma') . $program->url}}" title="{{$program->name}}">{{$program->name}}</a></h2>
			@if($program->tagline)
			<p>{{$program->tagline}}</p>
			@endif
			<a class="action_button player" style="margin-top: 0;" href="{{route('luister.live')}}" title="Luister live">
				<span class="fa fa-play"></span>
				<span>Luister live tot {{$program->end->format('H:i')}} uur.</span>
			</a>
		</div>
	</li>
</ul>

<div class="clearfix"></div>

<h5 class="page_margin_top">Daarna:</h5>
<ul class="list no_border spacing">
@php($startDay = $program->start->format('d'))
@foreach($data as $program)
	@php($isToday = $program->start->format('d') == $startDay)
	@if($loop->index > 5)
		@break 
	@elseif(($loop->index >= 3) && $program->nonstop)
		@break
	@elseif(!$loop->first)
		<li class="bullet style_2"><a href="{{route('programma') . $program->url}}" title="{{$program->name}}">
			<b>{{$program->name}}</b></a> |
			<span class="text-muted">{{Formatter::relativeDate($program->start)}} om {{$program->start->format('H:i')}}.</span>
		</li>
		@if($program->tagline)
		<li class="bullet text-muted">{{$program->tagline}}</li>
		@endif

	@endif
@endforeach
</ul>

@if(isset($recent))
<h5 class="page_margin_top box_header">Net gemist?</h5>
<p><b>{{$recent->name}}</b></p>
<span class="text-muted">{{Formatter::relativeDate($recent->start)}} om {{$recent->start->format('H:i')}}.</span>
<p class="clearfix">
@php($duration = $recent->end->diff($recent->start)->h)
<a class="action_button player" style="margin-top: 0;" href="{{route('luister.programma') . '/' . $recent->start->format('Y/m/d/H') . '/' . $duration}}" title="Luister live">
	<span class="fa fa-history"></span>
	<span>Terugluisteren</span>
</a>
</p>
@endif
</div>
