<?
require_once("../classes/network.php");
require_once("../classes/user.php");
session_start(); //Start session
$user = new User();
$network = new Network();
if ($HTTP_POST_VARS)
{
$user->Logout();
header("Location: index.php");
}
?>
<html>
<head>
<link href="css/style1.css" rel="styleSheet" type="text/css">
<title>Logout</title>
</head>
<body>
<?include("menuinclude.php");?>
<form method="post">
<table width = "50%" height="80%" align="center" border="0">
<tr>
<td>
<!-- background table -->
<table width="300" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
<tr>
<td>
<!-- gui table -->
<table width="300" border="0" cellspacing="1" cellpadding="2">
<!-- title row -->
<tr>
<td bgcolor="#515173">
<font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"><b>Confirm logout</b></font>
</td>
</tr>
<tr>
<td bgcolor="#c0c0c0">
<font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000000">
You are about to logout from WaveWatcher. Please confirm that you want to logout.
</font>
</td>
</tr>
<!-- Submit -->
<tr bgcolor="#fcfcfc">
<td align="center">
<input name="confirm" type="submit" value="Confirm">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>