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

<SCRIPT>
function enableField(){
    if(document.formulaire.type[0].checked==true){
        document.formulaire.user.disabled=false;
		document.formulaire.auto.disabled=false;
		document.formulaire.blast.disabled=false;
	}else{
        document.formulaire.user.disabled=true;
		document.formulaire.auto.disabled=true;
		document.formulaire.blast.disabled=true;
	}
}
</SCRIPT>
<div style="background-color:white">
<div style="border-top:0px solid black;border-bottom:1px solid black;">
<font color="#D64242" size="3"><b>Gene Synonyms</b></font><br>
</div>
<center>
<form name="formulaire" action="gene1result.php" method="get" target="_blank">
	        
    <table width="99%" border="0" cellspacing="0" cellpadding="0">

	<tr>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	</tr>

      <tr> 
        <td align="right"><font color="#456898" size="2"><b>Species&nbsp;</b></font></td>
        <td align="left"> <select name="species" size="1">
            <!--<option></option>-->
			
				<?php
						$requete="Select \"NAME\" from \"SPECIES\" order by \"NAME\"";
						$stmt = pg_query($c,$requete);
						while( $row=pg_fetch_array($stmt) ){
							$name=$row["NAME"];
							print "<option>$name</option>";
						}
				?>
			
          </select> </td>
	<td align="left">&nbsp;</td>
        <td align="left">&nbsp;</td>
        
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="right">&nbsp;<font color="#456898" size="2"><b>Name&nbsp;</b></font></td>
        <td align="left"><input name="name" type="text" size="50"><font color="#656565" size="-1"> &nbsp;&nbsp; (aniseedV3_3592, Otx, nodal, ci0100133709, KYOTOGRAIL2005.98.32.1,ENSCINT00000018028...)</font> </td>
        <td>&nbsp;</td>
        <td align="right">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td><input name="submit" type="image" src="pictures/button-submit.jpg" onClick="submit"> </td>
      </tr>
      
    </table>

<input type="hidden" name="type" value="5">

</form>
</center>
</div>

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