{include file="$template/clientareadetailslinks.tpl"}

		<div class="bigheader">
			<h2>{$LANG.clientareanavsecurityquestions}</h2>
		</div><!-- .bigheader -->

{if $successful}

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

{if $errormessage}

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

<form method="post" action="{$smarty.server.PHP_SELF}?action=changesq">
<input type="hidden" name="submit" value="true" />

{if !$nocurrent}
<div class="table-responsive table-grey">
  <table>
          <tr>
            <td>{$currentquestion}</td>
            <td><input type="password" name="currentsecurityqans" /></td>
          </tr>
  </table>
  </div>
{/if}

	<div class="feildset">
		
			<div class="col1">
		
				<div>
					<label>
						<span class="center">{$LANG.clientareasecurityquestion}</span>
						<select name="securityqid">
						{foreach key=num item=question from=$securityquestions}  
							<option value={$question.id}>{$question.question}</option>
						{/foreach}
						</select>
					</label>
				</div>
				
				
				<div>
					<label>
						<span>{$LANG.clientareasecurityanswer}: ({$LANG.required})</span>
						<input type="password" name="securityqans" placeholder="{$LANG.securityquestions_answer}" tabindex="1" requred="required" />
					</label>
				</div>
				
				<div>
					<label>
						<span>{$LANG.clientareasecurityconfanswer}: ({$LANG.required})</span>
						<input type="password" name="securityqans2" placeholder="{$LANG.securityquestions_confirmanswer}" tabindex="2" requred="required" />
					</label>
				</div>				
								
				
			</div>
		
		
<p class="center"><input type="submit" value="{$LANG.clientareasavechanges}" class="button1 color1" />
<input type="reset" value="{$LANG.clientareacancel}" class="button1 color2" /></p>		
			
	</div>

</form>