65 | | $html .= "<br><div class=kb-contract-target-header>Target " . $target->getType() . " - " . $target->getName() . "</div>"; |
| 65 | $html .= "<br><div class=kb-contract-target-header>Target " . $target->getType() . " - "; |
| 66 | switch ($target->getType()) { |
| 67 | case "corp": |
| 68 | $html .= "<a class=kb-contract href=\"?a=" . $target->getType() . "_detail&crp_id=" . $target->getID() . "\">" . $target->getName() . "</a>"; |
| 69 | break; |
| 70 | case "alliance": |
| 71 | $html .= "<a class=kb-contract href=\"?a=" . $target->getType() . "_detail&all_id=" . $target->getID() . "\">" . $target->getName() . "</a>"; |
| 72 | break; |
| 73 | case "system": |
| 74 | $html .= "<a class=kb-contract href=\"?a=" .$target->getType() . "_detail&sys_id=" . $target->getID() . "\">" . $target->getName() . "</a>"; |
| 75 | break; |
| 76 | case "region": |
| 77 | $html .= $target->getName(); |
| 78 | break; |
| 79 | } |
| 80 | $html .= "</div>"; |