<?php /* Smarty version 2.6.18, created on 2007-05-13 22:04:52
         compiled from userImportResult.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'userImportResult.tpl', 11, false),)), $this); ?>
<?php if ($this->_tpl_vars['validCount'] > 0): ?>
<b>Úspešne naimportovaný užívatelia:</b><br />
<br />
<table class="default">
<tr class="head">
  <td>#</td>
  <td colspan="2">Meno</td>
  <td>Typ</td>
  <td>ISIC (ITIC)</td>
</tr>
<?php echo smarty_function_counter(array('start' => 0,'skip' => 1,'print' => false), $this);?>

  <?php $_from = $this->_tpl_vars['importResult']['valid']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['user']):
?>
  <tr>
    <td><?php echo smarty_function_counter(array(), $this);?>
.</td>
    <td style="border-right-width: 0px;"><?php echo $this->_tpl_vars['user']['namePrefix']; ?>
&nbsp;</td>
    <td style="border-left-width: 0px; width: 400px"><?php echo $this->_tpl_vars['user']['name']; ?>
 <?php echo $this->_tpl_vars['user']['surname']; ?>
 <?php echo $this->_tpl_vars['user']['nameSuffix']; ?>
</td>
    <td style="width: 100px; text-align: center"><?php echo $this->_tpl_vars['user']['type']; ?>
</td>
    <td style="width: 120px; text-align: center"><?php echo $this->_tpl_vars['user']['ISIC']; ?>
</td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
</table>  
<br />
<?php else: ?>
<b>Neboli pridaný žiadny nový užívatelia.</b><br />
<br />
<?php endif; ?>
<?php if ($this->_tpl_vars['invalidCount'] > 0): ?>
<b>Užívatelia ktorí nemohli byť pridaný do databázy:</b><br />
<br />
<table class="default">
<tr class="head">
  <td>#</td>
  <td colspan="2">Meno</td>
  <td>Typ</td>
  <td>ISIC (ITIC)</td>
</tr>
<?php echo smarty_function_counter(array('start' => 0,'skip' => 1,'print' => false), $this);?>

<?php $_from = $this->_tpl_vars['importResult']['invalid']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['user']):
?>
<tr>
  <td><?php echo smarty_function_counter(array(), $this);?>
.</td>
  <td style="border-right-width: 0px;"><?php echo $this->_tpl_vars['user']['namePrefix']; ?>
&nbsp;</td>
  <td style="border-left-width: 0px; width: 400px"><?php echo $this->_tpl_vars['user']['name']; ?>
 <?php echo $this->_tpl_vars['user']['surname']; ?>
 <?php echo $this->_tpl_vars['user']['nameSuffix']; ?>
</td>
  <td style="width: 100px; text-align: center"><?php echo $this->_tpl_vars['user']['type']; ?>
</td>
  <td style="width: 120px; text-align: center"><?php echo $this->_tpl_vars['user']['ISIC']; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?php endif; ?>
