version1 == 1) { $state = "Enabled"; $currentstate = 1; } else { $state = "Disabled"; $currentstate = 0; } if ($snmpConfig->auth_traps_enabled == 1) { $traps = "Enabled"; $currenttraps = 1; } else { $traps = "Disabled"; $currenttraps = 0; } // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $errorCode= $_REQUEST['errorCode']; $displayMessage = $_REQUEST['Message']; $returnMessage = $_REQUEST["returnMessage"]; } ?>