Kommende aktiviteter
getNextDays() as $period => $events) if ($events && $counter1 < 3 && $counter2 < 10) { $counter1++ ?>
= $translation[$period] ?>
- = $event->getName(); ?> + */ ?> ' . $event->getStart()->format('H:i') . ''; if (\pvv\side\Agenda::isThisWeek($event->getStart()) || $event->getStart()->sub(new DateInterval('P3D'))->getTimestamp() < time()) { echo '' . strftime('%a', $event->getStart()->getTimestamp()) . ''; } else { echo '' . strftime('%e. %b', $event->getStart()->getTimestamp()) . ''; } } else { echo '' . $event->getStart()->format('H:i') . ''; } ?>
";
if($title == ""){
echo "Dagens melding";
}else{
echo $title;
}
echo "";
echo "
" . implode($motd["content"], "
") . "