<?php /* Smarty version 2.6.31, created on 2024-05-11 20:51:58
         compiled from db:system_userform.html */ ?>
<?php if ($this->_tpl_vars['lang_reset'] !== 1): ?>
<script>
	$(function(){
		$('#passforget').on('click',function(e){
			e.preventDefault();
			$('#lostpass').slideToggle();
		})
	})
</script>
<div style="position: relative;">
	<div class="form-wrapper">
		<h1><?php echo $this->_tpl_vars['lang_login']; ?>
</h1>
		<form action="user.php" method="post">
			<div class="form-item">
				<input type="text" class="uname" name="uname" placeholder="User ID or Email" value="<?php echo $this->_tpl_vars['usercookie']; ?>
" />
			</div>
			<div class="form-item">
				<input type="password" name="pass" placeholder="<?php echo $this->_tpl_vars['lang_password']; ?>
" />
			</div>
	    <?php if ($this->_tpl_vars['rememberme']): ?>
			<div class="form-item">
				<input type="checkbox" name="rememberme" value="On" /><?php echo $this->_tpl_vars['lang_rememberme']; ?>

			</div>
	    <?php endif; ?>
    	<div>
				<input type="hidden" name="xoops_redirect" value="<?php echo $this->_tpl_vars['icms_requesturi']; ?>
"/>
				<input type="hidden" name="op" value="login" />
			</div>
			<div class="button-panel">
				<input type="submit" class="button" title="<?php echo $this->_tpl_vars['lang_login']; ?>
" value="<?php echo $this->_tpl_vars['lang_login']; ?>
" />
			</div>
		</form>
  	<div class="form-footer">
    	<p><a id="passforget" href="#"><?php echo $this->_tpl_vars['lang_lostpassword']; ?>
</a></p>
			<?php if ($this->_tpl_vars['allow_registration']): ?>
				<p><?php echo $this->_tpl_vars['lang_notregister']; ?>
</p>
			<?php endif; ?>
  	</div>
	</div>
	<div id="lostpass" class="form-wrapper">
		<p class="padded"><?php echo $this->_tpl_vars['lang_noproblem']; ?>
</p>
		<form action="lostpass.php" method="_POST">
			<div class="form-item">
				<input type="text" name="email" size="26" maxlength="60" placeholder="<?php echo $this->_tpl_vars['lang_youremail']; ?>
" />
				<input type="hidden" name="op" value="mailpasswd" />
				<input type="hidden" name="t" value="<?php echo $this->_tpl_vars['mailpasswd_token']; ?>
" />
			</div>
			<div class="button-panel">
				<input type="submit" class="button" title="<?php echo $this->_tpl_vars['lang_sendpassword']; ?>
" value="<?php echo $this->_tpl_vars['lang_sendpassword']; ?>
" />
				<br /><br />
			</div>
		</form>
	</div>
</div>
<?php else: ?>

<div style="position: relative;">
	<div class="form-wrapper">
		<h1><?php echo @_US_RESETPASSTITLE; ?>
</h1>
		<p><?php echo @_US_RESETPASSINFO; ?>
</p>
		<form action="resetpass.php" method="post">
			<div class="form-item">
				<input type="password" name="pass"  name="c_password" placeholder="<?php echo $this->_tpl_vars['lang_currentpass']; ?>
" />
			</div>
			<div class="form-item">
				<input type="password" name="pass"  name="password" placeholder="<?php echo $this->_tpl_vars['lang_newpass']; ?>
" />
			</div>
			<div class="form-item">
				<input type="password" name="pass"  name="password2" placeholder="<?php echo $this->_tpl_vars['lang_newpass2']; ?>
" />
				<input type="hidden" name="op" value="resetpass" /><input type="hidden" name="t" value="<?php echo $this->_tpl_vars['resetpassword_token']; ?>
" />
			</div>
			<div class="button-panel">
				<input type="submit" class="button" title="<?php echo @_US_RESETPASSWORD; ?>
" value="<?php echo @_US_RESETPASSWORD; ?>
" />
			</div>
		</form>
	</div>
</div>

<?php endif; ?>