root/dev/templates/battle_overview.tpl @ 157

Revision 157, 3.6 KB (checked in by exi, 14 years ago)

Added option to show a link to the pod killmail instead of a pod picture on the battle summary.
Battle summaries will now be sorted by shippoints, shipname, pilotname.
Added option to disable mailposting without having to change the password.
Fixed a typo on the standingslist.

Line 
1<br/>
2<div class="kb-kills-header">Battle Summary for {$system}, {$firstts|date_format:"%H:%M"} - {$lastts|date_format:"%H:%M"}</div>
3<table border="0" width="100%" cellspacing="0" cellpadding="0">
4<tr><td width="49%" valign="top">
5<div class="kb-date-header">Friendly ({$friendlycnt})</div>
6<br/>
7<table class="kb-table" width="95%" align="center">
8    <tr class="kb-table-header">
9      <td class="kb-table-header" colspan="2" align="center">Ship/Pilot</td>
10      <td class="kb-table-header" align="center" style="min-width: 45%; width: 45%; max-width: 45%;">Corp/Alliance</td>
11    </tr>
12{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
13{foreach from=$pilots_a item=i key=pilot}
14    <tr class="{cycle name=ccl}"{if is_destroyed($pilot)} style="background-color: #EE4444;"{/if}>
15      <td width="32" height="32" style="max-width: 32px;">
16{if is_destroyed($pilot)}
17        <a href="?a=kill_detail&amp;kll_id={$kll_id}"><img src="{$i.spic}" width="32" height="32" border="0"></a>
18{else}
19        <img src="{$i.spic}" width="32" height="32" border="0">
20{/if}
21      </td>
22{if podded($pilot) and $i.ship != 'Capsule'}
23{if $config->getConfig('bs_podlink')}
24      <td class="kb-table-cell">
25        <b>{$i.name}&nbsp;<a href="?a=kill_detail&amp;kll_id={$pod_kll_id}">[Pod]</a></b><br/>{$i.ship}
26      </td>
27{else}
28      <td class="kb-table-cell" style="background-image: url({$podpic}); background-repeat: no-repeat; background-position: right;">
29        <b>{$i.name}</b><br/>{$i.ship}
30      </td>
31{/if}
32{else}
33      <td class="kb-table-cell"><b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b><br/>{$i.ship}</td>
34{/if}
35      <td class="kb-table-cell"><b><a href="?a=corp_detail&amp;crp_id={$i.cid}">{$i.corp}</a></b><br/><a href="?a=alliance_detail&amp;kll_id={$i.aid}" style="font-weight: normal;">{$i.alliance}</a></td>
36    </tr>
37{/foreach}
38</table>
39</td><td width="55%" valign="top">
40<div class="kb-date-header">Hostile ({$hostilecnt})</div>
41<br/>
42<table class="kb-table" width="95%" align="center">
43    <tr class="kb-table-header">
44      <td class="kb-table-header" colspan="2" align="center">Ship/Pilot</td>
45      <td class="kb-table-header" align="center" style="min-width: 45%; width: 45%; max-width: 45%;">Corp/Alliance</td>
46    </tr>
47{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
48{foreach from=$pilots_e item=i key=pilot}
49    <tr class="{cycle name=ccl}"{if is_destroyed($pilot)} style="background-color: #EE4444;"{/if}>
50      <td width="32" height="32" style="max-width: 32px;">
51{if is_destroyed($pilot)}
52        <a href="?a=kill_detail&amp;kll_id={$kll_id}"><img src="{$i.spic}" width="32" height="32" border="0"></a>
53{else}
54        <img src="{$i.spic}" width="32" height="32" border="0">
55{/if}
56      </td>
57{if podded($pilot) and $i.ship != 'Capsule'}
58{if $config->getConfig('bs_podlink')}
59      <td class="kb-table-cell">
60        <b>{$i.name}</b>&nbsp;<a href="?a=kill_detail&amp;kll_id={$pod_kll_id}">[Pod]</a><br/>{$i.ship}
61      </td>
62{else}
63      <td class="kb-table-cell" style="background-image: url({$podpic}); background-repeat: no-repeat; background-position: right;">
64        <b>{$i.name}</b><br/>{$i.ship}
65      </td>
66{/if}
67{else}
68      <td class="kb-table-cell"><b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b><br/>{$i.ship}</td>
69{/if}
70      <td class="kb-table-cell"><b><a href="?a=corp_detail&amp;crp_id={$i.cid}">{$i.corp}</a></b><br/><a href="?a=alliance_detail&amp;kll_id={$i.aid}" style="font-weight: normal;">{$i.alliance}</a></td>
71    </tr>
72{/foreach}
73</table>
74</td>
75</tr>
76</table>
77<br/>
Note: See TracBrowser for help on using the browser.