setHTMLTitle("Kein Zugriff");
        $HTML->SetSeitenInhalt("Dazu hast du keine Rechte!");
        $HTML->build();
        echo $HTML->ausgabe();
        die();
    }
    $HTML->setHTMLTitle("Benutzer");
    $HTML->importSeitenInhalt("pages/HTML/users.html");
    $table = '
| Vorname | Nachname | Status | Aktionen | 
|---|
%%ENTRY%%
';
    
    $statement = $RUNTIME['PDO']->prepare("SELECT * FROM UserAccounts ORDER BY Created ASC");
    $statement->execute(); 
    while($row = $statement->fetch()) 
    {
        $entry = '| '.$row['FirstName'].' | '.$row['LastName'].' | '.$row['UserLevel'].' | PASSWORT ÄNDERN | SPERREN | 
';
        $table = str_replace("%%ENTRY%%", $entry."%%ENTRY%%", $table);
    }
    $table = str_replace("%%ENTRY%%", "", $table);
    $HTML->ReplaceSeitenInhalt("%%REGION-LIST%%", $table);
    $HTML->build();
    echo $HTML->ausgabe();
?>