</table> <?php } } } } } } } } } print_window_footer(); } // Get list of children hosts if (!isset($host)) { $children_list = NagiosHostPeer::getTopLevelHosts(); } else { $children_list = $host->getChildrenHosts(); } $numOfChildren = count($children_list); if (isset($host)) { $title = "Children Hosts for " . $host->getName(); } else { $title = "Top Level Network Hosts"; } print_window_header($title, "100%"); ?> <a class="networkadd sublink" href="add_host.php<?php if (isset($host)) { print "?parent_id=" . $host->getId(); }