<?
include ("connection.php");
print "<title>ANISEED CURATOR - Edit Article Gene</title>";
include ("frames_header.php");

$id=$_GET["id"];
$update=$_GET["update"];

$name=$_GET["name"];
$type=$_GET["type"];

$oldname=$_GET["name"];
$oldtype=$_GET["type"];


print "<center><h3>Add a Gene Study for the Article $id</h3><br><br></center>";

print "<form name=\"formu\" action=\"edit-article-gene2.php\" method=\"POST\">";

print "<center>Enter a valid Transcript (JGI or Kyoto or Ensembl ID) <br> <input style=\"text-align:center;\" type=\"text\" name=\"gene\"  value=\"$name\" size=\"20\"><br><br>";

if ($type=="Function") $function="selected";
if ($type=="Regulation") $regulation="selected";
if ($type=="Wild type expression") $marker="selected";

print "Type of study carried out with this gene <br> <select name=\"type\">
<option $function>Function</option>
<option $regulation>Regulation</option>
<option $marker>Wild type expression</option>
</select><br>";
print "<br>";

print "<input type=\"submit\" value=\"Submit\">";

print "<input type=\"hidden\" name=\"id\" value=\"$id\">";

print "<input type=\"hidden\" name=\"update\" value=\"$update\">";

print "<input type=\"hidden\" name=\"oldname\" value=\"$oldname\">";

print "<input type=\"hidden\" name=\"oldtype\" value=\"$oldtype\">";



print "</center>";


print "</form>";




include ("frames_footer.php");
?>