'mo', 'TU' => 'di', 'WE' => 'mi', 'TH' => 'do', 'FR' => 'fr', 'SA' => 'sa', 'SU' => 'so']; foreach (explode(',', $matches[1]) as $day) { if (isset($map[$day])) { $selectedWeekdays[] = $map[$day]; } } } $priceModeValue = 'none'; $freeChildUntilAge = ''; $priceChildAmount = ''; $priceChildAgeFrom = ''; $priceChildAgeTo = ''; $priceAdultAmount = ''; $priceAdultAgeFrom = ''; if ($editingListing && !empty($editListing['prices']) && is_array($editListing['prices'])) { foreach ($editListing['prices'] as $priceRow) { $audience = (string)($priceRow['audience'] ?? ''); $priceType = (string)($priceRow['price_type'] ?? ''); $note = (string)($priceRow['note'] ?? ''); if ($priceType === 'free') { $priceModeValue = 'free_child_rule'; if (preg_match('/bis\s+(\d+)/u', $note, $m)) { $freeChildUntilAge = $m[1]; } } elseif ($audience === 'child') { $priceModeValue = 'paid'; $priceChildAmount = (string)($priceRow['amount'] ?? ''); if (preg_match('/ab\s+(\d+)/u', $note, $m)) { $priceChildAgeFrom = $m[1]; } if (preg_match('/bis\s+(\d+)/u', $note, $m)) { $priceChildAgeTo = $m[1]; } } elseif ($audience === 'adult') { $priceModeValue = 'paid'; $priceAdultAmount = (string)($priceRow['amount'] ?? ''); if (preg_match('/ab\s+(\d+)/u', $note, $m)) { $priceAdultAgeFrom = $m[1]; } } } } $editingChild = isset($editChild) && $editChild !== null; $childAction = $editingChild ? 'child_update' : 'child_add'; $childModalTitle = $editingChild ? 'Kind bearbeiten' : 'Kind hinzufügen'; $sectionLinks = [ 'profile' => 'Profil', 'children' => 'Kinder', 'events' => 'Events', 'community' => 'Community', 'settings' => 'Einstellungen', ]; if (!empty($canManageSystemSettings)) { $sectionLinks['system'] = 'System'; } ?>

Mitgliederbereich

Hallo, !

Verwalte dein Profil, Kinder, Events und Teilnahmen.

Fehler: