* */ require_once('../src/base.inc.php'); if (!isset($_SESSION['currentUser'])) { header('Location: ' . $CONFIG['urlroot'].'/moderate/login.php'); exit(); } require_once('header.inc.php'); ?>

Welcome

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
", $id, $post->getName(), $post->getCreated(), $post->getEmail(), $post->getEmail()); } } else { echo "

No posts awaiting approval

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