' . $event_name . ' - Foto-Erlaubnis
' . '

' . '' . '' . '' . '' . '' . '' . '' . ''; } public function __construct() { global $_POST, $_REQUEST, $dbHandler; $event = Event::loadById($_REQUEST['event-id']); $participantList = EventParticipant::list_for_event($event->id); $output = ''; $i = 0; foreach ($participantList as $participant) { if ( $i == 0 ) { $output .= $this->get_table_header( $event->event_name ); } $i++; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; if ( $i == 8 ) { $output .= '
NameFoto-Erlaubnis Social-MediaFoto-Erlaubnis Print-MediaFoto-Erlaubnis Webseite(n)Foto-Erlaubnis Partner-MailingsFoto-Erlaubnis Interne Archive
' . $participant->vorname . ($participant->pfadiname != '' ? ' (' . $participant->pfadiname . ')' : '') . ' ' . $participant->nachname . '' . ($participant->foto_socialmedia == true ? 'X' : '---') . '' . ($participant->foto_print == true ? 'X' : '---') . '' . ($participant->foto_webseite == true ? 'X' : '---') . '' . ($participant->foto_partner == true ? 'X' : '---') . '' . ($participant->foto_intern == true ? 'X' : '---') . '
'; $i = 0; } } $output .= ''; kompass_create_pdf($output,$event->event_name . ' Foto-Erlaubnis.pdf', 'landscape'); } }