} ?> <td height="20" width="80" nowrap="nowrap" class="altLeft"> [ <a href="dependency.php?id=<?php echo $_GET['id']; ?> §ion=targets&request=delete&target_id=<?php echo $target->getId(); ?> " onClick="javascript:return confirmDelete();">Delete</a> ]</td> <td height="20" class="altRight"><?php switch ($target->getType()) { case 'host': print "<strong>Host:</strong> " . $target->getNagiosHost()->getName(); break; case 'hostgroup': print "<strong>Hostgroup:</strong> " . $target->getNagiosHostgroup()->getName(); break; case 'service': print "<strong>Service:</strong> " . $target->getNagiosHost()->getName() . " - " . $target->getNagiosService()->getDescription(); break; } ?> </tr> <?php $counter++; } } ?> </table> <br />