<?php 
	session_start();
	if (!get_magic_quotes_gpc()) die ('!get_magic_quotes_gpc');
	$username=$_SESSION['$username'];
	$timestampnew=$_GET['t'];
	$location=$_SERVER["REMOTE_ADDR"];


	//Reset session variables
	$_SESSION['$timestampnew']=$timestampnew;
	$_SESSION['$timestampnewassigned']=null;
	$_SESSION['$username']=null;

//echo $timestampnew;
?>
<HTML>
<FORM action="downloadreg.php" method="post">
	<H3>Registered Version Download</H3>
	<table>
		<tr bgColor="#b5bed6">
			<td colspan="2" align="center">Login</td>
		</tr>
		<tr>
			<td>Username:
			</td>
			<td align="center"><input type="text" name="username" size="25" maxlength="25" value="<?php echo $username; ?>"></td>
		</tr>
		<tr>
			<td>Password:
			</td>
			<td align="center"><input type="password" name="password" size="25" maxlength="25"></td>
		</tr>
		<tr>
			<td colspan="2" align="center"><input type="submit" value="Login" /></td>
		</tr>
	</table>
	<P>Purchase an Account <A href="http://dataflask.com/register">here</A>.</P>
	<P><hr><?php echo date('H:i jS F'); ?>, from:<?php echo $location; ?>.</P>
</FORM>
</HTML>

