<?php /* Smarty version 2.6.26, created on 2020-06-25 21:49:31
         compiled from blocks/featured_accounts.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'blocks/featured_accounts.tpl', 7, false),array('modifier', 'regex_replace', 'blocks/featured_accounts.tpl', 16, false),array('function', 'pageUrl', 'blocks/featured_accounts.tpl', 13, false),)), $this); ?>
<!-- featured accounts block -->

<?php if ($this->_tpl_vars['accounts']): ?>

	<ul class="row featured accounts with-pictures"><?php echo ''; ?><?php $_from = $this->_tpl_vars['accounts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['accountF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['accountF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['featured_account']):
        $this->_foreach['accountF']['iteration']++;
?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'featured_account_item.tpl') : smarty_modifier_cat($_tmp, 'featured_account_item.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?>
</ul>

<?php else: ?>

    <?php echo rlSmarty::pageUrl(array('key' => 'registration','assign' => 'link'), $this);?>

    <?php $this->assign('link', ((is_array($_tmp=((is_array($_tmp='<a href="')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['link']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['link'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">$1</a>') : smarty_modifier_cat($_tmp, '">$1</a>'))); ?>
    
    <?php echo ((is_array($_tmp=$this->_tpl_vars['lang']['no_accounts_created'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.+)\]/', $this->_tpl_vars['link']) : smarty_modifier_regex_replace($_tmp, '/\[(.+)\]/', $this->_tpl_vars['link'])); ?>


<?php endif; ?>

<!-- featured accounts block end -->