<?php
// start the session
session_start();
// is the one accessing this page logged in or not?
if (!isset($_SESSION['basic_is_logged_in'])
|| $_SESSION['basic_is_logged_in'] !== true) {
// not logged in, move to login page
header('Location: index.php');
exit;
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<style type="text/css">@import url("style.css");</style>
<title>X-Mas Gift Database</title>
</head>
<body>
<h2>About X-Mas Gift Database</h2><br><br>
<ul><li><b>Version</b> - 0.2</li></ul>
<ul><li><b>Written By</b> - Jonathan Davis</li></ul>
<ul><li><b>URL</b> - <a href="http://www.jonathandavis.me.uk/code/" target="_blank">http://www.jonathandavis.me.uk</a></li></ul>
<ul><li><b>Licence </b> - <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GNU GPL</a></li></ul>
<ul><li><b>HTML </b> - Valid HTML 4.01 Transitional</a></li></ul>
<br>
<input type="button" class="btn" onClick="window.location='list.php'" value="Back">
</body>
</html>