?> <input class="submit-button3" type="button" name="CheckAll" value="Check All" onClick="checkAll(document.processChange.list)"> <input class="submit-button3" type="button" name="UnCheckAll" value="Uncheck All" onClick="uncheckAll(document.processChange.list)"> <BR> <input class="submit-button3" name = "deleteRequest" type="button" onClick="deleteRules(document.processChange.list);" value="Delete From Queue"> <BR> </fieldset> <BR> <br> <fieldset> <legend>Group Selection</legend> <p>Select a group of servers and click on the >> to move it to the group selected box. by double clicking on a group name, you can see the subgroups that exists under it. You can select a group or a subgroup. Once a group is moved to the Group Selected box, the servers that belong to this group will be highlighted in the Server Selection section</p> <? $allGroupServersVal = get_all_groups_for_user($_SESSION['user']); $allGroups = ""; foreach ($allGroupServersVal as $value) { $value = trim ($value); if ($value == "") { continue; } $valueArray = explode (".", $value); $valueLength = count ($valueArray); $i = 0; while ($i < $valueLength) { $sliceLength = $i + 1; $arraySlice = array_slice($valueArray, 0, $sliceLength); $arraySliceString = implode (".", $arraySlice); $allGroups = $allGroups . $arraySliceString . "\n";
<h2><? print ("$reportTitle"); ?> Report - Host Selection</h2> <? ?> <form action="hostSelection.php" method="post" name="configReport"> <fieldset> <legend>Group Selection</legend> <p>Select a group of servers and click on the >> to move it to the group selected box. by double clicking on a group name, you can see the subgroups that exists under it. You can select a group or a subgroup. Once a group is moved to the Group Selected box, the servers that belong to this group will be highlighted in the Server Selection section</p> <? $userToGet = $_SESSION['user']; if ($userToGet == "") { $allGroupServersVal = get_all_groups_for_user('1'); } else { $allGroupServersVal = get_all_groups_for_user($userToGet); } $allGroups = ""; foreach ($allGroupServersVal as $value) { $value = trim ($value); if ($value == "") { continue; } $valueArray = explode (".", $value); $valueLength = count ($valueArray); $i = 0; while ($i < $valueLength) { $sliceLength = $i + 1; $arraySlice = array_slice($valueArray, 0, $sliceLength); $arraySliceString = implode (".", $arraySlice);