%s\n\n",LANGUAGE_TEXT_PLAYING_AUDIO_NOTIFICATION);
$_SESSION['stimulus_id'] = $stimulus_id;
present_stimuli(NULL,$stimulus_id);
?>
\n",$_SERVER['PHP_SELF']);
printf("%s
\n",LANGUAGE_TEXT_BREAK_INSTRUCTION);
printf("\n",LANGUAGE_TEXT_QPI_NEXT_BUTTON);
printf("");
}
elseif ($stimulus_id == "end") {
//after all stims have been revisited, skip
if(isset($_SESSION['loop_end']) && isset($_SESSION['loop_goto']))
$_SESSION['num_skip_forms'] = $_SESSION['loop_end'] - $_SESSION['last_visited'] + 1;
else
$_SESSION['num_skip_forms'] = 1;
include_once($questionnaire_dir."form_processing/update_session.php");
}
}
else {
include_once('htmlhead_name_mesg_formhead.php');
include_once('display_form_fields.php');
}
?>