");
?>
 echo ("**Deleting Spam Comments**
"); ?>
 // Delete Comments
// count the spam comments
echo ("Counting Spam Comments...
");
$sql = $count_spam_glinks_comments_sql;
$results = mysql_query($sql);
while ($row = mysql_fetch_array($results)) {
	echo ("Number of spam comments: ".$row[amount_spam]);
	if ($row[amount_spam] > 0) $spam_count = $row[amount_spam];
	echo ("
\n\r");
}
echo ("
");
// end count
// delete the spam comments
//echo ("Comments to be deleted: ".$spam_count);
if ($spam_count > 0) {
	echo ("Deleting spam comments...");
	$sql = $remove_spam_glinks_comments_sql;
	$results = mysql_query($sql);
}
// end delete comments
?>
 echo (""); ?>