$postcheck = $db->query_first("SELECT COUNT(*) AS count FROM post WHERE userid=" . $vbulletin->userinfo['userid'] . " AND dateline<" . TIMENOW . " AND dateline>" . (TIMENOW-(24*60*60)));