*
*/
require_once('../../src/base.inc.php');
require_once('../src/header.inc.php');
echo "
Moderation Schedule
";
// List out moderators in order with next moderation week
$ui = new ModerationSchedule();
$ui->query();
echo ""
. "Name"
. " Email"
. " Next Week"
. "
";
for ($i = 0; $i < $ui->getNumberOfModerators(); $i++, $ui->next()) {
$user = $ui->current();
printf(""
. "
%s %s"
. "
%s"
. "
%s ",
$user->getName(),
$ui->isException() ? '*' : '',
$user->getEmail(), $user->getEmail(),
date('F j', $ui->key())
);
}
echo "Exceptions
";
echo "New Exception
";
// List out exceptions in order.
$exceptions = new ModerationExceptions();
$exceptions->query();
echo ""
. "Name"
. " Email"
. " Exception Week"
. "
";
while ($exceptions->valid()) {
$user = $exceptions->current();
printf("",
$user->getName(),
$user->getEmail(), $user->getEmail(),
date('F j', $exceptions->key())
);
$exceptions->next();
}
require_once('../src/footer.inc.php');
?>