<!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" lang="en_US" xml:lang="en_US">
<!--
 * Created July 19, 2006
 *
 *  This is a .php webpage/script that will find all abc triples in the `abc`
 *  database whose quality is set to the default 0, compute the quality of 
 *  of those triples, and then update `abc` so that these triples have the 
 *  correct quality value in the quality column.  Note that most of the work 
 *  is done in the script file called by the form below and that this specific
 *  file exists as a "front end".
 *
-->
 <head>
 
 <meta name= "author" content = "Chris Hurlburt" />
 <meta name= "keywords" content = "quality of abc triples" />
 <meta name= "description" content = "Update the quality values in the `abc` database." />
 
 <link rel="stylesheet" type="text/css" href="update.css" />
 
 <title>Compute `abc` Database Quality Values</title>
 </head>
 
 <body>
 
 
 <div id="container">
	
	<div id="pageHeader">
	<h1><span>
	Add correct quality values to the `abc` Database
	</span></h1>
	</div>
	
	<div id="summary">
	<p><span>
	Checking the box and clicking on the go button in the form below activates 
	a php script that queries the `abc` database for all rows whose quality is 
	less than 1, computes the correct quality value for that row, and then updates
	the row with the correct quality value.  
	</span></p>
	</div>
	
	<div id="note">
	<p><span>
	Note:  If there are many records to be updated, especially if most of them
	involve values that exceed those in the `radical` database, this may take a 
	while.  Go have a cup of coffee or something.
	</span></p>
	</div>	
	
	<div id = "accessForm">
		<h3 class="ftype"><span>
 		<form action = "<?php echo $_SERVER['PHP_SELF'];?>" method = "post">
 		Update the database:
		<input type = "submit" name = "submit" value = "Go" /> <br />
		</form> </span> </h3>
 	</div>
	
	<div id = "results">
 	<?php 
		if (isset($_POST['submit']))
		{
			include "radical.php";
		}
	?>
	</div>
 </div>
 </body>
</html>
