This repository has been archived on 2020-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
2012-06-18 18:09:31 +00:00
|
|
|
<?php
|
2012-06-18 18:57:57 +00:00
|
|
|
|
2012-06-18 18:09:31 +00:00
|
|
|
include("Question.class.php");
|
|
|
|
include("QuestionsFile.class.php");
|
2012-06-16 12:10:45 +00:00
|
|
|
|
2012-06-18 18:57:57 +00:00
|
|
|
include("header.html");
|
|
|
|
|
2012-06-18 18:09:31 +00:00
|
|
|
$id = $_GET['id'];
|
|
|
|
$file = new QuestionsFile("questions.xml");
|
|
|
|
$question = $file->get_question($id);
|
2012-06-16 12:10:45 +00:00
|
|
|
|
2012-06-18 18:09:31 +00:00
|
|
|
if (isset($question))
|
|
|
|
{
|
|
|
|
?>
|
|
|
|
<section id="introduction">
|
|
|
|
<article id="validate">
|
|
|
|
<h2>Merci de votre participation !</h2>
|
|
|
|
<p>
|
|
|
|
Votre question a bien été enregistrée et est en attente de
|
|
|
|
validation.<br>
|
2012-06-19 08:05:18 +00:00
|
|
|
Un courrier électronique vient de vous être envoyé pour que vous
|
2012-06-18 18:09:31 +00:00
|
|
|
confirmiez que vous êtes bien l'auteur de la question.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Vous pouvez proposer de nouvelles questions en cliquant
|
|
|
|
<a href="./#newquestion">ici</a> !
|
|
|
|
</p>
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
else
|
|
|
|
header("Location: ./");
|
|
|
|
include('footer.html') ?>
|
|
|
|
</body>
|
2012-05-25 09:19:34 +00:00
|
|
|
</html>
|