121 lines
5.3 KiB
PHP
121 lines
5.3 KiB
PHP
<?php $__env->startSection('title'); ?>
|
|
Radio | <?php echo e($program->name); ?>
|
|
|
|
<?php $__env->stopSection(); ?>
|
|
|
|
<?php $__env->startSection('content'); ?>
|
|
<?php ($now = new \DateTimeImmutable()); ?>
|
|
<div class="page_layout page_margin_top clearfix">
|
|
<div class="row page_margin_top">
|
|
<div class="column column_2_3">
|
|
<div class="row">
|
|
<div class="post single">
|
|
<h1><?php echo e($program->name); ?></h1>
|
|
<p><?php echo $program->description; ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="column column_1_3">
|
|
<div id="komende_uitzendingen">
|
|
<h4 class="box_header page_margin_top_section">Komende week</h4>
|
|
<?php if(($next = $program->next) && count($next)): ?>
|
|
<ul class="blog podcasts">
|
|
<?php $__currentLoopData = $next; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $n): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<li class="post">
|
|
<p class="post_details simple">
|
|
<b><?php echo e($n->name); ?></b><br/>
|
|
<?php if($n->starts < $now): ?>
|
|
Nu te horen tot <?php echo e($n->ends->format('H:i')); ?> uur<br />
|
|
<a href="<?php echo e($player = url('luister/live')); ?>" target="_radioplayer" class="action_button" onclick="window.open('<?php echo e($player); ?>', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-play fa-fw"></span> <span>Luister live</span></a>
|
|
<?php break; ?>
|
|
<?php else: ?>
|
|
<?php echo e(Formatter::relativeDate( $n->starts, 'W d m' )); ?> om <?php echo e($n->starts->format('H:i')); ?> uur.
|
|
<?php endif; ?>
|
|
</p>
|
|
</li>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</ul>
|
|
<?php else: ?>
|
|
<p>Er staat komende week geen uitzending van <?php echo e($program->name); ?> gepland.</p>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
<h4 class="box_header page_margin_top_section clearfix">Terugluisteren</h4>
|
|
<div class="tabs no_scroll clearfix">
|
|
<ul class="tabs_navigation clearfix">
|
|
<li>
|
|
<a href="#uitzending" title="Uitzendingen">
|
|
Uitzending
|
|
</a>
|
|
<span></span>
|
|
</li>
|
|
<li>
|
|
<a href="#fragmenten" title="Contact">
|
|
Fragmenten
|
|
</a>
|
|
<span></span>
|
|
</li>
|
|
</ul>
|
|
<div id="uitzending">
|
|
<div class="clearfix"></div>
|
|
<p>U kunt uitzendingen tot twee weken geleden terugluisteren. <a href="#fragmenten">Fragmenten</a> blijven onbeperkt beschikbaar.</p>
|
|
|
|
<?php if(($recent = $program->recent) && count($recent)): ?>
|
|
<ul class="blog podcasts">
|
|
<?php $__currentLoopData = $recent; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<?php ($duration = $r->ends->diff($r->starts)->h); ?>
|
|
<li class="post">
|
|
<p class="post_details simple">
|
|
<b><?php echo e($r->name); ?></b><br/>
|
|
<?php echo e(Formatter::relativeDate( $r->starts, 'W d m' )); ?> om <?php echo e($r->starts->format('H:i')); ?> uur. <br />
|
|
<?php if($r->rerun || $r->nonstop): ?>
|
|
<span title="U kunt geen herhalingen en non-stopuitzendingen terugluisteren."><span href="#" class="action_button disabled"><span class="fa fa-fw fa-play"></span> <span>Luister terug</span></a>
|
|
<?php else: ?>
|
|
<a href="<?php echo e($url = url('radio/luister/programma/' . $r->starts->format('Y/m/d/H') . '/' . $duration)); ?>" target="_radioplayer" class="action_button" onclick="window.open('<?php echo e($url); ?>', '_radioplayer', 'width=400,height=400'); return false;"><span class="fa fa-fw fa-play"></span> <span>Luister terug</span> </a>
|
|
<?php endif; ?>
|
|
</p>
|
|
</li>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</div>
|
|
<div id="fragmenten">
|
|
<div class="clearfix"></div>
|
|
<p>Fragmenten uit dit programma, zoals interviews, vindt u onder "Radio – Fragment gemist".</p>
|
|
<p>
|
|
<a href="<?php echo e(url('radio/gemist/programma' . $program->url)); ?>" class="action_button">
|
|
<span class="fa fa-list"></span>
|
|
<span>Bekijk alle fragmenten</span>
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="contact">
|
|
<?php if($program->email): ?>
|
|
<h4 class="box_header page_margin_top_section">Contact</h4>
|
|
<p><a href="mailto:<?php echo e($program->email); ?>@nhgooi.nl" class="action_button">
|
|
<span class="fa fa-envelope"></span>
|
|
<span><?php echo e($program->email); ?>@nhgooi.nl</a>
|
|
</a></p>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php if(($hosts = $program->hosts) && count($hosts)): ?>
|
|
<ul class="list">
|
|
<?php $__currentLoopData = $hosts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $host): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<li class="bullet style_2"><?php echo e(Html::mailto($host->email . '@nhgooi.nl', $host->name)); ?></li>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</div><!--./left_content-->
|
|
</div><!--./col-->
|
|
</div><!--./row-->
|
|
</div><!--./row-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php $__env->stopSection(); ?>
|
|
|
|
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
|