array('>=' => 1), 'OK' => array('!=' => '1') ), array('tid' => -1), $page, $pagesize); } $pagination = pagination(url("moderate-".$comp."-{page}"), count($threadlist), $page, $pagesize); /* 去掉不应显示的帖子 */ foreach ($threadlist as $tid => $thread) { if ($see_check) { if ($thread['OK'] === '1') { unset($threadlist[$tid]); } $load_check_js = true; } else { if (!(($thread['OK'] !== '1' && $thread['OK'] !== '-2') && ($thread['user']['uid']) == intval($uid))) { unset($threadlist[$tid]); } } } ?>