setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$agenda = new \pvv\side\Agenda([
new \pvv\side\DBActivity($pdo),
]);
?>
Kursverkstedet
getEventsBetween(new \DateTimeImmutable, (new \DateTimeImmutable)->add(new \DateInterval('P1M'))) as $event) { ?>
getImageURL()) { ?>
getStart())) { ?>
= $event->getRelativeDate() ?>
getStart())) { ?>
= $event->getName() ?>
- Tid: = trim(strftime('%e. %b %H.%M', $event->getStart()->getTimeStamp())) ?>
- Sted: = $event->getLocation() ?>
- Arrangør: = $event->getOrganiser() ?>
getDescription(); ?>
= implode($description, "\n") ?>
4) {$limit = 4;} else $limit = 2; ?>