hasResult()) { foreach ($hosts->peekAhead($compact) as $host) { echo '
' . '

' . $this->qlink( $host->host_name === $host->host_display_name ? $host->host_display_name : $host->host_display_name . ' (' . $this->escape($host->host_name) . ')', Url::fromPath('monitoring/host/show', ['host' => $host->host_name]), null, ['data-base-target' => '_next'] ) . '

'; echo (new Host( $host->host_name, $host->host_check_command, $host->_host_check_command ))->handleRequest(); echo '
'; } if (! $compact && $hosts->hasMore()) { echo ''; } } else { echo '

' . $this->escape(mt('monitoring', 'No hosts found matching the filter.')) . '

'; } ?>