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> |
---|
9 | <img style="float: left; margin-right: 10px;" src="{if $item->item.itt_cat == 18}{$img_url}/drones/32_32/{$item->item.typeID}.png{elseif $item->item.itt_cat == 9}{$img_url}/blueprints/64_64/{$item->item.typeID}.png{else}{$img_url}/items/32_32/icon{$item->item.icon}.png{/if}"> |
---|
10 | {if $item->attrib.techLevel.value == 2 and $item->item.itt_cat != 9}<img style="position: relative; left: -42px; float: left; margin-right: -10px;" src="{$img_url}/items/32_32/t2.gif">{/if} |
---|
11 | {if $item->attrib.techLevel.value == 2 and $item->item.itt_cat == 9}<img style="position: relative; left: -74px; float: left; margin-right: -10px;" src="{$img_url}/items/64_64/t2.gif">{/if} |
---|
12 | {$item->item.description|nl2br}</td> |
---|
13 | </tr> |
---|
14 | </table> |
---|
15 | <div class="block-header">Astronautic</div> |
---|
16 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
17 | <tr class="{cycle name=ccl}"> |
---|
18 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon03_13.png" border="0"></td> |
---|
19 | <td class="kb-table-cell"><b>Cargo capacity</b></td> |
---|
20 | <td class="kb-table-cell" align="right">{$item->item.capacity} m3</td> |
---|
21 | </tr> |
---|
22 | <tr class="{cycle name=ccl}"> |
---|
23 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon02_10.png" border="0"></td> |
---|
24 | <td class="kb-table-cell"><b>Mass</b></td> |
---|
25 | <td class="kb-table-cell" align="right">{$item->item.mass|number_format} kg</td> |
---|
26 | </tr> |
---|
27 | <tr class="{cycle name=ccl}"> |
---|
28 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon02_09.png" border="0"></td> |
---|
29 | <td class="kb-table-cell"><b>Volume</b></td> |
---|
30 | <td class="kb-table-cell" align="right">{$item->item.volume} m3</td> |
---|
31 | </tr> |
---|
32 | <tr class="{cycle name=ccl}"> |
---|
33 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon07_12.png" border="0"></td> |
---|
34 | <td class="kb-table-cell"><b>Baseprice</b></td> |
---|
35 | <td class="kb-table-cell" align="right">{$item->item.basePrice|number_format} ISK</td> |
---|
36 | </tr> |
---|
37 | </table> |
---|
38 | |
---|
39 | </td> |
---|
40 | <td width=50> </td> |
---|
41 | <td align=left valign=top width=360> |
---|
42 | <div class="block-header">Attributes</div> |
---|
43 | <table class="kb-table" width="360" border="0" cellspacing="1"> |
---|
44 | {php}$this->assign('attribs', array('techLevel','propulsionFusionStrength','propulsionIonStrength','propulsionMagpulseStrength', |
---|
45 | 'propulsionPlasmaStrength'));{/php} |
---|
46 | {foreach from=$item->attrib key=i item=key} |
---|
47 | <tr class="{cycle name=ccl}"> |
---|
48 | <td class="item-icon" width="32"><img src="{$img_url}/items/32_32/icon{$key.icon}.png" border="0"></td> |
---|
49 | <td class="kb-table-cell"><b>{$key.displayName}</b></td> |
---|
50 | <td class="kb-table-cell" align="right">{if $key.unit == 'typeID'}<a href="?a=invtype&id={$key.value}">{$item->resolveTypeID($key.value)}</a> |
---|
51 | {elseif $key.unit == 'groupID'}<a href="?a=groupdb&id={$key.value}">{$item->resolveGroupID($key.value)}</a> |
---|
52 | {elseif $key.unit == 'attributeID'}{$item->resolveAttributeID($key.value)} |
---|
53 | {else}{$key.value} {$key.unit}{/if}</td> |
---|
54 | </tr> |
---|
55 | {/foreach} |
---|
56 | </table> |
---|
57 | |
---|
58 | </td> |
---|
59 | </tr> |
---|
60 | </table> |
---|
61 | {*<pre>{$dump}</pre>*} |
---|