{if $success}

	<div class="notice notice-success">
		<div class="inside">
			<p>{$LANG.pwresetvalidationsent}</p>
		</div>
	</div>

  <p>{$LANG.pwresetvalidationcheckemail}

{else}

<p>{$LANG.pwresetdesc}</p>

{if $errormessage}
	<div class="notice notice-error">
		<div class="inside">
			<p>{$errormessage}</p>
		</div>
	</div>
{/if}

<form method="post" action="pwreset.php">
<input type="hidden" name="action" value="reset" />

		<div class="feildset">
		
			<div class="col1">
			
				<div>
					<label>
						<span>{$LANG.loginemail}:</span>
						<input type="text" name="email" class="inputstyle" value="{$email}" placeholder="{$LANG.pwreset_email}" autofocus="autofocus" />
					</label>
				</div>
				
				{if $securityquestion}
				
				<h2>{$LANG.pwresetsecurityquestionrequired}</h2>
				
				<div>
					<label>
						<span>{$LANG.loginemail}:</span>
						{$securityquestion}
					</label>
				</div>
				
				<div>
					<label>
						<span>{$LANG.clientareasecurityanswer}:</span>
						<input type="text" name="answer" value="{$answer}">
					</label>
				</div>				
				
				{/if}						
  
  			</div>
  			
  		</div>

  <p class="center">
    <input type="submit" value="{$LANG.pwresetsubmit}" class="button1 color1">
  </p>

</form>

{/if}