Use header.html in all pages

This commit is contained in:
Némunaire 2012-06-18 20:57:57 +02:00
commit f2a4098897
11 changed files with 34 additions and 204 deletions

View file

@ -1,32 +1,4 @@
<!DOCTYPE html><html>
<head>
<meta charset="utf-8">
<link rel="Stylesheet" href="style.css">
<title>Every Questions (BETA)</title>
<script type="text/javascript">
function add()
{
var element = document.createElement("input");
element.setAttribute("type", "text");
element.setAttribute("id", "answer");
element.setAttribute("name", "answer" + nbAnswer);
nbAnswer++;
element.setAttribute("placeholder", "Nouvelle réponse");
var foo = document.getElementById("answerList");
foo.appendChild(element);
}
</script>
</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("header.html") ?>
<section id="introduction">
<article>
<?php
@ -122,7 +94,7 @@ if (!$question->isValidated())
<article>
<h2>... ou la confirmer telle quelle !</h2>
<p>
Si la question vous semble corect, vous pouvez directement
Si la question vous semble correcte, vous pouvez directement
la confirmer ici :<br>
</p>
<form method="post"