Use header.html in all pages
This commit is contained in:
parent
6d762d3b1d
commit
f2a4098897
11 changed files with 34 additions and 204 deletions
17
thanks.php
17
thanks.php
|
|
@ -1,21 +1,10 @@
|
|||
<!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");
|
||||
|
||||
include("header.html");
|
||||
|
||||
$id = $_GET['id'];
|
||||
$file = new QuestionsFile("questions.xml");
|
||||
$question = $file->get_question($id);
|
||||
|
|
|
|||
Reference in a new issue