From e121bbebe3ccd990b66a7b04289adf481a4aa2af Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 30 Aug 2011 12:29:19 -0700 Subject: Working on the moderation schedule iterator --- htdocs/moderate/schedule/index.php | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 htdocs/moderate/schedule/index.php (limited to 'htdocs/moderate/schedule/index.php') diff --git a/htdocs/moderate/schedule/index.php b/htdocs/moderate/schedule/index.php new file mode 100644 index 0000000..93dfc3a --- /dev/null +++ b/htdocs/moderate/schedule/index.php @@ -0,0 +1,52 @@ + + * + */ + +require_once('../../src/base.inc.php'); + + +require_once('../src/header.inc.php'); + +echo "

Moderation Schedule

"; + +// List out moderators in order with next moderation week + + +echo "

Exceptions

"; +echo "

New Exception

"; + +// List out exceptions in order. + +$ui = new UserIterator(); +$ui->query(); + +echo "
" + . "Name" + . " Email" + . " Admin" + . " Actions
"; + +foreach ($ui as $user) { + printf("
" + . "%s" + . " %s" + . " %s" + . " " + . " edit" + . " delete
", + $user->getName(), + $user->getEmail(), $user->getEmail(), + $user->isAdmin() ? 'Yes' : 'No', + $user->getId(), $user->getId() + ); +} + +require_once('../src/footer.inc.php'); + +?> -- cgit v1.2.3