<?php
include("connection.php");
?>

<html>
<body bgcolor="#871F1F" text="#FFFFFF" link="#000000" vlink="#000000" alink="#000000">
<title>ANISEED</title>
<br>

<CENTER><H1>Add an anatomy part.</H1></CENTER><br>
<hr size="1">
<br>



<?php
$name=$_GET["name"];
$type=$_GET["type"];
$anatid=$_GET["anatid"];
$species=$_GET["species"];
$nomstade=$_GET["nomstade"];
$stadedev = $_GET["stadedev"];

print ' <CENTER><H3> name: "'.$name.'" type: "'.$type.'"</H3></CENTER>';
print '<br><hr size="1"><BR>';
print '<strong>Features:</strong><br>';
print '<form target="_blank" action="addpartanat2.php" method="GET" name="formulaire">';
print '<TABLE >
	<tr><td>Anatomy part name :</td><td> <input type=text VALUE= "child of '.$name.'" size=40 name=name></td></TR> 
	<tr><td>Type :</td><td> <select name=type size="1">
		<option selected>cell</option> <option>region</option> <option>structure</option>	
		</select></td></tr>
	<tr><td>Child of (selected node):</td><td> <input type=text VALUE= "'.$anatid.'" size=40 name=childof></td></TR></td></tr>';
	
print "<input name=\"species\" type=\"hidden\" value=\"$species\">";
print "<input name=\"stadedev\" type=\"hidden\" value=\"$stadedev\">";
print "<input name=\"nomstade\" type=\"hidden\" value=\"$nomstade\">";

print "</TABLE>";

?>
<br><center><input name="submit" type="image" src="pictures/button-submit.jpg" onClick="submit"></center>                                          
</form>

</body>
</html>
