static function table($items) { if (count($items) > 0) { echo "<table class='table table-striped'>"; Item::header(); foreach ($items as $item) { Item::display($item); } echo "</table>"; } else { echo "<div>" . lang("USERLIST_EMPTY") . "</div>"; } }