Show
Ignore:
Timestamp:
11/06/06 16:00:31 (14 years ago)
Author:
liq
Message:

-added clickable alliance name to victim
-added aliiance to involved listening

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/kill_detail.php

    r39 r53  
    3737$html .= "</tr>"; 
    3838$html .= "<tr class=kb-table-row-odd>"; 
    39 $html .= "<td class=kb-table-cell width=64><b>Alliance:</b></td><td class=kb-table-cell><b>" . $kill->getVictimAllianceName() . "</b></td>"; 
     39$html .= "<td class=kb-table-cell width=64><b><a href=\"?a=alliance_detail&all_id=".$kill->getVictimAllianceID()."\">".$kill->getVictimAllianceName()."</a></b></td>"; 
    4040$html .= "</tr>"; 
    4141$html .= "</table>"; 
     
    7676    if ($corp->isNPCCorp()) 
    7777    { 
    78         $html .= "<td rowspan=4 width=\"64\"><img " . $imgclass . "src=\"" . $corp->getPortraitURL(64) . "\" border=\"0\"></td>"; 
    79     } 
    80     else 
    81     { 
    82         $html .= "<td rowspan=4 width=\"64\"><img " . $imgclass . "src=\"" . $pilot->getPortraitURL(64) . "\" border=\"0\"></td>"; 
    83     } 
    84     $html .= "<td rowspan=4 width=\"64\"><img " . $imgclass . "src=\"" . $ship->getImage(64) . "\" border=\"0\"></td>"; 
     78        $html .= "<td rowspan=5 width=\"64\"><img " . $imgclass . "src=\"" . $corp->getPortraitURL(64) . "\" border=\"0\"></td>"; 
     79    } 
     80    else 
     81    { 
     82        $html .= "<td rowspan=5 width=\"64\"><img " . $imgclass . "src=\"" . $pilot->getPortraitURL(64) . "\" border=\"0\"></td>"; 
     83    } 
     84    $html .= "<td rowspan=5 width=\"64\"><img " . $imgclass . "src=\"" . $ship->getImage(64) . "\" border=\"0\"></td>"; 
    8585    $html .= "<td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\"><a href=\"?a=pilot_detail&plt_id=" . $pilot->getID() . "\">" . $pilot->getName() . "</a></td>"; 
    8686    $html .= "</tr>"; 
    8787 
    8888    $html .= "<tr class=kb-table-row-odd><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\"><a href=\"?a=corp_detail&crp_id=" . $corp->getID() . "\">" . $corp->getName() . "</a></td></tr>"; 
    89     $html .= "<tr class=kb-table-row-even><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\"><b>" . $ship->getName() . "</b></td></tr>"; 
     89    $html .= "<tr class=kb-table-row-even><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\"><a href=\"?a=alliance_detail&all_id=" . $alliance->getID() . "\">" . $alliance->getName() . "</a></td></tr>"; 
     90    $html .= "<tr class=kb-table-row-odd><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\"><b>" . $ship->getName() . "</b></td></tr>"; 
    9091 
    9192    if ($weapon->getName() != "Unknown" && $weapon->getName() != $ship->getName()) 
    92         $html .= "<tr class=kb-table-row-odd><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\">" . $weapon->getName() . "</td></tr>"; 
    93     else 
    94         $html .= "<tr class=kb-table-row-odd><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\">Unknown</td></tr>"; 
     93        $html .= "<tr class=kb-table-row-even><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\">" . $weapon->getName() . "</td></tr>"; 
     94    else 
     95        $html .= "<tr class=kb-table-row-even><td class=kb-table-cell style=\"padding-top: 1px; padding-bottom: 1px;\">Unknown</td></tr>"; 
    9596} 
    9697$html .= "</table>";