<?php /* Smarty version 2.6.25, created on 2009-08-04 21:09:41
         compiled from summarytable.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'summarytable.tpl', 17, false),)), $this); ?>
<!-- summarytable.tpl --><table class=kb-subtable width="100%" border="0" cellspacing=0>
	<tr>
		<td valign=top width="<?php echo $this->_tpl_vars['width']; ?>
%">
			<table class=kb-table cellspacing="1" width="100%">
				<tr class=kb-table-header>
					<td class=kb-table-cell width=<?php echo $this->_tpl_vars['width_abs']; ?>
>Ship class</td>
<?php if ($this->_tpl_vars['verbose']): ?>
					<td class=kb-table-cell width=60 align=center>Kills</td>
					<td class=kb-table-cell width=60 align=center>ISK (M)</td>
	<?php if ($this->_tpl_vars['losses']): ?>					<td class=kb-table-cell width=60 align=center>Losses</td>
					<td class=kb-table-cell width=60 align=center>ISK (M)</td>
	<?php endif; ?>
<?php else: ?>					<td class=kb-table-cell width=30 align=center>K</td>
	<?php if ($this->_tpl_vars['losses']): ?>					<td class=kb-table-cell width=30 align=center>L</td>
	<?php endif; ?>
<?php endif; ?>	</tr>
<?php echo smarty_function_cycle(array('reset' => true,'print' => false,'name' => 'ccl','values' => "kb-table-row-even,kb-table-row-odd"), $this);?>

<?php $_from = $this->_tpl_vars['summary']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
<?php if ($this->_tpl_vars['i']['break']): ?><?php echo smarty_function_cycle(array('reset' => true,'print' => false,'name' => 'ccl','values' => "kb-table-row-even,kb-table-row-odd"), $this);?>

			</table></td><td valign=top width="<?php echo $this->_tpl_vars['width']; ?>
%"><table class=kb-table cellspacing="1" width="100%">
				<tr class=kb-table-header>
					<td class=kb-table-cell width=<?php echo $this->_tpl_vars['width_abs']; ?>
>Ship class</td>
	<?php if ($this->_tpl_vars['verbose']): ?>					<td class=kb-table-cell width=60 align=center>Kills</td>
					<td class=kb-table-cell width=60 align=center>ISK (M)</td>
		<?php if ($this->_tpl_vars['losses']): ?>					<td class=kb-table-cell width=60 align=center>Losses</td>
					<td class=kb-table-cell width=60 align=center>ISK (M)</td>
		<?php endif; ?>
	<?php else: ?>					<td class=kb-table-cell width=30 align=center>K</td>
		<?php if ($this->_tpl_vars['losses']): ?>					<td class=kb-table-cell width=30 align=center>L</td>
		<?php endif; ?>
	<?php endif; ?>				</tr>
<?php endif; ?>
	<tr class=<?php echo smarty_function_cycle(array('name' => 'ccl'), $this);?>
>
					<td nowrap class=kb-table-cell><b><a class=kb-shipclass<?php if ($this->_tpl_vars['i']['hl']): ?>-hl<?php endif; ?> href="?<?php echo $this->_tpl_vars['i']['qry']; ?>
&amp;scl_id=<?php echo $this->_tpl_vars['i']['id']; ?>
"><?php echo $this->_tpl_vars['i']['name']; ?>
</a></b></td>
					<td class=kl-kill<?php if ($this->_tpl_vars['i']['kills'] == 0): ?>-null<?php endif; ?> align=center><?php echo $this->_tpl_vars['i']['kills']; ?>
</td>
<?php if ($this->_tpl_vars['verbose']): ?>				<td class=kl-kill<?php if ($this->_tpl_vars['i']['kills'] == 0): ?>-null<?php endif; ?> align=center><?php echo $this->_tpl_vars['i']['kisk']; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['losses']): ?>					<td class=kl-loss<?php if ($this->_tpl_vars['i']['losses'] == 0): ?>-null<?php endif; ?> align=center><?php echo $this->_tpl_vars['i']['losses']; ?>
</td>
	<?php if ($this->_tpl_vars['verbose']): ?>				<td class=kl-loss<?php if ($this->_tpl_vars['i']['losses'] == 0): ?>-null<?php endif; ?> align=center><?php echo $this->_tpl_vars['i']['lisk']; ?>
</td>
	<?php endif; ?>
<?php endif; ?>	</tr>
<?php endforeach; endif; unset($_from); ?>
			</table>
		</td>
	</tr>
</table>

<?php if ($this->_tpl_vars['summarysummary']): ?>
	<?php if ($this->_tpl_vars['efficiency'] && $this->_tpl_vars['losses']): ?>
<table style="text-align:center; width:90%;" border=0 cellspacing=2>
	<tr align=center>
		<td width='30%'><span style="text-align:right;" class="killcount"><?php echo $this->_tpl_vars['kcount']; ?>
 Ships killed (<?php if ($this->_tpl_vars['kiskB'] > 1 || $this->_tpl_vars['liskB'] > 1): ?><?php echo $this->_tpl_vars['kiskB']; ?>
B<?php else: ?><?php echo $this->_tpl_vars['kiskM']; ?>
M<?php endif; ?> ISK)</span></td>
		<td width='30%'><span style="text-align:center;" class="losscount"><?php echo $this->_tpl_vars['lcount']; ?>
 Ships lost (<?php if ($this->_tpl_vars['kiskB'] > 1 || $this->_tpl_vars['liskB'] > 1): ?><?php echo $this->_tpl_vars['liskB']; ?>
B<?php else: ?><?php echo $this->_tpl_vars['liskM']; ?>
M<?php endif; ?> ISK)</span></td>
		<td width='30%'><span style="text-align:left;" class="efficency"><?php echo $this->_tpl_vars['efficiency']; ?>
% Efficiency (ISK)</span></td>
	</tr>
</table>
<?php else: ?>
<table style="text-align:center; width:90%;" border=0 cellspacing=2>
	<tr align=center>
<?php if ($this->_tpl_vars['losses']): ?>		<td width='51%'><span style="text-align:right;" class="killcount"><?php echo $this->_tpl_vars['kcount']; ?>
 Ships killed (<?php if ($this->_tpl_vars['kiskB'] > 1 || $this->_tpl_vars['liskB'] > 1): ?><?php echo $this->_tpl_vars['kiskB']; ?>
B<?php else: ?><?php echo $this->_tpl_vars['kiskM']; ?>
M<?php endif; ?> ISK)</span></td>
		<td width='49%'><span style="text-align:center;" class="losscount"><?php echo $this->_tpl_vars['lcount']; ?>
 Ships lost (<?php if ($this->_tpl_vars['kiskB'] > 1 || $this->_tpl_vars['liskB'] > 1): ?><?php echo $this->_tpl_vars['liskB']; ?>
B<?php else: ?><?php echo $this->_tpl_vars['liskM']; ?>
M<?php endif; ?> ISK)</span></td>
<?php else: ?>		<td width='100%'><span style="text-align:right;" class="killcount"><?php echo $this->_tpl_vars['kcount']; ?>
 Ships killed (<?php if ($this->_tpl_vars['kiskB'] > 1 || $this->_tpl_vars['liskB'] > 1): ?><?php echo $this->_tpl_vars['kiskB']; ?>
B<?php else: ?><?php echo $this->_tpl_vars['kiskM']; ?>
M<?php endif; ?> ISK)</span></td>
<?php endif; ?>	</tr>
</table>
	<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['clearfilter']): ?><table align=center><tr><td align=center valign=top class=weeknav>[<a href="<?php echo $this->_tpl_vars['clearfilter']; ?>
">clear filter</a>]</td></tr></table><?php endif; ?>
<!-- /summarytable.tpl -->