root/dev/mods/apoc_fitting/damage_box.tpl @ 491

Revision 446, 1.6 KB (checked in by kovell, 11 years ago)

Fixes: menu html height set, fitting mod cycle errors removed.

Line 
1{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
2<table class="kb-table" width="150" cellspacing="1">
3  <tr>
4    <td class="kb-table-header" colspan="2" align="center">Top Damage Dealer</td>
5  </tr>
6{foreach from=$topdamage key=key item=i}
7  <tr class={cycle name=ccl}>
8    <td class="finalblow" align="center" width="64"><div class="menu-wrapper"><a href="{$i.PilotURL}"><img class=finalblow height="64" width="64" src="{$i.portrait}" alt="{$i.PilotName}" title="{$i.PilotName}" border="0"></a></div></td>
9    <td class="finalblow" align="center" width="64"><div class="menu-wrapper"><a href="?a=invtype&id={$i.ShipID}"><img class=finalblow height="64" width="64" src="{$i.shipImage}" alt="{$i.ShipName}" title="{$i.ShipName}" border="0"></a></div></td>
10{/foreach}
11</table>
12<br>
13
14<table class="kb-table" width="150" cellspacing="1">
15  <tr>
16    <td class="kb-table-header" colspan="2" align="center">Final Blow</td>
17  </tr>
18{foreach from=$involved key=key item=i}
19{if $i.FB == "true"}
20  <tr class={cycle name=ccl}>
21    <td class="finalblow" align="center" width="64"><div class="menu-wrapper"><a href="{$i.PilotURL}"><img class=finalblow height="64" width="64" src="{$i.portrait}" alt="{$i.PilotName}" title="{$i.PilotName}" border="0"></a></div></td>
22    <td class="finalblow" align="center" width="64"><div class="menu-wrapper"><a href="?a=invtype&id={$i.ShipID}"><img class=finalblow height="64" width="64" src="{$i.shipImage}" alt="{$i.ShipName}" title="{$i.ShipName}" border="0"></a></div></td>
23  </tr>
24{/if}
25{/foreach}
26</table>
27<br>
Note: See TracBrowser for help on using the browser.