{if $sent}

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

{else}

<form method="post" action="contact.php?action=send">

  {if $errormessage}
	<div class="notice notice-error">
		<div class="inside">
			<p>{$errormessage}</p>
		</div>
	</div>
  {/if}
  
  <p>{$LANG.contactheader}</p>
		
		<div class="feildset">
		
			<div class="col1">
		
				<div>
					<label>
						<span>{$LANG.contactname}: ({$LANG.required})</span>
						<input name="name" value="{$name}" placeholder="{$LANG.contact_name}" type="text" tabindex="1" requred="required" autofocus="autofocus" />
					</label>
				</div>
				
				<div>
					<label>
						<span>{$LANG.contactemail}: ({$LANG.required})</span>
						<input name="email" value="{$email}" placeholder="{$LANG.contact_email}" type="email" tabindex="2" requred="required" />
					</label>
				</div>
				
				<div>
					<label>
						<span>{$LANG.contactsubject}: ({$LANG.required})</span>
						<input name="subject" value="{$subject}" placeholder="{$LANG.contact_subject}" type="text" tabindex="3" requred="required" />
					</label>
				</div>								
				
				<div>
					<label>
						<span>{$LANG.contactmessage}: ({$LANG.required})</span>
						<textarea name="message" placeholder="{$LANG.contact_message}" tabindex="4" required="required">{$message}</textarea>
					</label>
				</div>
				
				
				{if $capatacha}
				<p class="center"><strong>{$LANG.captchatitle}</strong></p>
				<p class="center">{$LANG.captchaverify}</p>
				{if $capatacha eq "recaptcha"}
				<div align="center">{$recapatchahtml}</div>
				{else}
				<p class="center"><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" tabindex="5" class="capcha" /></p>
				{/if}
				{/if}
			
			          
			  <p class="center">
			    <input type="submit" value="{$LANG.contactsend}" class="button1 color2" />
			  </p>
			  
			  </div>
		
		</div>	  
	
	</form>
  
{/if}