<?php require_once('usercheck.php'); ?>
<?php
require_once('config.php');
if (ENABLE_LOG_ACCESS == 'YES') {
// Append log entry to the log file, just to maintain some statistics
$date = date('y/m/d H:m:s');
$remoteAddr = $HTTP_SERVER_VARS['REMOTE_ADDR'];
$remoteHost = $HTTP_SERVER_VARS['REMOTE_HOST'];
$HTTPHost = $HTTP_SERVER_VARS['HTTP_HOST'];
$referrer = $HTTP_SERVER_VARS['HTTP_REFERRER'];
$script = $HTTP_SERVER_VARS['SCRIPT_NAME'];
$entry = "$date: $remoteAddr ($remoteHost) ($HTTPHost) ref=[$referrer] pag=[$script]\n";
$file = fopen('log.txt', 'a');
fputs($file, $entry);
fclose($file);
}
?>
<body topmargin="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" height="69"> <font size=1> logged
in as <?php echo $ddts_username;?> </font> </td>
<td valign="top" nowrap>
<form method="post" action="visualize.php">
<div align="right">
<a href="index.php"><img src="images/icon_main.gif" width="47" height="41" border="0"></a>
<a href="newdefect.php"><img src="images/icon_submit.gif" width="46" height="41" border="0"></a>
<a href="useroptions.php"><img src="images/icon_options.gif" height="41" border="0" width="50"></a>
<a href="statistics.php"><img src="images/icon_statistics.gif" border="0"></a>
<a href="administration.php"><img src="images/icon_administer.gif" width="60" height="41" border="0"></a>
<a href="query.php"><img src="images/icon_search.gif" width="42" height="41" border="0"></a>
<input type="text" name="iddefect" size="10" maxlength="10">
<input type="image" border="0" name="imageField" src="images/icon_searchgo.gif" width="16" height="41">
</div>
</form>
</td>
</tr>
</table>