<?php require_once('Connections/TOM.php'); ?>
<?php
mysql_select_db($database_TOM, $TOM);
$query_available = "SELECT * FROM RSA WHERE username = '' ORDER BY puzzle_ID ASC LIMIT 1";
$available = mysql_query($query_available, $TOM) or die(mysql_error());
$row_available = mysql_fetch_assoc($available);
$totalRows_available = mysql_num_rows($available);
?><!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>New Puzzle Info</title>
<link href="admin.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h1>Here is the information that you will need to log this cache. </h1>
<h1>To submit your answer later you will need to remember your</h1>
<h1>Puzzle ID.  </h1>
<form id="form1" name="form1" method="post" action="">
  <h4>Puzzle ID: <?php echo $row_available['puzzle_ID']; ?></h4>
  <h4>Modulus: <?php echo $row_available['modulus']; ?></h4>
  <h4>Public Key: <?php echo $row_available['pubkey']; ?></h4>
</form>
<p>&nbsp;</p>
</body>
</html>
<?php
mysql_free_result($available);
?>
