<?php
    session_start();
?>
<html>
<body bgcolor="#999966" text="#FFFFFF" link="#000000" vlink="#000000" alink="#000000">
<title>ANISEED CURATOR - Add Pictures</title>
<br><br><br>
<center>
<?php
    if ( (!isset($_SESSION["login"]))or(!isset($_SESSION["pass"])) ) {
	    print "<strong>you need to <a href=\"login.php\">login</a> as an authorised curator to proceed.</strong>";
	    print '</center></body></html>';
		return;
	}
?>

<strong>Choose a picture to add: </strong><br>
<br>

<form enctype="multipart/form-data" action="curator-pic-add2.php" method="post" name="form1" target="_self">

<input type="checkbox" name="control" value="y" unchecked>Control picture <br>
<br>

<?php
    $id=$_GET["id"];
	print '<input name="id" type="hidden" value="'.$id.'">';
?>
<!-- <input type="hidden" name="MAX_FILE_SIZE" value="30000" />  -->
<input type="file" name="picfile">
<br><br><img src="pictures/button-cur-delete.gif" title="Cancel"  onClick="javascript:self.close();">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="submit" type="image" src="pictures/button-cur-validate.gif" onClick="submit" title="Ok">
</form>
</center>

</body>
</html>