if(is_admin()){
echo("
Admin:");
$unvalid_count = mysql_num_rows(mysql_query("SELECT * FROM ".$prefix.$main_table." WHERE ".$field_lead."_valid = 0"));
echo("
Validate Entries (".$unvalid_count.")");
$unvalid_count = mysql_num_rows(mysql_query("SELECT * FROM ".$prefix.$main_table."Edits"));
echo("
Validate Edits (".$unvalid_count.")");
$unvalid_count = mysql_num_rows(mysql_query("SELECT * FROM ".$prefix.$main_table."Comment WHERE comment_valid = 0"));
echo("
Validate Comments (".$unvalid_count.")");
}
?>