// ********************************************************************************* // get thread info $thread = verify_id('thread', $threadid, 1, 1); $threadinfo = &$thread;
if ($threadinfo['threadid'] == xx AND $bbuserinfo['posts'] < yy) { print_no_permission(); }