1 | {cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"} |
---|
2 | <table cellpadding=0 cellspacing=1 border=0> |
---|
3 | <tr> |
---|
4 | <td width=360 align=left valign=top> |
---|
5 | <div class="block-header">{$item->item.typeName}</div> |
---|
6 | <table class="kb-table" width=360 cellpadding=0 cellspacing=1 border=0> |
---|
7 | <tr class="kb-table-row-even"> |
---|
8 | <td><img style="float: left; margin-right: 10px;" src="{$img_url}/ships/64_64/{$item->item.typeID}.png">{$item->item.description|nl2br}</td> |
---|
9 | </tr> |
---|
10 | </table> |
---|
11 | <div class="block-header">Armor</div> |
---|
12 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
13 | {php}$this->assign('attribs', array('armorHP','armorEmDamageResonance','armorExplosiveDamageResonance', |
---|
14 | 'armorKineticDamageResonance','armorThermalDamageResonance'));{/php} |
---|
15 | {foreach from=$attribs key=i item=key} |
---|
16 | <tr class="{cycle name=ccl}"> |
---|
17 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$item->attrib.$key.icon}.png" border="0"></td> |
---|
18 | <td class="kb-table-cell"><b>{$item->attrib.$key.displayName}</b></td> |
---|
19 | <td class="kb-table-cell" align="right">{if strstr($key, 'Resonance')}{$item->attrib.$key.value*-100+100} |
---|
20 | {else}{$item->attrib.$key.value}{/if} {$item->attrib.$key.unit}</td> |
---|
21 | </tr> |
---|
22 | {/foreach} |
---|
23 | </table> |
---|
24 | <div class="block-header">Shield</div> |
---|
25 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
26 | {php}$this->assign('attribs', array('shieldCapacity','shieldRechargeRate','shieldEmDamageResonance','shieldExplosiveDamageResonance', |
---|
27 | 'shieldKineticDamageResonance','shieldThermalDamageResonance'));{/php} |
---|
28 | {foreach from=$attribs key=i item=key} |
---|
29 | <tr class="{cycle name=ccl}"> |
---|
30 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$item->attrib.$key.icon}.png" border="0"></td> |
---|
31 | <td class="kb-table-cell"><b>{$item->attrib.$key.displayName}</b></td> |
---|
32 | <td class="kb-table-cell" align="right">{if strstr($key, 'Resonance')}{$item->attrib.$key.value*-100+100} |
---|
33 | {else}{$item->attrib.$key.value}{/if} {$item->attrib.$key.unit}</td> |
---|
34 | </tr> |
---|
35 | {/foreach} |
---|
36 | </table> |
---|
37 | <div class="block-header">Astronautic</div> |
---|
38 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
39 | {php}$this->assign('attribs', array('maxVelocity','agility','droneCapacity','capacitorCapacity', |
---|
40 | 'rechargeRate'));{/php} |
---|
41 | <tr class="{cycle name=ccl}"> |
---|
42 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon03_13.png" border="0"></td> |
---|
43 | <td class="kb-table-cell"><b>Cargo capacity</b></td> |
---|
44 | <td class="kb-table-cell" align="right">{$item->item.capacity} m3</td> |
---|
45 | </tr> |
---|
46 | <tr class="{cycle name=ccl}"> |
---|
47 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon02_10.png" border="0"></td> |
---|
48 | <td class="kb-table-cell"><b>Mass</b></td> |
---|
49 | <td class="kb-table-cell" align="right">{$item->item.mass|number_format} kg</td> |
---|
50 | </tr> |
---|
51 | <tr class="{cycle name=ccl}"> |
---|
52 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon02_09.png" border="0"></td> |
---|
53 | <td class="kb-table-cell"><b>Volume</b></td> |
---|
54 | <td class="kb-table-cell" align="right">{$item->item.volume} m3</td> |
---|
55 | </tr> |
---|
56 | {foreach from=$attribs key=i item=key} |
---|
57 | <tr class="{cycle name=ccl}"> |
---|
58 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$item->attrib.$key.icon}.png" border="0"></td> |
---|
59 | <td class="kb-table-cell"><b>{$item->attrib.$key.displayName}</b></td> |
---|
60 | <td class="kb-table-cell" align="right">{$item->attrib.$key.value} {$item->attrib.$key.unit}</td> |
---|
61 | </tr> |
---|
62 | {/foreach} |
---|
63 | <tr class="{cycle name=ccl}"> |
---|
64 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon07_12.png" border="0"></td> |
---|
65 | <td class="kb-table-cell"><b>Baseprice</b></td> |
---|
66 | <td class="kb-table-cell" align="right">{$item->item.basePrice|number_format} ISK</td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | </td> |
---|
70 | <td width=50> </td> |
---|
71 | <td align=left valign=top width=360> |
---|
72 | <div class="block-header">Fitting</div> |
---|
73 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
74 | {php}$this->assign('attribs', array('hiSlots','medSlots','lowSlots','rigSlots','upgradeCapacity','droneBandwidth','launcherSlotsLeft', |
---|
75 | 'turretSlotsLeft','powerOutput','cpuOutput'));{/php} |
---|
76 | {foreach from=$attribs key=i item=key} |
---|
77 | <tr class="{cycle name=ccl}"> |
---|
78 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$item->attrib.$key.icon}.png" border="0"></td> |
---|
79 | <td class="kb-table-cell"><b>{$item->attrib.$key.displayName}</b></td> |
---|
80 | <td class="kb-table-cell" align="right">{$item->attrib.$key.value} {$item->attrib.$key.unit}</td> |
---|
81 | </tr> |
---|
82 | {/foreach} |
---|
83 | </table> |
---|
84 | <div class="block-header">Combat</div> |
---|
85 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
86 | {php}$this->assign('attribs', array('maxTargetRange','scanResolution','maxLockedTargets','scanRadarStrength', |
---|
87 | 'scanLadarStrength','scanMagnetometricStrength','scanGravimetricStrength', |
---|
88 | 'signatureRadius'));{/php} |
---|
89 | {foreach from=$attribs key=i item=key} |
---|
90 | <tr class="{cycle name=ccl}"> |
---|
91 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$item->attrib.$key.icon}.png" border="0"></td> |
---|
92 | <td class="kb-table-cell"><b>{$item->attrib.$key.displayName}</b></td> |
---|
93 | <td class="kb-table-cell" align="right">{$item->attrib.$key.value} {$item->attrib.$key.unit}</td> |
---|
94 | </tr> |
---|
95 | {/foreach} |
---|
96 | </table> |
---|
97 | <div class="block-header">Misc</div> |
---|
98 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
99 | {php}$this->assign('attribs', array('techLevel','propulsionFusionStrength','propulsionIonStrength','propulsionMagpulseStrength', |
---|
100 | 'propulsionPlasmaStrength'));{/php} |
---|
101 | {foreach from=$attribs key=i item=key} |
---|
102 | <tr class="{cycle name=ccl}"> |
---|
103 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$item->attrib.$key.icon}.png" border="0"></td> |
---|
104 | <td class="kb-table-cell"><b>{$item->attrib.$key.displayName}</b></td> |
---|
105 | <td class="kb-table-cell" align="right">{$item->attrib.$key.value} {$item->attrib.$key.unit}</td> |
---|
106 | </tr> |
---|
107 | {/foreach} |
---|
108 | </table> |
---|
109 | </td> |
---|
110 | </tr> |
---|
111 | </table> |
---|