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

<script>
	function duplicate(){
		if(self.form1.log.value==""){
			self.form1.log.value=self.form1.name.value;
		}
	}
</script>


    <form target="_blank" method="post" name="form1" action="add-user2.php">
        Register a new User for your ANISEED system.<br><br>
        <center>
        <table width="99%" border="0" cellspacing="0" cellpadding="0" background="pictures/barre.jpg">
            <tr bgcolor="#990000"> 
			    <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td width="80">&nbsp;</td>
                <td align="right" background="pictures/barre-red.jpg">
				    <em><strong>User parameters&nbsp;&nbsp;</strong></em>
				</td>
			</tr>
			<tr>
                <td height="21">&nbsp;</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
			<tr>
                <td align="right"><strong>Login*: </strong></td>
				<td align="left"><input type="text" name="log"></td>
				
                 <td align="right">&nbsp;</td>
				
			</tr>
			<tr>
                <td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
			</tr>
			<tr>
                <td align="right"><strong>Password*: </strong></td>
				<td align="left"><input type="password" name="pwd"></td>
				
                 <td align="right"><strong>Retype password*: </strong></td>
				<td align="left"><input type="password" name="pwd2"></td>
			</tr>
			<tr>
                <td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
			</tr>
			<tr>
                
                <td align="right"><strong>Name*: </strong></td>
				<td align="left"><input type="text" name="name" onChange="javascript: self.duplicate();"></td>
                <td align="right"><strong>Surname*: </strong></td>
				<td align="left"><input type="text" name="surname"></td>
			</tr>
			<tr>
                <td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
			</tr>
			<tr>
                <td align="right"><strong>Email*: </strong></td>
				<td align="left"><input type="text" name="mail"></td>
				
                 <td align="right"><strong>Team*: </strong></td>
				<td align="left"><input type="text" name="team"></td>
			</tr>
			<tr>
                <td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
			</tr>
			<tr>
                
                
                <td valign="top">&nbsp;<em><font size="-1">(Optional)</font></em></td>
				<td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
			</tr>
			<tr>
                <td align="right"><strong>Telephone: </strong></td>
				<td align="left"><input type="text" name="tel"></td>
                <td align="center"><strong>Fax: <input type="text" name="fax"></strong></td>
				<td align="center"><strong>Address:</strong><input type="text" name="address"></td>
			</tr>
			<tr>
                <td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
				<td valign="top">&nbsp;</td>
			</tr>
			<tr>
                <td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
				<td valign="top"><hr color="#871F1F" size="1"></td>
			</tr>
			<tr>
                <td>&nbsp;</td>
                
                <td><strong>Is an annotator</strong>
				</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
			</tr>
			<tr>
                <td>&nbsp;</td>
                <td><input name="curator" type="checkbox" value="y"><strong>Is a curator</strong>
				</td>
                <td>&nbsp;</td>
                <td align="right"><input name="submit" type="image" src="pictures/button-submit.jpg" onClick="submit">&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
			</tr>
		</table>
		</center>
		
		<br><br><br>
		*Required fields
	</form>
<?php
    include("frames_footer.php");
?> 