diff --git a/public/admin.php b/public/admin.php index 670f490..697c4ed 100644 --- a/public/admin.php +++ b/public/admin.php @@ -2,13 +2,13 @@ // ===================================================================== // Moderation Page // Lists Contributions for Review. Moderators can approve, reject, -// edit, and delete Contributions. Includes Map Preview and Filtering. +// edit and delete Contributions. Includes Map Preview and Filtering. // // ToDo's: -// - News Management Tab (Phase 3-6) -// - User Management Tab (Phase 3-3) -// - Analytics Dashboard Tab (Phase 4-6) -// - Comment Moderation Tab (Phase 4-1) +// - Comment Moderation Tab +// - News Management Tab +// - User Management Tab +// - Analytics Tab // ===================================================================== require_once __DIR__ . '/api/db.php'; @@ -61,7 +61,7 @@ $categories = get_categories(); // Loads Contributions and Statistics // ----------------------------------------------------------------- -// All Contributions for this Municipality +// Loads all Contributions for Municipality $stmt = $pdo->prepare(" SELECT contribution_id, title, category, description, author_name, geom_type, status, likes_count, dislikes_count, created_at, updated_at @@ -92,10 +92,27 @@ $counts['total'] = count($all_contributions);