<?php

/*****
members.php:
This file displays the members screen once they've logged in.

author: jez hancock
support: http://forums.munk.me.uk/forumdisplay.php?fid=1
date:        $Date: 2003/03/21 01:15:05 $
version:    $Id: members.php,v 1.3 2003/03/21 01:15:05 root Exp root $
*****/
/*
Members script:
This is a very simple script that generates a web page when the user
has logged in successfully.

In this code the user's details are simply displayed for the user - these
details are taken from the session variables $login and $password.

In your own code you would probably want to extend this page to include
options to allow the user to modify their personal details.
*/
include_once("config.php");

// Check user logged in already:
checkLoggedIn("yes");
doCSS();
print(
"Welcome to the members page <b>".$_SESSION["login"]."</b><br>\n");
print(
"Your password is: <b>".$_SESSION["password"]."</b><br>\n");
print(
"<a href=\"logout.php?".session_name()."=".session_id()."\">Logout</a>");
?>