Code:
print("<td align="left">".($row["not_sticky"] == "no" ? "Important: " : "")."");
///////////////////////
$to = mysql_query("SELECT COUNT(*) FROM snatched WHERE userid='".$CURUSER['id']."' AND torrent='".$row['id']."'"); //request
$tok = mysql_fetch_array($to);
if(!$tok['0']){}else{?>
<a href="download.php?id=<?=$row['id']?>"><img src="pic/trans.gif" title="You have already taken this torrent. Click to download the .torrent file again."/></a> <?}
////////////////////////////
print("<a href="details.php?");
if ($variant == "mytorrents")