enabled) { __("This page is restricted to authorized staff"); exit(); } $fields = array ( "id" => array ("request", "integer", 0), "action" => array("request", "string", "enable"), ); getFields($fields); if ($action=="disable") { $upnp->disable($id); } else { $upnp->enable($id); } require_once("upnp_list.php");