$bandId, 'user_id' => $user['id'] ?? null, 'event_date' => $_POST['event_date'] ?? '', 'location' => trim((string) $_POST['location'] ?? ''), 'budget' => (int) ($_POST['budget'] ?? 0), 'event_type' => trim((string) $_POST['event_type'] ?? ''), 'message' => trim((string) $_POST['message'] ?? ''), ]; if (!$data['event_date'] || !$data['location']) { $error = 'Bitte Datum und Ort ausfüllen.'; } else { createRequest($data); $message = 'Anfrage gespeichert und an die Band gemeldet.'; sendEmail('info@' . preg_replace('/\s+/', '', strtolower($band['name'])) . '.ch', 'Neue Anfrage', 'Neue Anfrage für ' . $band['name']); } } $settings = settings(); ?>
PayPal Zahlungsabwicklung ist = $settings['paypal_enabled'] === '1' ? 'aktiviert' : 'optional' ?>, Service Fee: = htmlspecialchars($settings['service_fee']) ?>%.