* */ require_once('../src/base.inc.php'); require_once('src/header.inc.php'); ?> Moderate Posts"; $posts = new PostIterator(); $posts->filterStage('moderation'); $posts->query(); // TODO: Also filter by source? if ($posts->valid()) { foreach ($posts as $id => $post) { printf("

%s

" . "%s %s - %s
", $GLOBALS['CONFIG']['urlroot'], $id, $post->getName(), $post->getCreated(), $post->getEmail(), $post->getEmail(), $post->getSourceName()); } } else { echo "

No posts awaiting approval

"; } require_once('src/footer.inc.php'); ?>