Design + email
This commit is contained in:
parent
821b537e93
commit
e328e4a903
6 changed files with 133 additions and 56 deletions
|
|
@ -5,19 +5,28 @@ include("Question.class.php");
|
|||
include("QuestionsFile.class.php");
|
||||
|
||||
$id = $_GET['id'];
|
||||
echo $id . "<br/>";
|
||||
$file = new QuestionsFile("questions.xml");
|
||||
$question = $file->get_question($id);
|
||||
$question->print_test();
|
||||
|
||||
?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<link rel="Stylesheet" href="styleConfirmation.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<div id="main_title">
|
||||
<a href="http://www.h2g2.com" target="_blank">
|
||||
<img src="marvin-robot_normal.png" alt="" id="banner"/>
|
||||
</a>
|
||||
<h1>Nemubot Questions</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<h1>Validation de la question</h1>
|
||||
<h3>Rappel de la question</h3>
|
||||
<?php $question->print_test() ?><br/>
|
||||
|
|
@ -27,7 +36,7 @@ $question->print_test();
|
|||
|
||||
<input type="button" value="Valider la question"
|
||||
onclick="<?php $question->validated(); $file->save() ?>"/>
|
||||
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Reference in a new issue