<?php /* Smarty version 2.6.26, created on 2020-06-25 13:14:52
         compiled from menus/account_menu.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', 'menus/account_menu.tpl', 8, false),array('modifier', 'cat', 'menus/account_menu.tpl', 32, false),array('modifier', 'regex_replace', 'menus/account_menu.tpl', 34, false),array('function', 'rlHook', 'menus/account_menu.tpl', 16, false),)), $this); ?>
<?php if ($this->_tpl_vars['isLogin']): ?>
	<div class="welcome"><?php echo $this->_tpl_vars['lang']['welcome']; ?>
, <?php echo $this->_tpl_vars['isLogin']; ?>
!</div>
	
	<ul class="account-menu-content">
		<?php $_from = $this->_tpl_vars['account_menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['mItem']):
?>
			<?php if ($this->_tpl_vars['mItem']['Key'] == 'my_messages' && ! $this->_tpl_vars['config']['messages_module']): ?><?php else: ?>
				<li>
					<a <?php if ($this->_tpl_vars['page'] == $this->_tpl_vars['mItem']['Path']): ?>class="font1"<?php endif; ?> title="<?php echo $this->_tpl_vars['mItem']['title']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php if ($this->_tpl_vars['mItem']['Path'] != ''): ?><?php echo $this->_tpl_vars['mItem']['Path']; ?>
.html<?php echo $this->_tpl_vars['mItem']['Get_vars']; ?>
<?php endif; ?><?php else: ?><?php if ($this->_tpl_vars['mItem']['Path'] != ''): ?>?page=<?php echo $this->_tpl_vars['mItem']['Path']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['mItem']['Get_vars'])) ? $this->_run_mod_handler('replace', true, $_tmp, '?', '&amp;') : smarty_modifier_replace($_tmp, '?', '&amp;')); ?>
<?php endif; ?><?php endif; ?>"><?php echo $this->_tpl_vars['mItem']['name']; ?>
</a>
					<?php if ($this->_tpl_vars['mItem']['Key'] == 'my_messages' && $this->_tpl_vars['new_messages']): ?>
						<a class="counter" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['lang']['new_message_available'])) ? $this->_run_mod_handler('replace', true, $_tmp, '[count]', $this->_tpl_vars['new_messages']) : smarty_modifier_replace($_tmp, '[count]', $this->_tpl_vars['new_messages'])); ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['my_messages']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['my_messages']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['new_messages']; ?>
</a>
					<?php endif; ?>
				</li>
			<?php endif; ?>
		<?php endforeach; endif; unset($_from); ?>
		
		<?php echo rlHook::load(array('name' => 'afterAccountMenu'), $this);?>

	
		<li><a title="<?php echo $this->_tpl_vars['lang']['title_logout']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php if ($this->_tpl_vars['mItem']['Path'] != ''): ?><?php echo $this->_tpl_vars['pages']['login']; ?>
.html?action=logout<?php endif; ?><?php else: ?><?php if ($this->_tpl_vars['mItem']['Path'] != ''): ?>?page=<?php echo $this->_tpl_vars['pages']['login']; ?>
&amp;action=logout<?php endif; ?><?php endif; ?>"><?php echo $this->_tpl_vars['lang']['logout']; ?>
</a></li>
	</ul>
	
<?php else: ?>
	<form <?php if ($this->_tpl_vars['loginAttemptsLeft'] <= 0 && $this->_tpl_vars['config']['security_login_attempt_user_module']): ?>onsubmit="return false;"<?php endif; ?> class="login-form" action="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['login']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['login']; ?>
<?php endif; ?>" method="post">
		<input type="hidden" name="action" value="login" />
		
		<?php if ($this->_tpl_vars['loginAttemptsLeft'] > 0 && $this->_tpl_vars['config']['security_login_attempt_user_module']): ?>
			<div class="attention">
				<?php echo $this->_tpl_vars['loginAttemptsMess']; ?>

			</div>
		<?php elseif ($this->_tpl_vars['loginAttemptsLeft'] <= 0 && $this->_tpl_vars['config']['security_login_attempt_user_module']): ?>
			<div class="attention">
				<?php $this->assign('periodVar', ('{')."period".('}')); ?>
				<?php $this->assign('replace', ((is_array($_tmp=((is_array($_tmp='<b>')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['config']['security_login_attempt_user_period']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['config']['security_login_attempt_user_period'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</b>') : smarty_modifier_cat($_tmp, '</b>'))); ?>
				<?php $this->assign('regReplace', '<span class="red">$1</span>'); ?>
				<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lang']['login_attempt_error'])) ? $this->_run_mod_handler('replace', true, $_tmp, $this->_tpl_vars['periodVar'], $this->_tpl_vars['replace']) : smarty_modifier_replace($_tmp, $this->_tpl_vars['periodVar'], $this->_tpl_vars['replace'])))) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.*)\]/', $this->_tpl_vars['regReplace']) : smarty_modifier_regex_replace($_tmp, '/\[(.*)\]/', $this->_tpl_vars['regReplace'])); ?>

			</div>
		<?php endif; ?>
		
		<?php if (isset ( $this->_tpl_vars['request_page'] )): ?>
			<input type="hidden" name="regirect" value="<?php echo $this->_tpl_vars['request_page']; ?>
" />
		<?php endif; ?>

		<input <?php if ($this->_tpl_vars['loginAttemptsLeft'] <= 0 && $this->_tpl_vars['config']['security_login_attempt_user_module']): ?>disabled="disabled" class="disabled"<?php endif; ?> name="username" type="text" maxlength="35" value="<?php echo $_POST['username']; ?>
" placeholder="<?php if ($this->_tpl_vars['config']['account_login_mode'] == 'email'): ?><?php echo $this->_tpl_vars['lang']['mail']; ?>
<?php else: ?><?php echo $this->_tpl_vars['lang']['username']; ?>
<?php endif; ?>" />
		
		<input <?php if ($this->_tpl_vars['loginAttemptsLeft'] <= 0 && $this->_tpl_vars['config']['security_login_attempt_user_module']): ?>disabled="disabled" class="disabled"<?php endif; ?> name="password" type="password" maxlength="35" placeholder="<?php echo $this->_tpl_vars['lang']['password']; ?>
" />
		
		<div class="button">
			<input <?php if ($this->_tpl_vars['loginAttemptsLeft'] <= 0 && $this->_tpl_vars['config']['security_login_attempt_user_module']): ?>disabled="disabled" class="disabled"<?php endif; ?> type="submit" value="<?php echo $this->_tpl_vars['lang']['login']; ?>
" />
			<?php if ($this->_tpl_vars['aHooks']['facebookConnect'] && $this->_tpl_vars['config']['facebookConnect_module'] && $this->_tpl_vars['config']['facebookConnect_appid'] && $this->_tpl_vars['config']['facebookConnect_secret'] && $this->_tpl_vars['config']['facebookConnect_account_type']): ?>
				<a title="<?php echo $this->_tpl_vars['lang']['fConnect_login_title']; ?>
" class="fb-connect" onclick="fcLogin();" href="javascript://"><?php echo $this->_tpl_vars['lang']['fConnect_connect']; ?>
</a>
			<?php endif; ?>
		</div>

        <?php if ($this->_tpl_vars['config']['remember_me']): ?>
            <div class="remember-me">
                <label><input type="checkbox" name="remember_me" checked="checked" /><?php echo $this->_tpl_vars['lang']['remember_me']; ?>
</label>
            </div>
        <?php endif; ?>

		<?php echo $this->_tpl_vars['lang']['forgot_pass']; ?>
 <a title="<?php echo $this->_tpl_vars['lang']['remind_pass']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['remind']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['remind']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['remind_pass']; ?>
</a>
        <?php if ($this->_tpl_vars['pages']['registration']): ?>
            <div class="divider"><?php echo $this->_tpl_vars['lang']['new_here']; ?>
 <a title="<?php echo $this->_tpl_vars['lang']['create_account']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['registration']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['registration']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['create_account']; ?>
</a></div>
        <?php endif; ?>
	</form>
<?php endif; ?>