hasPermission("MACHINEMANAGER_VIEW")) { header("Location: ./app.php?msg=no_permission"); die(); } $writeaccess = $user->hasPermission("MACHINEMANAGER_EDIT"); $components = $database->select("components", ["compid", "serial", "machineid", "model", "manufacturer", "capacity"]); $attachto = false; if (!empty($VARS["attachto"]) && Machine::exists($VARS["attachto"])) { $attachto = $VARS["attachto"]; } ?>
get('Actions'); ?> | get('ID'); ?> | get('Machine ID'); ?> | get('Model'); ?> | get('Serial'); ?> | get('Capacity'); ?> | |
---|---|---|---|---|---|---|
get("Attach"); ?> get("Edit"); ?> | ||||||
get('Actions'); ?> | get('ID'); ?> | get('Machine ID'); ?> | get('Model'); ?> | get('Serial'); ?> | get('Capacity'); ?> |