<div class="user-login">
	<script type="text/javascript">
		$(document).ready(function(){
			$("form#login-form").validate();
			$("form#login-form #login").rules("add", {required: true});
			$("form#login-form #password").rules("add", {required: true});
		});
	</script>
	<form action="{{$aMenuLoginInfo.sLinkLogin}}" method="post" id="login-form" class="form-styled">
		<fieldset>
			<table>
				<tr>
					<th><label for="login">{{$lang.Login}} / {{$lang.Email}}</label></th><td><input type="text" name="sLogin" class="input" value="" id="login" maxlength="30" /></td>
				</tr><tr>
					<th><label for="password">{{$lang.Password}}</label></th><td><input type="password" name="sPass" class="input" value="" id="password" maxlength="30" /></td>
				</tr><tr>
					<td colspan="2" class="buttons">
						<input type="submit" id="login_top" class="submit submit-styled" value="{{$lang.Log_in}}" />
						{{if isset($sFacebookLoginUrl)}}<a href="{{$sFacebookLoginUrl}}" id="fblogin2">{{$lang.Facebook_login}}</a>{{/if}}
					</td>
				</tr>
				{{if isset($aMenuLoginInfo.sLinkRemindPassword) || $aMenuLoginInfo.sLinkRegister}}
					<tr><td></td><td class="buttons" style="padding:10px 40px 0 0; text-align: center; width: auto;">
						{{if $aMenuLoginInfo.sLinkRegister}}<a id="register_link" href="{{$aMenuLoginInfo.sLinkRegister}}" rel="nofollow" style="margin: 0 10px;">{{$lang.Register}}</a>{{/if}}
						{{if isset($aMenuLoginInfo.sLinkRemindPassword)}}<a href="{{$aMenuLoginInfo.sLinkRemindPassword}}" style="margin: 0 10px;">{{$lang.remind_password}}</a>{{/if}}
					</td></tr>
				{{/if}}
			</table>
		</fieldset>
	</form>
</div>