-
Notifications
You must be signed in to change notification settings - Fork 0
/
losses.tpl
68 lines (65 loc) · 2.24 KB
/
losses.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{if ($ERROR)}
<div class="box" style="width: 400px; margin: auto;">
<div class="boxcontent" style="text-align: center; padding: 2px;">{$ERROR}</div>
</div>
{return}
{/if}
{foreach $KILLS as $date => $killset}
<div class="box">
<div class="boxheader headerline">
<div class="headerfilter">
[
<a href="?p={$PAGE}&date={$date}&class=Battleship">BS</a> |
<a href="?p={$PAGE}&date={$date}&mode=solo">Solo</a> |
<a href="?p={$PAGE}&date={$date}&class=Capsule">Pods</a>
]
</div>
<div class="headercontent">{date('l jS F, Y', strtotime($date))}</div>
</div>
<div class="boxcontent" style="border-top: 0px;">
<table width="100%" cellpadding="1" cellspacing="0" border="0" class="header">
<tr class="headerline">
<td width="60">Time</td>
<td width="170">Victim</td>
<td width="250">Corporation</td>
<td width="140" colspan="2">Ship</td>
<td width="90">System</td>
<td width="16"> </td>
</tr>
{foreach $killset as $kill}
<tr class="line">
<td> {$kill["time"]}</td>
<td><a href="?p=pilot&pilot={$kill["name"]}">{$kill["name"]}</a></td>
<td><a href="?p=corp&corp={$kill["corp"]}">{$kill["corp"]}</a></td>
<td width="14">
<a href="?p=details&kill={$kill["id"]}">
<img src="http://image.eveonline.com/InventoryType/{$kill["icon"]}_32.png" alt="" width="14" height="14" class="icon">
</a>
</td>
<td width="126"><a href="?p={$PAGE}&type={$kill["type"]}">{$kill["type"]}</a></td>
<td>{$kill["systemlink"]}</td>
<td align="center"><a href="?p=details&kill={$kill["id"]}">
<div class="mailicon">
<img src="{$TEMPLATEURL}/images/nil.gif" border="0" title="View killmail" alt="View kill" width="16" height="12">
</div>
</a></td>
</tr>
{/foreach}
</table>
</div>
</div>
<div style="padding: 5px;"></div>
{/foreach}
{if ($PAGES)}
<div class="box" style="width: 400px; margin: auto;">
<div class="boxcontent" style="padding: 2px; text-align: center;">
Page:
{foreach $PAGES as $page => $num}
{if ($num == $CURPAGE)}
{$num}
{else}
<a href="?{$FILTER}&page={$num}">{$page}</a>
{/if}
{/foreach}
({$TOTALENTRIES} entries)
{/if}