root/dev/templates/killlisttable.tpl @ 135

Revision 123, 2.3 KB (checked in by exi, 14 years ago)

Admin: admin_mapoptions.php now deletes all regioncache images on submit of new values.
SQL: default inxed for kb3_ships_values.shp_id is now primary key.
Killlists should now properly show the old date format.
Fixed a typo in admin_mapoptions.tpl.
Added debug code to class.map.php.
The killmail importer should now work also with 1 killmail per request.

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">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="center"><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        <td width="200" class="kb-table-cell"><b>{$k.victim}</b><br/>{$k.victimcorp|truncate:30}</td>
24        <td width="200" class="kb-table-cell"><b>{$k.fb}</b><br>{$k.fbcorp|truncate:30}</td>
25        <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>
26        {if $daybreak}
27        <td class="kb-table-cell" align="center"><b>{$k.timestamp|date_format:"%H:%M"}</b></td>
28        {else}
29        <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>
30        {/if}
31        {if $comments_count}
32        <td width="10" class="kb-table-cell" align="center"><b>{$k.commentcount}</b></td>
33        {/if}
34    </tr>
35    {/section}
36</table>
37{sectionelse}
38<p>No data.
39{/section}
Note: See TracBrowser for help on using the browser.