<?php /* Smarty version 2.6.18, created on 2007-05-10 10:01:28
         compiled from importResult.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'importResult.tpl', 4, false),)), $this); ?>
<h3>Výsledky importu užívateľov</h3>
<?php if ($this->_tpl_vars['validCount'] > 0): ?>
<b>Úspešne importovaný užívatelia</b><br />
<?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']):
?>
<?php echo smarty_function_counter(array(), $this);?>
. <?php echo $this->_tpl_vars['user']['namePrefix']; ?>
 <?php echo $this->_tpl_vars['user']['name']; ?>
 <?php echo $this->_tpl_vars['user']['surname']; ?>
 <?php echo $this->_tpl_vars['user']['nameSuffix']; ?>
:
<?php echo $this->_tpl_vars['user']['ISIC']; ?>
<br />
  <?php endforeach; endif; unset($_from); ?>  
<br />
<?php endif; ?>
<?php if ($this->_tpl_vars['invalidCount'] > 0): ?>
<b>Užívatelia, ktorí neboli pridaný do db</b><br />
<?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']):
?>
<?php echo smarty_function_counter(array(), $this);?>
. <?php echo $this->_tpl_vars['user']['namePrefix']; ?>
 <?php echo $this->_tpl_vars['user']['name']; ?>
 <?php echo $this->_tpl_vars['user']['surname']; ?>
 <?php echo $this->_tpl_vars['user']['nameSuffix']; ?>
:
<?php echo $this->_tpl_vars['user']['ISIC']; ?>
<br />
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
