style for thanksValidation

This commit is contained in:
Bertrand 2012-06-15 14:12:05 +02:00
parent b011a9caab
commit fb5754d595
5 changed files with 25 additions and 16 deletions

View File

@ -1,6 +1,11 @@
<!DOCTYPE html>
<?php
include("Question.class.php");
include("QuestionsFile.class.php");
$id = $_GET['id'];
$fileQ = new QuestionsFile("questions.xml");
@ -36,10 +41,10 @@ $question = $fileQ->get_question($id);
</article>
<article>
<h2>Modifier la question...</h2>
<form id="formulaire" method="post" action="validateChangeQuestion.php">
<section id="Form">
<article id="list">
<label for="course">De quelle matière s'agit-il ?</label><br/>
<select name="course" id="course">
@ -77,9 +82,7 @@ $question = $fileQ->get_question($id);
<option value="Autre" selected>Autre</option>
</optgroup>
</select>
</article>
<article>
<p id="questionPart">
<label id="q" for="question">
Quelle est votre question ? </label><br/>
@ -107,12 +110,14 @@ $question = $fileQ->get_question($id);
Si la question vous semble corect, vous pouvez directement
la confirmer ici:<br/>
<a href= <?php "http://".$_SERVER["SERVER_NAME"]
. dirname($_SERVER["REQUEST_URI"]) .
"/confirmation.php?id=".$question->getId();?>>
Valider la question</a>
<a href=<?php echo "http://".$_SERVER["SERVER_NAME"]
. dirname($_SERVER["REQUEST_URI"])."/confirmation.php?id="
. $question->getId() ?>>Confirmer la question</a>
</article>
</section>
<?php include('footer.html') ?>
<body>
<html>

7
footer.html Normal file
View File

@ -0,0 +1,7 @@
<footer>
<h3>Liens utiles</h3>
<ul>
<li><a href="http://mastercorp.epita.eu" target="_blank">
Le site Mastercorp</a></li>
</ul>
</footer>

View File

@ -171,13 +171,8 @@
</form>
</section>
<footer>
<h3>Liens utiles</h3>
<ul>
<li><a href="http://mastercorp.epita.eu" target="_blank">
Le site Mastercorp</a></li>
</ul>
</footer>
<?php include('footer.html') ?>
</body>
</html>

View File

@ -93,7 +93,7 @@ cette adresse email.\n\n"
."Adresse de confirmation de la question:\n"
. "http://".$_SERVER["SERVER_NAME"]
. dirname($_SERVER["REQUEST_URI"])."/confirmation.php?id="
. dirname($_SERVER["REQUEST_URI"])."/changeQuestion.php?id="
. $quest->getId()
. "\n\n Merci beaucoup de votre participation\n"

View File

@ -38,6 +38,8 @@ else
<h1>Nemubot Questions (BETA)</h1>
</div>
</header>
<section id="introduction">
<article id="validate">
<h2><?php echo $message ?></h2>
@ -60,6 +62,6 @@ Amusez vous bien.
</p>
<p>
</article>
</section>
</body>
</html>