84 lines
3.9 KiB
PHP
84 lines
3.9 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="<?php echo e(app()->getLocale()); ?>">
|
|
<head>
|
|
<title>NH Gooi | <?php echo e($title); ?> </title>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/bootstrap.min.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/font-awesome.min.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/animate.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/font.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/li-scroller.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/slick.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/jquery.fancybox.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/theme.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/style.css' )); ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo e(url( '/css/custom.css' )); ?>">
|
|
<script type="text/javascript" src="<?php echo e(url( 'js/jquery.min.js' )); ?>"></script>
|
|
<!--[if lt IE 9]>
|
|
<script src="<?php echo e(url( '/js/html5shiv.min.js' )); ?>"></script>
|
|
<script src="<?php echo e(url( '/js/respond.min.js' )); ?>"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body>
|
|
|
|
<p class='text-right'>
|
|
<a href="javascript:window.close();" class="btn btn-link"><span class='fa fa-close fa-fw'></span> Venster sluiten</a>
|
|
</p>
|
|
|
|
<p class="logo"><a href="<?php echo e(url('/')); ?>"><img src="<?php echo e(url( 'images/logo.png' )); ?>"></a></p>
|
|
|
|
<p>
|
|
<b>Nu op NH Gooi:</b>
|
|
<span id="nowonair"><?php echo e(file_get_contents(url('onair'))); ?></span>
|
|
<script type="text/javascript">
|
|
setInterval(function updateNowPlaying() { $.ajax({
|
|
'url': '<?php echo e(url('onair')); ?>',
|
|
'success': function(data, status, xhr) {
|
|
$("#nowonair").text(data);
|
|
}
|
|
}); }, 5000);
|
|
</script>
|
|
<?php if(!$isStream): ?> <br />
|
|
<a href="<?php echo e(url( 'luister/live' )); ?>" class="btn-link"><span class='fa fa-fw fa-play'></span> Luister live</a>
|
|
<?php endif; ?>
|
|
</p>
|
|
|
|
<?php if(false && $isStream): ?>
|
|
<p>Wegens een technisch probleem is NH Gooi momenteel niet via Internet te beluisteren. Onze excuses voor het ongemak.</p>
|
|
<p>In Hilversum, Huizen en de BEL-gemeenten zijn wij te ontvangen op 92.0 FM of 105.1 FM.</p>
|
|
<?php else: ?>
|
|
<p><b>U luistert nu naar</b> <?php echo $content; ?></p>
|
|
<?php if(isset($tabs)): ?>
|
|
<p>
|
|
<?php $__currentLoopData = $tabs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $link => $caption): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<a href="<?php echo e($link); ?>" class="btn btn-<?php echo e($link == '#' ? 'primary' : 'default'); ?>"><?php echo e($caption); ?></a>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</p>
|
|
<?php endif; ?>
|
|
<p>
|
|
<audio controls <?php if($isStream): ?> autoplay="true" <?php endif; ?> >
|
|
<source src="<?php echo e($source); ?>" type="audio/mp3" />
|
|
</audio>
|
|
</p>
|
|
|
|
<p>
|
|
<?php if(!$isStream && $canDownload): ?>
|
|
<a href="<?php echo e($source); ?>" class="btn btn-primary">Download als MP3</a>
|
|
<?php endif; ?>
|
|
</p>
|
|
<?php endif; ?>
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.3/mediaelementplayer.css" />
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.3/mediaelement-and-player.min.js"></script>
|
|
<script type="text/javascript">
|
|
$("video, audio").mediaelementplayer({
|
|
pluginPath: 'https://cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.3/',
|
|
stretching: 'responsive'
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|