$scope_range_2_err = $e;
         }
         $list .= "</ol>";
         $error = $err->GenerateErrorLink("help/help.html", "#config_pool", $defined['error'], $errors['val_missing'] . $list, NULL, NULL);
     }
 }
 // create current list of dnssec security options
 if ($group === "admin") {
     $subnetquery = "SELECT * FROM `conf_pools` ORDER BY `pool-name` ASC";
 } else {
     $subnetquery = "SELECT * FROM `conf_pools` WHERE `group` = \"" . $group . "\" ORDER BY `pool-name` ASC";
 }
 if (($current = $db->dbQuery($val->ValidateSQL($subnetquery, $dbconn), $dbconn)) !== -1) {
     $subnetlist = $db->dbArrayResultsAssoc($current);
 }
 $pools = $misc->GenJumpMenuBoxPools($subnetlist, 'pools', $_GET['skin']);
 // generate list of allow/deny options
 $pl_ops = array("known-clients", "unknown-clients", "dynamic bootp clients", "authenticated clients", "unauthenticated clients", "all clients");
 if ($group === "admin") {
     $pl = "SELECT `class-name` FROM `conf_classes` ORDER BY `class-name` ASC";
 } else {
     $pl = "SELECT `class-name` FROM `conf_classes` WHERE `group` = \"" . $group . "\" OR `group` = '' ORDER BY `class-name` ASC";
 }
 if (($return = $db->dbQuery($val->ValidateSQL($pl, $dbconn), $dbconn)) !== -1) {
     $pls = $db->dbArrayResults($return);
 }
 // fix the nested array before merging
 for ($x = 0; $x < count($pls); $x++) {
     $newarr[] = $pls[$x]['class-name'];
 }
 if (count($newarr) !== 0) {