0) { echo ''; $_SESSION["message"] = ""; } ?>
Feature is yet to be implemented.

Monitoring System Control

Users

'; $current_user = $_SESSION['username']; $users_file = fopen("users.csv", "r") or die("No users to display,"); echo " Username User Privileges Action "; function display_user($user) { echo "" . $user[0] . ""; $name = $user[0]; if (strcmp(trim($user[2]), "admin") === 0) { echo "Admin"; } else { echo "Normal"; } echo "" . "Delete User" . ""; } while(($line = fgets($users_file)) !== false) { $user = explode(',', $line); display_user($user); } fclose($users_file); echo '
'; echo ' Add User'; } else{ echo "Please log in to see users"; } ?>