root/dev/templates/killlisttable.tpl @ 254

Revision 254, 2.9 KB (checked in by exi, 13 years ago)

Merging 242:253 branch into dev

Line 
1{section name=day loop=$killlist}
2    {if $daybreak}
3<div class="kb-date-header">{"l, F jS"|date:$killlist[day].date}</div><br/>
4    {/if}
5<table class="kb-table" width="99%" align="center" cellspacing="1">
6    <tr class="kb-table-header">
7        <td class="kb-table-header" colspan="2" align="center">Ship type</td>
8        <td class="kb-table-header"{if $config->get('killlist_alogo')} colspan="2"{/if}>Victim</td>
9        <td class="kb-table-header">Final blow</td>
10        <td class="kb-table-header" align="center">System</td>
11        <td class="kb-table-header" align="center">Time</td>
12    {if $comments_count}
13        <td class="kb-table-header" align="center"><img src="{$img_url}/comment{$comment_white}.gif"></td>
14    {/if}
15    </tr>
16    {cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
17    {section name=kill loop=$killlist[day].kills}
18        {assign var="k" value=$killlist[day].kills[kill]}
19    <tr class="{cycle advance=false name=ccl}" onmouseout="this.className='{cycle name=ccl}';" style="height: 34px; cursor: pointer;"
20            onmouseover="this.className='kb-table-row-hover';" onClick="window.location.href='?a=kill_detail&kll_id={$k.id}';">
21        <td width="32" align="center"><img src="{$k.victimshipimage}" border="0" width="32" heigth="32"></td>
22        <td height="34" width=150 valign="middle"><div class="kb-shiptype"><b>{$k.victimshipname}</b><br>{$k.victimshipclass}</div><div class="kb-shipicon"><img src="{$k.victimshipindicator}" border="0"></div></td>
23        {if $config->get('killlist_alogo')}
24            {if $k.allianceexists}
25            <td width="32" align="center"><img src="{$img_url}/alliances/{$k.victimallianceicon}.png" border="0" width="32" height="32"></td>
26            {elseif $k.victimalliancename != "None"}
27            <td width="32" align="center"><img src="{$img_url}/alliances/default.gif" border="0" width="32" height="32"></td>
28            {else}
29            <td width="32" align="center">&nbsp;</td>
30            {/if}
31        {/if}
32        <td width="200" class="kb-table-cell"><b>{$k.victim}</b><br/>{$k.victimcorp|truncate:30}</td>
33        <td width="200" class="kb-table-cell"><b>{$k.fb}</b><br>{$k.fbcorp|truncate:30}</td>
34        <td width="110" class="kb-table-cell" align="center"><b>{$k.system|truncate:10}</b><br/>({$k.systemsecurity|max:0|string_format:"%01.1f"})</td>
35        {if $daybreak}
36        <td class="kb-table-cell" align="center"><b>{$k.timestamp|date_format:"%H:%M"}</b></td>
37        {else}
38        <td class="kb-table-cell" align="center" width=80><b>{$k.timestamp|date_format:"%Y-%m-%d"}<br>{$k.timestamp|date_format:"%H:%M"}</b></td>
39        {/if}
40        {if $comments_count}
41        <td width="10" class="kb-table-cell" align="center"><b>{$k.commentcount}</b></td>
42        {/if}
43    </tr>
44    {/section}
45</table>
46{sectionelse}
47<p>No data.
48{/section}
Note: See TracBrowser for help on using the browser.