getQuestion($session->user, $_GET['question']); echo ""; echo ""; if ($session->user) $xy = $database->getCoordinates($session->user); if (isset($xy)){ $x = $xy['x']; $y = $xy['y']; $expected = getValueForQuestionCoordinates($database->getAnswerstoQuestion($session->user, $data['question']), $x, $y); } system ("./finder.exe ". $data["question"] . " Q"); echo ""; if (isset($data["value"])) $selected_value = $data["value"]; else $selected_value = "-1000"; if (isset($xy)) $expected_value = $expected; else $expected_value = "-1000"; echo ""; echo "\n"; echo "
".$data["text"]."
".$data["neg"]."".$data["pos"]."
"; echo ""; $coordinates = $database->getAllCoordinates(0); echo ""; foreach ($coordinates as $values){ echo ""; } echo ""; ?>