Bitte überprüfen sie die Angaben zu Ihrem Referentenprofil. Korrekturen sowie ein Profilbild können Sie über das Formular einreichen.

Matthias Hoppe

Marburg, Deutschland
University of Marburg

Associate Professor at Phillips University of Marburg. Head of Exercise Science.

Interested in

  1. Performance, Training, and Competition
  2. Prevention and Rehabilitation, and
  3. Digital Technologies.
Vorsitz, Moderation, Podium
Vorträge
Wearables in der Sportmedizin
Keynote
Freitag, 16.05.2025
16:30 Uhr bis 16:45 Uhr
Raum U.0.01
Zurück zu ReferrentenZurück zum Programm
<?php 

$post_id = get_the_ID();
  
echo '<h6 class="vorsitz-h6">Vorsitz, Moderation, Podium</h6>';  

$vorsitz = false;

$args1 = array(
	'posts_per_page' => -1,
	'post_type'      => 'session',
	'meta_query'     =>  array(
      'relation' => 'AND',
      	's_tag' =>  array(
        'key' => 'session_tag',
        'compare' => 'EXISTS',
      ),
      	's_startzeit' => array(
        'key' => 'session_startzeit',
        'compare' => 'EXISTS',
      )
    ),
		'orderby' =>  array(
			's_tag' =>   'ASC',
			's_startzeit' =>  'ASC'
	)
);


$the_query1 = new WP_Query($args1);

if($the_query1->have_posts() ) : 

	while($the_query1->have_posts() ) : $the_query1->the_post();
	
    if(have_rows('session_vorsitz')) :

        while(have_rows('session_vorsitz')) : the_row();

            if(get_sub_field('referent') == $post_id) {
              
              $vorsitz = true;
              
              echo get_the_title(). ';' . get_field('session_tag')['label'] . ';' . get_field('session_startzeit') . ' Uhr bis ' . get_field('session_endzeit')  . ' Uhr;' . get_field('session_raum')['label'] . ';';              
            }

        endwhile;

    endif;

	endwhile;

endif;

wp_reset_query();

if($vorsitz) {
  echo '<style>.vorsitz-h6 { display: block; }</style>';
} else {
  echo '<style>.vorsitz-h6 { display: none; }</style>';
}

echo '<h6 class="programmpunkte-h6">Vorträge</h6>';

$programmpunkte = false;

/*Schulter Frakturen (2103), Syre (ID 1897) ergänzen*/
  if(is_single(1897)) :

		$syre = get_the_title(2103) . ';' . get_field('programm_sitzungstyp', 2103)['label'] . ';' . get_field('programm_tag', 2103)['label'] . ';' . get_field('programm_startzeit', 2103) . ' Uhr bis ' . get_field('programm_endzeit', 2103) . ' Uhr;' . get_field('programm_raum', 2103)['label'] . ';';

		$programmpunkte = true;

	else : 

		$syre = '';

endif;

$args2 = array(
	'posts_per_page' => -1,
	'post_type'      => 'programmpunkt',
  'meta_key'       => 'programm_referent',
  'meta_value'     => $post_id
);

$the_query2 = new WP_Query($args2);

if($the_query2->have_posts() ) : 

	$programmpunkte = true;

	while($the_query2->have_posts() ) : $the_query2->the_post();
	
		echo get_the_title() . ';' . get_field('programm_sitzungstyp')['label'] . ';' . get_field('programm_tag')['label'] . ';' . get_field('programm_startzeit') . ' Uhr bis ' . get_field('programm_endzeit') . ' Uhr;' . get_field('programm_raum')['label'] . ';';  

	endwhile;

endif;

echo $syre;

wp_reset_query();

?>