'; } $icon = $currentOrder === 'asc' ? 'fa-sort-up' : 'fa-sort-down'; return ''; } // Get current filters $currentFilters = $filters ?? ['search' => '', 'role' => '', 'status' => '', 'sort' => 'username', 'order' => 'asc']; // Mock pagination for now (will need to be implemented in controller) $pagination = $pagination ?? [ 'current_page' => 1, 'total_pages' => 1, 'per_page' => 25, 'total' => count($users), 'showing_from' => 1, 'showing_to' => count($users) ]; ?>
Add User
Clear
Showing to of user(s)
User Username Role Status Email Verified Last Login Actions
<?= htmlspecialchars($avatar['alt']) ?>
Verified Not Verified
Never

No Users Yet

Start by adding your first user

Add Your First User
1): ?>
Page of
1): ?> 1): ?> Previous 1) { echo '1'; if ($start > 2) { echo '...'; } } for ($i = $start; $i <= $end; $i++) { if ($i == $currentPage) { echo '' . $i . ''; } else { echo '' . $i . ''; } } if ($end < $totalPages) { if ($end < $totalPages - 1) { echo '...'; } echo '' . $totalPages . ''; } ?> Next