<?php   //Ian Bugeja 2005
        
session_start();
        
header("Cache-control: private"); // IE 6 Fix.

        
if (isset($_SESSION['keywords']))
        {
                
$keywords $_SESSION['keywords'];

                require_once 
"AHNAR_Tools.php";
                
$ahtools = new AHNAR_Tools();
                
$keywords $ahtools->KeywordSort($keywords);

                
reset($keywords);
                
$i 0;

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
        <title>AHNAR Correction</title>
        <link rel="stylesheet" href="ahnarstyle.css">
</head>

<body class="ahnarbody">
        <h1 class="ahnarlarge">AHNAR Correction&nbsp;&nbsp;&nbsp;&nbsp;
        <span class="ahnarmedium">[<a href="javascript:close()">Close</a>]</span>
        <hr style="color:white"></h1><br>
        Select those to Remove:<br>
        <form action="correct_keys.php" method="post">

        <?php
                
while (($i 12) and ($i count($keywords)))
                {
                        
$val $keywords[$i][0];
                        echo 
"<input type='checkbox' name='ahnarkey$i' value='$val'>".$val."</input><br>";
                        
$i++;
                }

        } 
//top if
        
else
                die(
"Nothing to Correct");
        
?>

                <input type="submit" value="Send"> <INPUT type="reset">
        </form>
</body>
</html>