replace :
mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '0')") or sqlerr(__FILE__,__LINE__);
by :
$anonyupload = unesc($_POST["anonycheck"]);
if ($anonyupload == "yes" || $CURUSER["privacy"] == "strong")
{
$uploader = "anonyme";
}else{
$uploader = "[url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]";
}
mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by ".$uploader."', now(), '0')") or sqlerr(__FILE__,__LINE__);
