Kleine wijzigingen layout, kerkdienst

This commit is contained in:
2020-01-06 03:17:57 +01:00
parent ed1871ae68
commit 3af813ca23
30 changed files with 46 additions and 32265 deletions

2
.hgignore Normal file
View File

@@ -0,0 +1,2 @@
website/storage/framework
website/storage/logs

View File

@@ -22,6 +22,10 @@ class Controller extends BaseController
protected function registerView(Request $request, $type, $id)
{
if(config('app.debug')) {
return;
}
app('db')->insert('INSERT INTO `pagestats`(`type`, `item_id`, `visitor_ip`, `session`, `referer`) VALUES(:type, :id, :ip, :session, :referer)', [
'type' => $type,
'id' => $id,

View File

@@ -39,9 +39,7 @@ class RadioController extends Controller
public function podcast(Request $request, $id)
{
if(!config('app.debug')) {
parent::registerView($request, 'podcast', $id);
}
$apiResult = $this->API('podcast/details/' . (int)$id);
$podcast = new \Model\Podcast($apiResult);

View File

@@ -10,7 +10,7 @@ class StreamController extends Controller
public function liveradio()
{
return view('listen', [
'source' => 'http://6fm.nl:8000/mp3live',
'source' => 'http://stream.nhgooi.nl:8000/mp3live',
'title' => 'Luister live',
'content' => 'de live-uitzending van NH Gooi.',
'isStream' => true ]);

View File

@@ -69,7 +69,7 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
.action_button
{
position: relative;
display: block;
display: inline-block;
height: 29px;
float: left;
color: #25282A;
@@ -109,8 +109,8 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
text-decoration: none;
}
.action_button:hover .fa,
.read_more:hover span
.action_button:not(.disabled):hover .fa,
.read_more:not(.disabled):hover span
{
transition: 200ms;
width: 100%;

View File

@@ -13,10 +13,11 @@
"Contact" => "/contact");
?>
<?php
function isActive($link) {
function isActive($link, $checksubmenus) {
if(is_array($link)) {
if(!$checksubmenus) { return false; }
foreach($link as $item => $link) {
if(isActive($link)) { return true; }
if(isActive($link, $checksubmenus)) { return true; }
}
return false;
@@ -25,12 +26,12 @@ function isActive($link) {
return (substr($_SERVER["REQUEST_URI"], 0, strlen($link)) == $link);
}
function buildMenu($menu) {
function buildMenu($menu, $ismobile) {
$result = "";
foreach($menu as $title => $link) {
if($title == "") { continue; }
$submenu = is_array($link);
$isactive = isActive($link);
$isactive = isActive($link, !$ismobile);
$submenulink = $submenu && isset($link[""]) ? $link[""] : "#";
if(!$submenu && substr($link, 0, 8) == "/luister") { $icon = "<span class='fas fa-headphones'></span>&nbsp;"; }
else { $icon = ""; }
@@ -39,7 +40,7 @@ function buildMenu($menu) {
<a href=\"" . ($submenu ? $submenulink : $link) . "\" title=\"{$title}\">{$icon}{$title}</a>";
if($submenu) {
$result .= "\t\t\t<ul>\n"
. buildMenu($link)
. buildMenu($link, $ismobile)
. "\t\t\t</ul>\n";
}
$result .= "\t\t</li>\n";
@@ -51,7 +52,7 @@ function buildMenu($menu) {
<nav>
<!-- TODO: Mark selected, recursive menus, listen / watch icons -->
<ul class="sf-menu">
{!! buildMenu($menu) !!}
{!! buildMenu($menu, false) !!}
</ul>
</nav>
<div class="mobile_menu_container">
@@ -63,7 +64,7 @@ function buildMenu($menu) {
<div class="mobile-menu-divider"></div>
<nav>
<ul class="mobile-menu">
{!! buildMenu($menu) !!}
{!! buildMenu($menu, true) !!}
</ul>
</nav>
</div>

View File

@@ -35,7 +35,7 @@
@php($heading = new \DateTimeImmutable('first day of next month ' . $event->starts->format('Y-m-d')))
@endif
<div class='row details' data-index="{{$month}}">
@php($image = count($event->images) ? $event->images[0] : null)
@php($image = isset($event->images) && count($event->images) ? $event->images[0] : null)
<div class='col-lg-3 @if(!$image) hidden-sm hidden-xs @endif'>
<div class="news-item news-item-small wow fadeInDown">
<div class="thumb">

View File

@@ -4,13 +4,16 @@
Zondagsdienst
@endsection
@section('content')
<h1>Zondagsdienst</h1>
@include('_mediaplayer')
<div class="row">
<div class='col-lg-9'>
@section('content')
<div class="page_layout">
<div class="page_margin_top">
<h1>Zondagsdienst</h1>
</div>
<div class="clearfix">
@if($kerkdienst->isRunning)
<p><strong>
<p class="intro"><strong>
Vandaag wordt een dienst uitgezonden @if($kerkdienst->previous->name) vanuit de {{$kerkdienst->previous->name}}@endif.
Aanvang: {{$kerkdienst->previous->start->format('H:i')}} uur.
</strong></p>
@@ -24,11 +27,12 @@
</audio>
</p>
<p>
<a href="{{$url = url('kerkdienst/luister')}}" target="_radioplayer" class="btn btn-primary" onclick="window.open('{{$url}}', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-play fa-fw"></span> Luister in nieuw venster</a>
<a href="{{$url = url($apiUrl . 'kerkdienst/download')}}" class="btn btn-default">Download als MP3</a>
<a href="{{$url = url('kerkdienst/luister')}}" target="_radioplayer" class="action_button" onclick="window.open('{{$url}}', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-external-link-alt"></span> <span>Luister in nieuw venster</span></a>
<a href="{{$url = url($apiUrl . 'kerkdienst/download')}}" class="action_button"><span class="fa fa-download"></span> <span>Download als MP3</span></a>
</p>
<h3>Volgende dienst</h3>
</div>
<div>
<h3 class="page_margin_top">Volgende dienst</h3>
<p>
De eerstvolgende dienst wordt uitgezonden
op <strong>{{Formatter::fullDate($kerkdienst->next->start, 'd m')}} om {{$kerkdienst->next->start->format('H:i')}} uur</strong>
@@ -36,11 +40,13 @@
</p>
@endif
<p>
Zondagochtend van 9:00 tot 12:00 uur kunt u live meeluisteren naar het programma Kerk &amp; Samenleving via <a href="{{$live = url('luister/live')}}" target="_radioplayer" class="btn-link" onclick="window.open('{{$live}}', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-play fa-fw"></span> Luister live</a>.
Zondagochtend van 9:00 tot 12:00 uur kunt u live meeluisteren naar het programma Kerk &amp; Samenleving via de link
<a href="{{$live = url('luister/live')}}" target="_radioplayer" class="" onclick="window.open('{{$live}}', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-play"></span> <span>Luister live</span></a>.
</p>
<p>
Vanaf {{$kerkdienst->isRunning ? "vanmiddag" : "zondagmiddag" }} 12:00 uur is de dienst op deze pagina terug te luisteren.
</p>
</div>
</div>
</div>
@endsection

View File

@@ -18,6 +18,7 @@
{{ Formatter::relativeDate($podcast->created) }}
</li>
</ul>
<div class="clearfix"></div>
@if($podcast->image)
<p>
<a href="{{$url}}" title="{{$podcast->title}}">

View File

@@ -11,11 +11,11 @@
@if(isset($program))
<h2>{{$program->name}}</h2>
<p class="align-right">
<a href="{{url('gemist')}}" title="Alle programma's" class="btn btn-info">&larr; Toon alles</a>
<a href="{{url('programma' . $program->url)}}" title="{{$program->name}}" class="btn btn-info">Programmainfo</a>
<a href="{{url('radio/gemist')}}" title="Alle programma's" class="btn btn-info">&larr; Toon alles</a>
<a href="{{url('radio/programma' . $program->url)}}" title="{{$program->name}}" class="btn btn-info">Programmainfo</a>
</p>
@else
<p>Hele uitzendingen kunt u binnen twee weken terugluisteren door het betreffende programma op te zoeken via de <a href="{{url('gids')}}">programmagids</a>.
<p>Hele uitzendingen kunt u binnen twee weken terugluisteren door het betreffende programma op te zoeken via de <a href="{{url('radio/gids')}}">programmagids</a>.
@endif
@if($podcasts)

View File

@@ -27,7 +27,7 @@
<b>{{$n->name}}</b><br/>
@if($n->starts < $now)
Nu te horen tot {{$n->ends->format('H:i')}} uur<br />
<a href="{{ $player = url('luister/live') }}" target="_radioplayer" class="action_button" onclick="window.open('{{$player}}', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-play fa-fw"></span> <span>Luister live</span></a>
<a href="{{ $player = url('luister/live') }}" target="_radioplayer" class="action_button" onclick="window.open('{{$player}}', '_radioplayer','width=400,height=400'); return false;"><span class="fa fa-play"></span> <span>Luister live</span></a>
@break
@else
{{ Formatter::relativeDate( $n->starts, 'W d m' ) }} om {{ $n->starts->format('H:i') }} uur.
@@ -71,9 +71,9 @@
<b>{{$r->name}}</b><br/>
{{ Formatter::relativeDate( $r->starts, 'W d m' ) }} om {{ $r->starts->format('H:i') }} uur. <br />
@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>
<span title="U kunt geen herhalingen en non-stopuitzendingen terugluisteren."><span class="action_button disabled"><span class="fa fa-play"></span> <span>Luister terug</span></a>
@else
<a href="{{$url = url('radio/luister/programma/' . $r->starts->format('Y/m/d/H') . '/' . $duration)}}" target="_radioplayer" class="action_button" onclick="window.open('{{$url}}', '_radioplayer', 'width=400,height=400'); return false;"><span class="fa fa-fw fa-play"></span> <span>Luister terug</span> </a>
<a href="{{$url = url('radio/luister/programma/' . $r->starts->format('Y/m/d/H') . '/' . $duration)}}" target="_radioplayer" class="action_button" onclick="window.open('{{$url}}', '_radioplayer', 'width=400,height=400'); return false;"><span class="fa fa-play"></span> <span>Luister terug</span></a>
@endif
</p>
</li>

View File

@@ -1 +0,0 @@
a:3:{s:6:"_token";s:40:"BOi9A45K3nZX2PfARCfBr6OFlnhc0XdVpp6synNY";s:9:"_previous";a:1:{s:3:"url";s:22:"http://localhost/onair";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}

View File

@@ -1 +0,0 @@
a:3:{s:6:"_token";s:40:"mICyHBh6qKPQpVRumYEnHn6lla4DSeiMM9eTnaSs";s:9:"_previous";a:1:{s:3:"url";s:100:"http://localhost/radio/gemist/fragment/1161350/nh-gooi-zaterdag-vuurwerkmeldpunt-meer-1200-meldingen";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}

View File

@@ -1 +0,0 @@
a:3:{s:6:"_token";s:40:"XSTL0Vb1D9upg6L05U2ouoNGfF8Sy6AsywHju7yj";s:9:"_previous";a:1:{s:3:"url";s:22:"http://localhost/onair";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}

View File

@@ -1,75 +0,0 @@
<?php $__env->startSection('title'); ?>
Fragment gemist
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
##parent-placeholder-040f06fd774092478d450774f5ba30c5da78acc8##
<?php if(isset($program)): ?>
<h2><?php echo e($program->name); ?></h2>
<p class="align-right">
<a href="<?php echo e(url('gemist')); ?>" title="Alle programma's" class="btn btn-info">&larr; Toon alles</a>
<a href="<?php echo e(url('programma' . $program->url)); ?>" title="<?php echo e($program->name); ?>" class="btn btn-info">Programmainfo</a>
</p>
<?php else: ?>
<p>Hele uitzendingen kunt u binnen twee weken terugluisteren door het betreffende programma op te zoeken via de <a href="<?php echo e(url('gids')); ?>">programmagids</a>.
<?php endif; ?>
<?php if($podcasts): ?>
<div class="page_layout clearfix">
<div class="row grid" id="items">
<?php echo $__env->make('podcastitems', ['podcasts' => $podcasts], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div><!--/.row-->
</div>
<div id="loading" style="display: none">
<div class="progress progress-striped active">
<div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<b>Meer podcasts aan het ophalen...</b>
</div>
</div>
</div>
<?php $__env->startPush('scripts'); ?>
<script>
var page = 1;
var isLoading = 0;
var $items = $('#items');
var $isLoading = $('#loading');
$(function() {
$(window).scroll(function () {
var $this = $(this);
var tweak = 10;
if(!isLoading && (page > 0) && ($this.scrollTop() >= $items.height() - $this.height() - tweak))
{
isLoading = 1;
$isLoading.show();
$.ajax({ url: document.location.pathname + '?pagina=' + (++page) })
.always(function() { isLoading = 0; $isLoading.hide(); })
.done(function(data) {
if(!data) {
if(page > 1) $items.append("<hr /><p>Er zijn geen podcasts (meer).</p>");
page = -1;
return;
}
$newPage = $("<div />").append(data);
$items.append($newPage);
$newPage.find("audio, video").mediaelementplayer({ stretching: 'responsive' });
});
}
});
});
</script>
<?php $__env->stopPush(); ?>
<?php else: ?>
<p>Er zijn geen fragmenten beschikbaar.</p>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@@ -1,567 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title><?php echo $__env->yieldContent('title'); ?></title>
<!--meta-->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.2" />
<meta name="format-detection" content="telephone=no" />
<meta name="keywords" content="Medic, Medical Center" />
<meta name="description" content="Responsive Medical Health Template" />
<!--style-->
<link href='//fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="/css/reset.css">
<link rel="stylesheet" type="text/css" href="/css/superfish.css">
<link rel="stylesheet" type="text/css" href="/css/prettyPhoto.css">
<link rel="stylesheet" type="text/css" href="/css/jquery.qtip.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<link rel="stylesheet" type="text/css" href="/css/menu_styles.css">
<link rel="stylesheet" type="text/css" href="/css/animations.css">
<link rel="stylesheet" type="text/css" href="/css/responsive.css">
<link rel="stylesheet" type="text/css" href="/css/odometer-theme-default.css">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
<link rel="stylesheet" type="text/css" href="/css/nhgooi.css">
<?php echo $__env->yieldPushContent('styles'); ?>
<link rel="shortcut icon" href="/images/favicon.ico">
</head>
<!--<body class="image_1">
<body class="image_1 overlay">
<body class="image_2">
<body class="image_f2 overlay">
<body class="image_3">
<body class="image_3 overlay">
<body class="image_4">
<body class="image_4 overlay">
<body class="image_5">
<body class="image_5 overlay">
<body class="pattern_1">
<body class="pattern_2">
<body class="pattern_3">
<body class="pattern_4">
<body class="pattern_5">
<body class="pattern_6">
<body class="pattern_7">
<body class="pattern_8">
<body class="pattern_9">
<body class="pattern_10">-->
<body>
<div class="site_container boxed">
<!--<div class="header_top_bar_container style_2 clearfix">
<div class="header_top_bar_container style_2 border clearfix">
<div class="header_top_bar_container style_3 clearfix">
<div class="header_top_bar_container style_3 border clearfix">
<div class="header_top_bar_container style_4 clearfix">
<div class="header_top_bar_container style_4 border clearfix">
<div class="header_top_bar_container style_5 clearfix">
<div class="header_top_bar_container style_5 border clearfix"> -->
<div class="header_top_bar_container style_11 clearfix">
<div class="header_top_bar">
<form class="search">
<input type="text" name="s" placeholder="Search..." value="Search..." class="search_input hint">
<input type="submit" class="search_submit" value="">
<input type="hidden" name="page" value="search">
</form>
<!--<ul class="social_icons dark clearfix">
<ul class="social_icons colors clearfix">-->
<ul class="social_icons clearfix">
<li>
<a target="_blank" href="http://facebook.com/QuanticaLabs" class="social_icon facebook" title="facebook">
&nbsp;
</a>
</li>
<li>
<a target="_blank" href="https://twitter.com/QuanticaLabs" class="social_icon twitter" title="twitter">
&nbsp;
</a>
</li>
<li>
<a href="mailto:contact@pressroom.com" class="social_icon mail" title="mail">
&nbsp;
</a>
</li>
<li>
<a href="http://themeforest.net/user/QuanticaLabs/portfolio" class="social_icon envato" title="envato">
&nbsp;
</a>
</li>
<!--<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon behance">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon bing">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon blogger">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon deezer">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon designfloat">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon deviantart">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon digg">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon dribbble">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon flickr">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon form">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon forrst">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon foursquare">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon friendfeed">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon googleplus">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon instagram">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon linkedin">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon mobile">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon myspace">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon picasa">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon pinterest">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon reddit">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon rss">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon skype">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon soundcloud">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon spotify">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon stumbleupon">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon technorati">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon tumblr">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon vimeo">
&nbsp;
</a>
</li>
<li>
a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon wykop">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon xing">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon youtube">
&nbsp;
</a>
</li>-->
</ul>
<div class="latest_news_scrolling_list_container">
<ul>
<li class="category">Laatste nieuws:</li>
<li class="left"><a href="#"></a></li>
<li class="right"><a href="#"></a></li>
<li class="posts">
<ul class="latest_news_scrolling_list">
<li>
<a href="?page=post" title="">Climate Change Debate While Britain Floods</a>
</li>
<li>
<a href="?page=post" title="">The Public Health Crisis Hiding in Our Food</a>
</li>
<li>
<a href="?page=post" title="">Nuclear Fusion Closer to Becoming a Reality</a>
</li>
</ul>
</li>
<li class="date">
<abbr title="04 Apr 2014" class="timeago current">04 Apr 2014</abbr>
<abbr title="04 May 2014" class="timeago">04 May 2014</abbr>
<abbr title="04 June 2014" class="timeago">04 June 2014</abbr>
</li>
</ul>
</div>
</div>
</div>
<style>
img.ri{ max-width:100%; height: 90px; }
img.ri:empty{ }
@media screen and (max-width:767px) and (orientation: portrait) {
img.ri { max-width: 90%; height: auto; }
}
@media screen and (max-width:767px) and (orientation: landscape) {
img.ri { max-height: 90%; height: auto; }
}
</style>
<div class="header_container small">
<div class="header clearfix">
<div class="logo">
<!--
<h1><a href="?page=home" title="Pressroom">Pressroom</a></h1>
<h4>News and Magazine Template</h4>
-->
<img src="/images/logo.png" class="ri" />
</div>
<div class="placeholder">
On air: Vroeger of Later
</div>
</div>
</div>
<div class="menu_container sticky clearfix">
<?php echo $__env->make('_menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
<!-- Content -->
<div class="page">
<?php echo $__env->yieldContent('content'); ?>
</div><!--/.page-->
<!-- Footer -->
<div class="footer_container">
<div class="footer clearfix>
<div class="row">
<div class="column column_1_3">
<h4 class="box_header">About PressRoom</h4>
<p class="padding_top_bottom_25">Maecenas mauris elementum, est morbi interdum cursus at elite imperdiet libero. Proin odios dapibus integer an nulla augue pharetra cursus.</p>
<div class="row">
<div class="column column_1_2">
<h5>PressRoom Ltd.</h5>
<p>
33 Farlane Street<br>
25-100 Keilor East,<br>
Australia
</p>
</div>
<div class="column column_1_2">
<h5>Phone &amp; Fax</h5>
<p>
Phone: 1-800-64-38<br>
Fax: 1-800-64-39
</p>
</div>
</div>
<h4 class="box_header page_margin_top">Get In Touch With Us</h4>
<ul class="social_icons dark page_margin_top clearfix">
<li>
<a target="_blank" title="" href="http://facebook.com/QuanticaLabs" class="social_icon facebook">
&nbsp;
</a>
</li>
<li>
<a target="_blank" title="" href="https://twitter.com/QuanticaLabs" class="social_icon twitter">
&nbsp;
</a>
</li>
<li>
<a title="" href="mailto:contact@pressroom.com" class="social_icon mail">
&nbsp;
</a>
</li>
<li>
<a title="" href="#" class="social_icon skype">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon envato">
&nbsp;
</a>
</li>
<li>
<a title="" href="#" class="social_icon instagram">
&nbsp;
</a>
</li>
<li>
<a title="" href="#" class="social_icon pinterest">
&nbsp;
</a>
</li>
</ul>
</div>
<div class="column column_1_3">
<h4 class="box_header">Laatste nieuws:</h4>
<div class="vertical_carousel_container clearfix">
<ul class="blog small vertical_carousel autoplay-1 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
<li class="post">
<a href="?page=post_gallery" title="Study Linking Illnes and Salt Leaves Researchers Doubtful">
<span class="icon small gallery"></span>
<img src='images/samples/100x100/image_06.jpg' alt='img'>
</a>
<div class="post_content">
<h5>
<a href="?page=post_gallery" title="Study Linking Illnes and Salt Leaves Researchers Doubtful">Study Linking Illnes and Salt Leaves Researchers Doubtful</a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=health" title="HEALTH">HEALTH</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</div>
</li>
<li class="post">
<a href="?page=post" title="Syrian Civilians Trapped For Months Continue To Be Evacuated">
<img src='images/samples/100x100/image_12.jpg' alt='img'>
</a>
<div class="post_content">
<h5>
<a href="?page=post" title="Syrian Civilians Trapped For Months Continue To Be Evacuated">Syrian Civilians Trapped For Months Continue To Be Evacuated</a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=world" title="WORLD">WORLD</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</div>
</li>
<li class="post">
<a href="?page=post" title="Built on Brotherhood, Club Lives Up to Name">
<img src='images/samples/100x100/image_02.jpg' alt='img'>
</a>
<div class="post_content">
<h5>
<a href="?page=post" title="Built on Brotherhood, Club Lives Up to Name">Built on Brotherhood, Club Lives Up to Name</a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=sports" title="SPORTS">SPORTS</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</div>
</li>
<li class="post">
<a href="?page=post" title="Nuclear Fusion Closer to Becoming a Reality">
<img src='images/samples/100x100/image_13.jpg' alt='img'>
</a>
<div class="post_content">
<h5>
<a href="?page=post" title="Nuclear Fusion Closer to Becoming a Reality">Nuclear Fusion Closer to Becoming a Reality</a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=science" title="SCIENCE">SCIENCE</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
<div class="column column_1_3">
<h4 class="box_header">Latest Galleries</h4>
<div class="horizontal_carousel_container big page_margin_top">
<ul class="blog horizontal_carousel visible-1 autoplay-0 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
<li class="post">
<a href="?page=post_gallery" title="Struggling Nuremberg Sack Coach Verbeek">
<span class="icon gallery"></span>
<img src='images/samples/330x242/image_03.jpg' alt='img'>
</a>
<h5 class="with_number">
<a href="?page=post_gallery" title="Struggling Nuremberg Sack Coach Verbeek">Struggling Nuremberg Sack Coach Verbeek</a>
<a class="comments_number" href="?page=post_gallery#comments_list" title="2 comments">2<span class="arrow_comments"></span></a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=sports" title="SPORTS">SPORTS</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</li>
<li class="post">
<a href="?page=post_gallery" title="Built on Brotherhood, Club Lives Up to Name">
<span class="icon gallery"></span>
<img src='images/samples/330x242/image_14.jpg' alt='img'>
</a>
<h5 class="with_number">
<a href="?page=post_gallery" title="Built on Brotherhood, Club Lives Up to Name">Built on Brotherhood, Club Lives Up to Name</a>
<a class="comments_number" href="?page=post_gallery#comments_list" title="2 comments">2<span class="arrow_comments"></span></a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=sports" title="SPORTS">SPORTS</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</li>
<li class="post">
<a href="?page=post_gallery" title="New Painkiller Rekindles Addiction Concerns">
<span class="icon gallery"></span>
<img src='images/samples/330x242/image_04.jpg' alt='img'>
</a>
<h5 class="with_number">
<a href="?page=post_gallery" title="New Painkiller Rekindles Addiction Concerns">New Painkiller Rekindles Addiction Concerns</a>
<a class="comments_number" href="?page=post_gallery#comments_list" title="2 comments">2<span class="arrow_comments"></span></a>
</h5>
<ul class="post_details simple">
<li class="category"><a href="?page=category&amp;cat=sports" title="SPORTS">SPORTS</a></li>
<li class="date">
10:11 PM, Feb 02
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="row page_margin_top_section">
<div class="column column_3_4">
<ul class="footer_menu">
<li>
<h4><a href="?page=category&amp;cat=world" title="World">World</a></h4>
</li>
<li>
<h4><a href="?page=category&amp;cat=health" title="Health">Health</a></h4>
</li>
<li>
<h4><a href="?page=category&amp;cat=sports" title="Sports">Sports</a></h4>
</li>
<li>
<h4><a href="?page=category&amp;cat=science" title="Science">Science</a></h4>
</li>
<li>
<h4><a href="?page=category&amp;cat=lifestyle" title="Lifestyle">Lifestyle</a></h4>
</li>
</ul>
</div>
<div class="column column_1_4">
<a class="scroll_top" href="#top" title="Scroll to top">Top</a>
</div>
</div>
<div class="row copyright_row">
<div class="column column_2_3">
© Copyright <a href="http://quanticalabs.com" title="QuanticaLabs" target="_blank">QuanticaLabs</a> - PressRoom Template. <a href="https://themeforest.net/cart/add_items?item_ids=9066845&ref=QuanticaLabs" title="PressRoom Template" target="_blank">Click here to buy it</a>
</div>
<div class="column column_1_3">
<ul class="footer_menu">
<li>
<h6><a href="?page=about" title="About">About</a></h6>
</li>
<li>
<h6><a href="?page=authors" title="Authors">Authors</a></h6>
</li>
<li>
<h6><a href="?page=contact" title="Contact Us">Contact Us</a></h6>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="background_overlay"></div>
<!--js-->
<script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="/js/jquery-migrate-1.4.1.min.js"></script>
<script type="text/javascript" src="/js/jquery.ba-bbq.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.11.1.custom.min.js"></script>
<script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="/js/jquery.carouFredSel-6.2.1-packed.js"></script>
<script type="text/javascript" src="/js/jquery.touchSwipe.min.js"></script>
<script type="text/javascript" src="/js/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="/js/jquery.transit.min.js"></script>
<script type="text/javascript" src="/js/jquery.sliderControl.js"></script>
<script type="text/javascript" src="/js/jquery.timeago.js"></script>
<script type="text/javascript" src="/js/jquery.hint.js"></script>
<script type="text/javascript" src="/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="/js/jquery.qtip.min.js"></script>
<script type="text/javascript" src="/js/jquery.blockUI.js"></script>
<script type="text/javascript" src="/js/main.js"></script>
<script type="text/javascript" src="/js/odometer.min.js"></script>
<?php echo $__env->yieldPushContent('scripts'); ?>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?php $__env->startSection('title'); ?>
<?php if($title): ?> <?php echo e($title); ?> - Nieuws <?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<h1>Nieuwsarchief 6FM</h1>
<?php if($title): ?> <h2> <a href="<?php echo e(url('nieuws')); ?>" title="Terug naar het nieuwsoverzicht" class="btn btn-primary"><i class="icon-arrow-small-left"></i></a> <?php echo e($title); ?> </h2> <?php endif; ?>
<section class="page-content col-lg-8 col-md-12">
<div id="items">
<?php echo $__env->make('newslistitems', ['news' => $news], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
<div id="loading" style="display: none">
<div class="progress progress-striped active">
<div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<b>Meer nieuwsberichten ophalen...</b>
</div>
</div>
</div>
</section>
<script>
var page = 1;
var isLoading = 0;
var $items = $('#items');
var $isLoading = $('#loading');
$(function() {
$(window).scroll(function () {
var $this = $(this);
var tweak = 10;
if(!isLoading && (page > 0) && ($this.scrollTop() >= $items.height() - $this.height() - tweak))
{
isLoading = 1;
$isLoading.show();
$.ajax({ url: document.location.pathname + '?pagina=' + (++page) })
.always(function() { isLoading = 0; $isLoading.hide(); })
.done(function(data) {
if(!data) {
page = -1;
return;
}
$items.append(data); if(!data) alert( "No more data");
});
}
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@@ -1,19 +0,0 @@
<?php $__env->startPush('scripts'); ?>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.7/mediaelement-and-player.min.js"></script>
<script type="text/javascript">
var pluginPath = 'https://cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.7/';
$("audio").mediaelementplayer({
pluginPath: pluginPath,
stretching: 'responsive',
});
$("video").mediaelementplayer({
pluginPath: pluginPath,
videoWidth: '100%',
videoHeight: '100%',
enableAutosize: true,
});
</script>
<?php $__env->stopPush(); ?>
<?php $__env->startPush('styles'); ?>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/mediaelement/4.2.7/mediaelementplayer.css" />
<?php $__env->stopPush(); ?>

View File

@@ -1,27 +0,0 @@
<?php ($date = null); ?><?php ($now = new \DateTime("now")); ?>
<?php $__currentLoopData = $schedule; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(($formattedDate = Formatter::fullDate($item['starttime'], 'W d m')) != $date): ?>
<?php ($date = $formattedDate); ?>
<?php if($date != null): ?> </table> <?php endif; ?>
<h2><?php echo e($formattedDate); ?></h2>
<table class="table table-hover">
<?php endif; ?>
<?php ($isCurrent = ($now >= $item['starttime']) && ($now <= $item['endtime'])); ?>
<?php ($class =( $item['program']->priority < 2 ? 'bg-primary'
:( $item['program']->nonstop || $item['program']->rerun ? 'text-muted'
:( $isCurrent ? 'bg-info active text-primary'
:( ''
))))); ?>
<tr <?php if($class): ?> class="<?php echo e($class); ?>" <?php endif; ?>>
<td class="time"><p><?php echo e($item['starttime']->format('H:i')); ?> &ndash; <?php echo e($item['endtime']->format('H:i')); ?> uur</p></td>
<td class="title">
<p><a title="<?php echo e($item['program']->name); ?>" href="programma<?php echo e($item['program']->url); ?>"><?php echo e($item['program']->name); ?>
<?php if($isCurrent): ?> <span class="bg-primary current-marker">Nu op NH Gooi</span> <?php endif; ?>
</a><p>
<p><?php echo e(Formatter::excerpt(strip_tags($item['program']->description), 200)); ?></p>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</table>

View File

@@ -1,121 +0,0 @@
<?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 &ndash; 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(); ?>

View File

@@ -1,31 +0,0 @@
<div class="row blocks blocks-large" data-displayswitch="blocksContainer">
<?php ($i = 0); ?>
<?php $__currentLoopData = $news; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $newsItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php ($image = count($newsItem->images) ? $newsItem->images[0] : null); ?>
<div class="block block-news col-md-4 col-sm-6 col-xs-12">
<a href="<?php echo e(url($newsItem->url)); ?>" title="<?php echo e($image ? $image->title : $newsItem->title); ?>" alt="<?php echo e($image ? $image->title : $newsItem->title); ?>">
<figure>
<div class="image-box">
<?php if($newsItem->video): ?> <span class="item-type icon-video"></span> <?php endif; ?>
<img alt="<?php echo e($image ? $image->title : $newsItem->title); ?>" src="<?php echo e($image ? url( $image->url ) : url( $newsItem->video ? 'images/video.png' : 'images/noimage.png')); ?>" title="<?php echo e(strip_tags($image ? $image->title : $newsItem->title)); ?>" <?php if(!$image): ?> class="hidden-xs" <?php endif; ?>>
</div>
<figcaption>
<h3 class="block-title"><?php echo e($newsItem->title); ?></h3>
<p class="block-lead hidden-xs">
<?php echo Formatter::excerpt($newsItem->content, 250); ?>
</p>
</figcaption>
</figure>
</a>
</div>
<?php ($i++); ?>
<?php if($i % 3 == 0 && $i != count($news) - 1): ?>
</div>
<div class="row blocks blocks-large" data-displayswitch="blocksContainer">
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>

View File

@@ -1,8 +0,0 @@
<?php $__env->startSection('content'); ?>
<div class="clearfix" style="height: 15px;"></div>
<div class="page_header clearfix page_margin_top">
<h1 class="page_title"><?php echo $__env->yieldContent('title'); ?></h1>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@@ -1,83 +0,0 @@
<!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>

View File

@@ -1,123 +0,0 @@
<?php $__env->startSection('title'); ?>
Radioprogrammering
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
##parent-placeholder-040f06fd774092478d450774f5ba30c5da78acc8##
<nav>
<ul class="pager">
<li class="previous-week"><a href="#">&larr; Week eerder</a></li>
<li class="current-week"><a href="#">Deze week</a></li>
<li class="next-week"><a href="#">Week later &rarr;</a></li>
</ul>
</nav>
<div id="loading" style="display: none; height: 300px;">
<div class="progress progress-striped active">
<div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<b>Programmaschema ophalen...</b>
</div>
</div>
</div>
<div id='schedule'>
<?php echo $__env->make('radioscheduleweek', ['schedule' => $schedule], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
<style type="text/css">
#schedule table {
margin-left: 10px;
}
#schedule table tr {
}
#schedule table td {
height: 70px;
vertical-align: top;
}
#schedule table td.time {
min-width: 150px;
}
#schedule table td.title {
width: auto;
}
#schedule table td a {
display: block;
width: 100%;
}
#schedule .current-marker {
margin-left: 3px;
padding: 5px !important;
}
</style>
<nav>
<ul class="pager">
<li class="previous-week"><a href="#">&larr; Week eerder</a></li>
<li class="current-week"><a href="#">Deze week</a></li>
<li class="next-week"><a href="#">Week later &rarr;</a></li>
</ul>
</nav>
<script type="text/javascript">
var week = 0;
var $loading = $("#loading");
var $schedule = $("#schedule");
function gotoPage(week) {
$loading.css('height', $schedule.height() + 'px').show();
$schedule.hide();
window.location.hash = (!week) ? "deze-week"
: (week < 0) ? (week == -1 ? "1-week-geleden" : (-week) + "-weken-geleden")
: "over-" + (week == 1 ? "1-week" : week + "-weken");
$.ajax({
'url': '<?php echo e(url('gids')); ?>/' + week,
'success': function(html, status, xhr) {
$schedule.hide().html(html).fadeIn();
scrollToMiddle($(".current-marker"));
}
}).done(function(data) { $loading.hide(); });
}
$(".pager .previous-week").click(function(e) { gotoPage(--week); e.preventDefault(); });
$(".pager .current-week").click(function(e) { gotoPage(week = 0); e.preventDefault(); });
$(".pager .next-week").click(function(e) { gotoPage(++week); e.preventDefault(); });
window.onhashchange = function() {
if(window.location.hash == "#deze-week") {
newWeek = 0;
} else if(window.location.hash.endsWith("1-week-geleden")) {
newWeek = -1;
} else if(window.location.hash.endsWith("over-1-week")) {
newWeek = 1;
} else if(window.location.hash.endsWith("weken-geleden")) {
newWeek = -parseInt(window.location.hash.substr(1));
} else if(window.location.hash.startsWith("#over-")) {
newWeek = parseInt(window.location.hash.substr(6));
}
if(newWeek != week) {
gotoPage(newWeek);
}
}
function scrollToMiddle($elt) {
if($elt.length == 0) { return; }
var elem_position = $elt.offset().top;
var window_height = $(window).height();
var y = elem_position - window_height / 2;
window.scrollTo(0,y);
}
scrollToMiddle($(".current-marker"));
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@@ -1,192 +0,0 @@
<?php echo $__env->make('_mediaplayer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->startSection('title'); ?>
Fragment gemist | <?php echo e($podcast->title); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script>
$(".vertical_carousel").each(function() {
$(this).before("<a class='slider_control up' id='" + this.id + "_prev' href='#' title='Terug'></a>");
$(this).after("<a class='slider_control down' id='" + this.id + "_next' href='#' title='Verder'></a>");
var carouselOptions = {
direction: "up",
items: {
visible: 3,
},
scroll: {
items: 2,
duration: 500,
pauseOnHover: true
},
auto: {
items: 3,
play: true,
pauseOnHover: true,
},
mousewheel: true,
swipe: {
onMouse: true,
onTouch: true
},
prev: {
button: $('.slider_control.up', $(this).parent()),
pauseOnHover: true,
},
next: {
button: $('.slider_control.down', $(this).parent()),
pauseOnHover: true,
},
};
$(this).carouFredSel(carouselOptions);
$(this).parent().parent().hover(function(){
$(".up.slider_control", this).removeClass("slideDownBack").addClass("slideDown");
$(".down.slider_control", this).removeClass("slideUpBack").addClass("slideUp");
},
function(){
$(".up.slider_control", this).removeClass("slideDown").addClass("slideDownBack");
$(".down.slider_control", this ).removeClass("slideUp").addClass("slideUpBack");
});
// $(window).trigger("resize");
});
</script>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<?php
$audioUrl = url( $apiUrl . 'podcast/download/' . $podcast->url . "?auth=" . $podcast->auth );
$popoutUrl = url('luister/fragment/' . $podcast->url . '?auth=' . $podcast->auth );
?>
<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>Fragment gemist</h1>
<h2 class="post_title"><?php echo e($podcast->title); ?></h2>
<ul class="post_details clearfix">
<?php if($podcast->program): ?>
<li class="detail"><a href="<?php echo e(url('programma' . $podcast->program->url )); ?>"><?php echo e($podcast->program->name); ?></a></li>
<?php endif; ?>
<li class="detail date"><?php echo e(Formatter::relativeDate($podcast->created)); ?></li>
</ul>
<div class="post_content page_margin_top_section clearfix">
<h3><?php echo $podcast->content; ?></h3>
</div>
<p>
<audio controls autoplay="true">
<source src="<?php echo e($audioUrl); ?>" type="audio/mpeg" />
</audio>
</p>
<div class="row page_margin_top">
<div class="share_box clearfix">
<a class="action_button" href="<?php echo e($audioUrl); ?>" title="Download dit fragment als MP3">
<span class="fa fa-download"></span>
<span>Download fragment</span>
</a>
<a class="action_button" href="<?php echo e($popoutUrl); ?>" target="_radioplayer" onclick="window.open('<?php echo e($popoutUrl); ?>', '_radioplayer','width=400,height=400'); return false;" class="btn btn-default">
<span class="fa fa-external-link-alt"></span>
<span>Luister in nieuw venster</span>
</a>
</div>
</div>
</div>
</div>
<!--
<div class="row page_margin_top">
<div class="share_box clearfix">
<label>Share:</label>
<ul class="social_icons clearfix">
<li>
<a target="_blank" title="" href="http://facebook.com/QuanticaLabs" class="social_icon facebook">
&nbsp;
</a>
</li>
<li>
<a target="_blank" title="" href="https://twitter.com/QuanticaLabs" class="social_icon twitter">
&nbsp;
</a>
</li>
<li>
<a title="" href="mailto:contact@pressroom.com" class="social_icon mail">
&nbsp;
</a>
</li>
<li>
<a title="" href="#" class="social_icon skype">
&nbsp;
</a>
</li>
<li>
<a title="" href="http://themeforest.net/user/QuanticaLabs?ref=QuanticaLabs" class="social_icon envato">
&nbsp;
</a>
</li>
<li>
<a title="" href="#" class="social_icon instagram">
&nbsp;
</a>
</li>
<li>
<a title="" href="#" class="social_icon pinterest">
&nbsp;
</a>
</li>
</ul>
</div>
</div>
-->
</div>
<div class="column column_1_3">
<?php if(count($related) > 1): ?>
<h4 class="box_header page_margin_top_section">Meer uit deze uitzending</h4>
<div class="vertical_carousel_container clearfix">
<ul class="blog podcasts vertical_carousel" id="related_items">
<?php $__currentLoopData = $related; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $relatedItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($relatedItem->id == $podcast->id): ?> <?php continue; ?> <?php endif; ?>
<li class="post">
<div class="post_content">
<h5>
<a href="<?php echo e(url('radio/gemist/fragment/' . $relatedItem->url)); ?>" title="<?php echo e($relatedItem->title); ?>">
<span class="fa fa-chevron-circle-right"></span>
<?php echo e($relatedItem->titleWithoutProgram()); ?>
</a>
</h5>
<p class="post_details simple" title="<?php echo e($relatedItem->content); ?>">
<?php echo e(Formatter::excerpt($relatedItem->content, 80)); ?>
</p>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<a href="<?php echo e(url('radio/gemist/programma' . $podcast->program->url)); ?>" class="more">Meer <?php echo e($podcast->program->name); ?></a>
<?php endif; ?>
<h4 class="box_header page_margin_top_section">Meer fragmenten</h4>
<nav>
<ul class="blog podcasts">
<li class="post">
<a href="<?php echo e(url('radio/gemist')); ?>" class="read_more">
<span class="arrow"></span>
<span>Alle recente fragmenten</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@@ -1,39 +0,0 @@
<?php ($i = 0); ?>
<?php $__currentLoopData = $podcasts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $podcast): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($i % 2 == 0): ?>
<?php if($i > 0): ?> </ul><!--/.row--> <?php endif; ?>
<ul class='blog row grid'>
<?php endif; ?>
<?php $url = url('radio/gemist/fragment/' . $podcast->url); ?>
<li class="post column column_1_2">
<div class="post_content">
<h2><a href="<?php echo e($url); ?>" title="<?php echo e($podcast->title); ?>"><?php echo $podcast->title; ?></a></h2>
<ul class="post_details">
<?php if($podcast->program): ?>
<li class="category">
<a href="<?php echo e(url('radio/programma' . $podcast->program->url )); ?>" title="<?php echo e($podcast->program->name); ?>"><?php echo e($podcast->program->name); ?></a>
</li>
<?php endif; ?>
<li class="date">
<?php echo e(Formatter::relativeDate($podcast->created)); ?>
</li>
</ul>
<?php if($podcast->image): ?>
<p>
<a href="<?php echo e($url); ?>" title="<?php echo e($podcast->title); ?>">
<img src='//nhgooi.nl/<?php echo e($podcast->image->url); ?>' alt='<?php echo e($podcast->image->title); ?>'>
</a>
</p>
<?php endif; ?>
<p><?php echo Formatter::excerpt($podcast->content, 200); ?></p>
<a class="read_more" href="<?php echo e(url('radio/gemist/fragment/' . $podcast->url)); ?>" title="Luister fragment"><span class="arrow"></span><span>Luister fragment</span></a>
</div>
</li>
<?php ($i++); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if($i): ?>
</ul><!--/.row-->
<?php endif; ?>

View File

@@ -1,72 +0,0 @@
<?php $menu = array(
"Nieuws" => "/nieuws",
"Radio" => array(
"" => "/radio",
"Luister live" => "/luister/live",
"Regionieuws" => "/luister/regionieuws",
"Programmagids" => "/radio/gids",
"Fragment gemist" => "/radio/gemist",
"Zondagsdienst" => "/kerkdienst"),
"TV" => array(
"Kijk live" => "/kijk/live"),
"Regioagenda" => "/agenda",
"Contact" => "/contact");
?>
<?php
function isActive($link) {
if(is_array($link)) {
foreach($link as $item => $link) {
if(isActive($link)) { return true; }
}
return false;
}
return (substr($_SERVER["REQUEST_URI"], 0, strlen($link)) == $link);
}
function buildMenu($menu) {
$result = "";
foreach($menu as $title => $link) {
if($title == "") { continue; }
$submenu = is_array($link);
$isactive = isActive($link);
$submenulink = $submenu && isset($link[""]) ? $link[""] : "#";
if(!$submenu && substr($link, 0, 8) == "/luister") { $icon = "<span class='fas fa-headphones'></span>&nbsp;"; }
else { $icon = ""; }
$result .=
"<li class=\"" . ($submenu ? "submenu" : "") . ($isactive ? " selected" : "") . "\">
<a href=\"" . ($submenu ? $submenulink : $link) . "\" title=\"{$title}\">{$icon}{$title}</a>";
if($submenu) {
$result .= "\t\t\t<ul>\n"
. buildMenu($link)
. "\t\t\t</ul>\n";
}
$result .= "\t\t</li>\n";
}
return $result;
}
?>
<nav>
<!-- TODO: Mark selected, recursive menus, listen / watch icons -->
<ul class="sf-menu">
<?php echo buildMenu($menu); ?>
</ul>
</nav>
<div class="mobile_menu_container">
<a href="#" class="mobile-menu-switch">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</a>
<div class="mobile-menu-divider"></div>
<nav>
<ul class="mobile-menu">
<?php echo buildMenu($menu); ?>
</ul>
</nav>
</div>

View File

@@ -1,124 +0,0 @@
<?php $__env->startSection('title'); ?>
Regioagenda
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<h1>Regioagenda</h1>
<?php if(!count($events)): ?>
<p>Er zijn geen items in de regioagenda. Iets te melden? Mail het naar <?php echo e(Html::mailto("info@6fm.nl")); ?>.</p>
<?php else: ?>
<nav>
<ul class="pager">
<li class="previous-month"><a href="#">&larr; Eerder</a></li>
<li class="current-month"><a href="#">Komende week</a></li>
<li class="everything"><a href="#">Toon alles</a></li>
<li class="next-month"><a href="#">Later &rarr;</a></li>
</ul>
</nav>
<div class="month" data-month="0">
<h2>Komende week</h2>
<?php ($nextWeek = new \DateTimeImmutable('midnight +7 days')); ?>
<?php ($heading = null); ?>
<?php ($month = 0); ?>
<?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($event->starts >= ($heading ? $heading : $nextWeek)): ?>
</div>
<div class="month" data-month="<?php echo e(++$month); ?>">
<h2><?php echo e($heading ? "De agenda van" : "De rest van"); ?> <?php echo e(Formatter::fullDate($event->starts, 'm y?')); ?></h2>
<?php ($heading = new \DateTimeImmutable('first day of next month ' . $event->starts->format('Y-m-d'))); ?>
<?php endif; ?>
<div class='row details' data-index="<?php echo e($month); ?>">
<?php ($image = count($event->images) ? $event->images[0] : null); ?>
<div class='col-lg-3 <?php if(!$image): ?> hidden-sm hidden-xs <?php endif; ?>'>
<div class="news-item news-item-small wow fadeInDown">
<div class="thumb">
<a href="<?php echo e($event->url); ?>" rel="bookmark" title="<?php echo e($event->title); ?>">
<img style="width: 100%;" src="<?php echo e($image ? url( $image->url ) : url( 'images/noimage.png')); ?>" alt="<?php echo e($image ? $image->title : $event->title); ?>" title="<?php echo e($image ? $image->title : $event->title); ?>"/>
</a>
</div><!--/.thumb-->
</div><!--/.wow-->
</div><!--/.col-->
<div class='col-lg-9'>
<h2><a href="<?php echo e($event->url); ?>"><?php echo e($event->title); ?></a></h2>
<div class="event-date">
<?php echo e(Formatter::relativeDate($event->starts, 'W d m y?')); ?> <?php if($event->ends && $event->starts != $event->ends): ?> t/m <?php echo e(Formatter::relativeDate($event->ends, 'd m y?')); ?> <?php endif; ?>
</div>
<b><?php echo e($event->region); ?>.</b> <?php echo Formatter::excerpt($event->content, 250); ?>
<p><a href="<?php echo e($event->url); ?>" class="btn btn-info">Lees verder</a>
</div><!--/.col-->
</div><!--/.row-->
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<nav>
<ul class="pager">
<li class="previous-month"><a href="#">&larr; Eerder</a></li>
<li class="current-month"><a href="#">Komende week</a></li>
<li class="everything"><a href="#">Toon alles</a></li>
<li class="next-month"><a href="#">Later &rarr;</a></li>
</ul>
</nav>
<script type="text/javascript">
var month = 0;
var months = <?php echo e($month); ?>;
var $current = null;
function gotoPage(month) {
$new = (month === null) ? $(".month") : $(".month[data-month=" + month + "]");
if($current == null) {
$(".month").hide("fast");
$new.fadeIn("fast");
} else {
($container = $("#contentSection")).css('height', $container.height() + "px").css('overflow', 'hidden');
animations = $current.length;
$current.fadeOut("fast", function() {
$new.fadeIn("fast", function() {
if(--animations > 0) { return; }
curHeight = $container.height();
autoHeight = $container.css('height', 'auto').height();
$container.height(curHeight).animate({ height: autoHeight }, 250, function() {
$container.css('height', 'auto');
});
});
});
}
$current = $new;
window.location.hash = (month === null) ? "alles" : ("page-" + month);
$previous = $(".pager .previous-month, .pager .current-month");
if(month == 0) { $previous.addClass('disabled'); } else { $previous.removeClass('disabled'); }
$next = $(".pager .next-month");
if(month == months) { $next.addClass('disabled'); } else { $next.removeClass('disabled'); }
}
$(".pager .previous-month").click(function(e) { if(month > 0) gotoPage(--month); e.preventDefault(); });
$(".pager .current-month").click(function(e) { if(month != 0) gotoPage(month = 0); e.preventDefault(); });
$(".pager .next-month").click(function(e) { if(month < months) gotoPage(++month); e.preventDefault(); });
$(".pager .everything").click(function(e) { gotoPage(null); e.preventDefault(); });
gotoPage(0);
window.onhashchange = function() {
if(window.location.hash == "#alles") {
gotoPage(null);
} else {
newMonth = window.location.hash.substr(6);
if(newMonth != month) {
gotoPage(newMonth);
}
}
}
</script>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@@ -1,20 +0,0 @@
<?php $__env->startSection('title'); ?>
Kijk NH Gooi TV
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<h1>NH Gooi TV</h1>
<?php if(false): ?>
<p>Wegens een technisch probleem is NH Gooi TV momenteel niet via Internet te bekijken. Onze excuses voor het ongemak.</p>
<?php else: ?>
<div width="50%" style="width:100%; position:relative;">
<video width="640" height="360" style="max-width:100%; height:100%;" preload="auto" autoplay controls="controls">
<source src="http://studiohilversum.6fm.nl:7007/hls/6fmtv.m3u8" type="application/x-mpegURL" />
</video>
</div>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

File diff suppressed because it is too large Load Diff