<?php /* Smarty version 2.6.26, created on 2020-06-25 13:10:58
         compiled from blocks/lang_selector.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'blocks/lang_selector.tpl', 3, false),array('modifier', 'ucfirst', 'blocks/lang_selector.tpl', 6, false),array('modifier', 'lower', 'blocks/lang_selector.tpl', 10, false),array('modifier', 'replace', 'blocks/lang_selector.tpl', 13, false),)), $this); ?>
<!-- languages selector -->

<?php if (count($this->_tpl_vars['languages']) > 1): ?>
	<span class="lang-wrapper">
		<span class="circle" id="lang-selector">
			<span class="default" accesskey="<?php echo ((is_array($_tmp=@RL_LANG_CODE)) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : ucfirst($_tmp)); ?>
"><?php echo $this->_tpl_vars['languages'][@RL_LANG_CODE]['name']; ?>
</span>
			<span class="content hide">
				<ul class="lang-selector">
					<?php $_from = $this->_tpl_vars['languages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['lang_item']):
?>
						<?php if (((is_array($_tmp=$this->_tpl_vars['lang_item']['Code'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) == ((is_array($_tmp=@RL_LANG_CODE)) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp))): ?><?php continue; ?><?php endif; ?>

						<li>
						<a class="font2" data-code="<?php echo ((is_array($_tmp=$this->_tpl_vars['lang_item']['Code'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
" title="<?php echo $this->_tpl_vars['lang_item']['name']; ?>
" href="<?php if ($this->_tpl_vars['hreflang'][$this->_tpl_vars['lang_item']['Code']]): ?><?php echo $this->_tpl_vars['hreflang'][$this->_tpl_vars['lang_item']['Code']]; ?>
<?php else: ?><?php if ($this->_tpl_vars['lang_url_home']): ?><?php echo $this->_tpl_vars['lang_url_home']; ?>
<?php else: ?><?php echo @RL_URL_HOME; ?>
<?php endif; ?><?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['lang_item']['dCode']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['pageLink'])) ? $this->_run_mod_handler('replace', true, $_tmp, '&', '&amp;') : smarty_modifier_replace($_tmp, '&', '&amp;')); ?>
<?php else: ?><?php echo $this->_tpl_vars['pageLink']; ?>
language=<?php echo $this->_tpl_vars['lang_item']['Code']; ?>
<?php endif; ?><?php endif; ?>"><?php echo $this->_tpl_vars['lang_item']['name']; ?>
</a>
						</li>
					<?php endforeach; endif; unset($_from); ?>
				</ul>
			</span>
		</span>
	</span>
<?php endif; ?>

<!-- languages selector end -->