get_header();
$startpagina = get_post(11);
$stellingen = get_posts(array(
'post_type' => 'stelling',
'orderby' => 'menu_order',
'order' => 'ASC',
'posts_per_page' => -1
));
$resultaatpagina = get_post(20);
include('partials/popover_functieprofiel.php');
include('partials/popover_privacy.php');
?>
// $_SERVER['SERVER_NAME']=='localhost' ||
if ($_SERVER['REMOTE_ADDR']=='::1') {
include('partials/section_startpagina.php');
include('partials/section_telefoongesprek.php');
foreach ($stellingen as $i => $stelling) {
$type = get_field('type', $stelling);
switch ($type) {
case 'vraag':
include('partials/section_vraag.php');
break;
case 'jaarslider':
include('partials/section_jaarslider.php');
break;
case 'fiftyfifty':
include('partials/section_fiftyfifty.php');
break;
}
}
include('partials/section_hobbies.php');
include('partials/section_resultaat.php');
include('partials/section_sollicitatie.php');
} else {
include('partials/section_startpagina.php');
include('partials/section_telefoongesprek.php');
foreach ($stellingen as $i => $stelling) {
$type = get_field('type', $stelling);
switch ($type) {
case 'vraag':
include('partials/section_vraag.php');
break;
case 'jaarslider':
include('partials/section_jaarslider.php');
break;
case 'fiftyfifty':
include('partials/section_fiftyfifty.php');
break;
}
}
include('partials/section_hobbies.php');
include('partials/section_resultaat.php');
include('partials/section_sollicitatie.php');
}
?>
get_footer(); ?>