set( 'Event-Id', $eventId ); $response = pas_check_response( $msg->send() ); if ( is_string( $response ) ){ eval( '?'.'>' . $tpl->compile( 'error.html' ) ); exit; } $data = $response->get('Event-Data'); $votings = $response->get('Votings'); $participants = $response->get('Participants'); $path = ''; $eventName = array_pop( $Params ); foreach ( $Params as $part ){ $path .= '/' . $part; $breadcrumb[] = [ 'name' => $part, 'path' => $path ]; } $path = ltrim( $path, '/' ); $parentLink = implode( '/', $Params ); eval( '?'.'>' . $tpl->compile('create_lots.html') ); // end of file create_lots.php