Erste-Hilfe-Liste für ' . $event_name . '
Vorname | ' . 'Nachname | ' . 'Stamm | ' . 'Alter | ' . 'Badeerlaubnis | ' . 'Allergien | ' . 'Medikamente | ' . 'Bemerkungen | '; } public function __construct() { global $_POST, $_REQUEST, $dbHandler; $event = Event::loadById( $_REQUEST['event-id'] ); $output = ''; $i = 0; foreach ( $event->tribes as $tribe => $participants ) { if ( count( $participants ) == 0 ) { continue; } foreach ( $participants as $participant ) { if ( $i == 0 ) { $output .= $this->get_table_header( $event->event_name ); } $i ++; $output .= '
' . $participant->vorname . ' | ' .
'' . $participant->nachname . ' | ' . '' . $tribe . ' | ' . '' . $participant->get_age() . ' | ' . '' . BathRequest::send($participant) . ' | ' . '' .$participant->allergien . ' | ' . '' .$participant->medikamente . ' | ' . '' .$participant->anmerkungen . ' |