<script type="text/javascript">
$(document).ready(function(){
	$("form#fastorder-form").validate();
	$("form#fastorder-form input, form#fastorder-form textarea").rules("add", {required: true});
});
</script>
<h1>{{$lang.Fastorder}}</h1>
<form action="?p={{$_GET.p}}&amp;iOrder={{$aFastOrder.iOrder}}" method="post" id="fastorder-form" > 
	<fieldset class="tabbed">
		<input type="hidden" name="iOrder" value="{{$aFastOrder.iOrder}}" />
		<div class="block50">
			<table class="details">
				<tr>
					<th class="name">{{$lang.First_surname}} / {{$lang.Company}}</th><td class="value"><input id="fastorder-name" type="text" name="sName" value="{{$aFastOrder.sName}}" class="input" alt="simple" /></td><td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Street}}</th><td class="value"><input type="text" name="sStreet" value="{{$aFastOrder.sStreet}}" class="input" /></td><td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Zip_code}}</th><td class="value"><input type="text" name="sZipCode" value="{{$aFastOrder.sZipCode}}" class="input" /></td><td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.City}}</th><td class="value"><input type="text" name="sCity" value="{{$aFastOrder.sCity}}" class="input" /></td><td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Phone}}</th><td class="value"><input id="fastorder-phone" type="phone" name="sPhone" value="{{$aFastOrder.sPhone}}" class="input" /></td><td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Email}}</th><td class="value"><input id="fastorder-email" type="text" name="sEmail" value="{{$aFastOrder.sEmail}}" class="input" alt="simple" /></td><td class="help"></td>
				</tr>
			</table>
		</div>
		<div class="block50">
			<h2>{{$lang.Order_content}}</h2>
			<textarea style="height: 300px; width: 800px;" id="fastorder-email" name="sOrder">{{$aFastOrder.sOrder}}</textarea>
		</div>
		<div class="save float">
			<div class="save floatcontainer"><input type="submit" class="submit" value="&laquo; {{$lang.return}}"  onclick="location.href = '?p=fastorders-list'; return false;"> <input type="submit" value="{{$lang.Save}} &raquo;" name="sOption" class="submit" /></div>
		</div>
	</fieldset>
</form>