1 | <table class="kb-table" width="98%" align="center" cellspacing="1"> |
---|
2 | <tr class="kb-table-header"><td class="kb-table-cell" width="180">Name</td> |
---|
3 | <td class="kb-table-cell" width="80" align=center>Start date</td> |
---|
4 | {if $contract_getactive == "no"} |
---|
5 | <td class="kb-table-cell" width="80" align="center">End date</td> |
---|
6 | {/if} |
---|
7 | <td class="kb-table-cell" width="50" align="center">Kills</td> |
---|
8 | <td class="kb-table-cell" width="70" align="center">ISK (M)</td> |
---|
9 | <td class="kb-table-cell" width="50" align="center">Losses</td> |
---|
10 | <td class="kb-table-cell" width="70" align="center">ISK (M)</td> |
---|
11 | <td class="kb-table-cell" width="70" align="center" colspan=2>Efficiency</td> |
---|
12 | </tr> |
---|
13 | {cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"} |
---|
14 | {foreach from=$contracts item=i} |
---|
15 | <tr class="{cycle advance=false name=ccl}" onmouseover="this.className='kb-table-row-hover';" |
---|
16 | onmouseout="this.className='{cycle name=ccl}';" onClick="window.location.href='?a=cc_detail&ctr_id={$i.id}';"> |
---|
17 | <td class="kb-table-cell"><b>{$i.name}</b></td> |
---|
18 | <td class="kb-table-cell" align="center">{$i.startdate|truncate:10:""}</td> |
---|
19 | {if $contract_getactive == "no"} |
---|
20 | {if $i.enddate} |
---|
21 | <td class="kb-table-cell" align="center">{$i.enddate|truncate:10:""}</td> |
---|
22 | {else} |
---|
23 | <td class="kb-table-cell" align="center">Active</td> |
---|
24 | {/if} |
---|
25 | {/if} |
---|
26 | <td class="kl-kill" align="center">{$i.kills}</td> |
---|
27 | <td class="kl-kill" align="center">{$i.killisk/1000000|string_format:"%.2f"}</td> |
---|
28 | <td class="kl-loss" align="center">{$i.losses}</td> |
---|
29 | <td class="kl-loss" align="center">{$i.lossisk/1000000|string_format:"%.2f"}</td> |
---|
30 | <td class="kb-table-cell" align="center" width="40"><b>{$i.efficiency}</b></td> |
---|
31 | <td class="kb-table-cell" align="left" width="75">{$i.bar}</td> |
---|
32 | </tr> |
---|
33 | {/foreach} |
---|
34 | </table> |
---|