Location: PHPKode > projects > XMasDB > xmasdb/about.php
// start the session

// 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');

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<style type="text/css">@import url("style.css");</style>
<title>X-Mas Gift Database</title>
<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>

<input type="button" class="btn" onClick="window.location='list.php'" value="Back">

Return current item: XMasDB