<?
session_start();
ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fish landing data management system</title>
<style type="text/css">
<!--
.stylewhite {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
}
.stylegreen {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #00661F;
}
.styleblack {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
}
-->
</style>
</head>

<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form id="form1" name="form1" method="post" action="check_valid_user.php">
  <table width="25%" height="52" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="100%" height="19" background="images/index_01.gif"><span class="style5">&nbsp;</span><span class="stylewhite">Fish Landing Data Management System</span>        <div align="right"></div></td>
    </tr>
    <tr>
      <td height="30" align="center" valign="middle" bgcolor="#ADCE4C" class="style1"><span class="stylewhite">Log Out<?php
	/// add logfile
	$tlog = "Log out";
	require_once("usr_function.php");
	addLog($_SESSION['myusername'],$tlog);
	////
	session_destroy();	 
	header("Location:index.php");
		?></span>
        <label>
        <div align="center" class="stylewhite"></div>
      </label></td>
    </tr>
    <tr>
      <td height="19" bgcolor="#6B716F"><div align="right"><span class="style4"><span class="styleblack">@SEAFDEC 2012</span>&nbsp; </span></div></td>
    </tr>
  </table>
</form>
</body>
</html>
