Listing 1. Archive Search
<html>
<head>
<title>
Archive search
</title>
</head>
<body>
<h1>Go Archive Search<
<p> Welcome to the Go games archive! You can
search the archive by typing in the fields below.
If you leave a field blank, all occurences of the
field's item will be searched. You can also view
the whole archive
<a href="http://myhost/igo/">here.
<form action="http://myhost/cgi-bin/search.py" method="get">
<p> Title:
<select name="title" size="">
<option> Gosei
<option> Honinbo
<option> Kisei
<option> Meijin
<option> Tengen
<option> Judan
<option selected> all
</select>
Year:
<input type="text" name="year" value="" size=4>
<p> Black:
<input type="text" name="black" value="" size=20>
White:
<input type="text" name="white" value="" size=20>
<p> Result:
<input type="radio" name="rez" value="b"> Black wins
<input type="radio" name="rez" value="w"> White wins
<input type="radio" name="rez" value=""> Doesn't matter
<p> <input type="submit" value="Go get 'em">
</form>
</body>
</html>
Copyright © 1994 - 2018 Linux Journal. All rights reserved.