29 lines
574 B
PHP
29 lines
574 B
PHP
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf8" />
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h1>Validation de la question</h1>
|
||
|
Vous pouvez valider la question. Cliquez simplement sur le
|
||
|
lien ci dessous.<br/>
|
||
|
|
||
|
<input type="button" value="Valider la question"
|
||
|
onclick="validate()"/>
|
||
|
|
||
|
|
||
|
<?php
|
||
|
include("Question.class.php");
|
||
|
include("QuestionsFile.class.php");
|
||
|
|
||
|
$id = $_GET['id'];
|
||
|
$file = new QuestionsFile('questions.xml');
|
||
|
|
||
|
$questions = $file->get_question($id);
|
||
|
$question->print_test();
|
||
|
?>
|
||
|
|
||
|
</body>
|
||
|
</html>
|