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

<html>
<body bgcolor="#999966" text="#FFFFFF" link="#000000" vlink="#000000" alink="#000000">
<title>ANISEED CURATOR - Delete Anatomical Part</title><br>
 <form action="deletepartanatselected2.php" method="post" name="form1" target="_self">

<center>
<?php


if ( (!isset($_SESSION["login"]))or(!isset($_SESSION["pass"])) ) 
{
	print "<center><strong>you need to <a href=\"login.php\">login</a> as an authorised curator to proceed.</strong>";
	print '</center></body></html>';
	return;
}

print '<input type="hidden" name="insituid" value="'.$_GET["insituid"].'">';
print '<input type="hidden" name="idanat" value="'.$_GET["idanat"].'">';


$anatid=split(":",$_GET["idanat"]);
$implode=implode(",",$anatid);
//print count($anatid);
if (count($anatid)>2)
{
//Warning message
print '<tr><td><font color="#CC0000"><H1><u>WARNING:</u></H1></font></td></tr>';
print "<tr><td align=\"center\"><strong>Are you sure you want to <font size=\"+2\" color=\"#CC0000\">DELETE</font> expression in this territories <br><br><strong>".$implode."</strong><br><br><font size=\"+2\">$id</font>?</strong></td></tr>";
}
else
{
//Warning message
print '<tr><td><font color="#CC0000"><H1><u>WARNING:</u></H1></font></td></tr>';
print "<tr><td align=\"center\"><strong>Are you sure you want to <font size=\"+2\" color=\"#CC0000\">DELETE</font> expression in this territory $implode <font size=\"+2\">$id</font>?</strong></td></tr>";
}

print '<tr><td align="center"><center><img src="pictures/button-cur-delete.gif" title="Cancel"  onClick="javascript:self.close();">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
print '<input name="submit" type="image" src="pictures/button-cur-validate.gif" onClick="submit" title="Ok">';
	


?>


</body>
</html>