foreach($events as $event): ?>
if(@$event['special'] == 'daychange'): ?>
=h($event['title'])?>
elseif(@$event['special'] == 'gap'): ?>
elseif(@$event['special'] == 'pause'): ?>
=h($event['title'])?>
else: ?>
=h(strftime('%H:%M', $event['start']))?>
–
=h(strftime('%H:%M', $event['end']))?>
–
=h($name)?>
=h($event['title'])?>
endif ?>
endforeach ?>