$floodcheck= $DB_site->query_first("SELECT comment_date AS lastcomdate FROM ".TABLE_PREFIX."journal_comments WHERE commenter_id=".$bbuserinfo['userid']." ORDER BY comment_date DESC"); echo "1"; if((TIMENOW - $floodcheck['lastcomdate'])<= $setting['floodint']) { echo "2"; $vbphrase['journalfloodcheck']= construct_phrase($vbphrase['journalfloodcheck'], $setting['floodint'], 'commenting'); echo "<br>" . $vbphrase['journalfloodcheck']; eval(print_standard_error($vbphrase[journalfloodcheck], false)); } exit;