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.
nemubot-askweb/thanks.php
Némunaire 42fec70edf Add classes to abstract Users and Courses
Can refuse a question (email the author)
Can modify question before validation
2012-06-18 20:10:30 +02:00

48 lines
1.2 KiB
PHP

<!DOCTYPE html><html>
<head>
<meta charset="utf-8">
<link rel="Stylesheet" href="style.css">
<title>Every Questions (BETA)</title>
</head>
<body>
<header>
<a href="http://www.h2g2.com" target="_blank">
<img src="marvin-robot_normal.png" alt="" id="banner"/>
</a>
<h1>Nemubot Questions (BETA)</h1>
</header>
<?php
include("Question.class.php");
include("QuestionsFile.class.php");
$id = $_GET['id'];
$file = new QuestionsFile("questions.xml");
$question = $file->get_question($id);
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>
Un courrier électronique vient de vous &ecirc; envoyé pour que vous
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>
</html>