<div class="LoginBox">
	<form method="post" name="frm_login" action="[{$amp_url_self}]">
		[{if $is_logged_in}]
		<h3>[{t}]loginbox_is_logged_in[{/t}]: <b>[{$user_identificator}]</b> <br/>([{$user_type}])</h3>
		<div class="ctr">
			<div class="l5"><div><input type="button" class="minismb" name="smb_logout" value="[{t escape=attr}]loginbox_Logout[{/t}]" onclick="document.location.href='[{$url_logout}]';" /></div></div>
			<div class="clr"></div>
		</div>
		[{else}]
		<h2 class="right-box-title">[{t}]loginbox_Login[{/t}]</h2>
		<div class="ctr nrm">
			[{t}]loginbox_Email[{/t}]
			<div class="l1"><div><input type="text" name="loginname" value="" /></div></div>
			[{t}]loginbox_Password[{/t}]
			<div class="l2"><div><input type="password" name="passwd" value="" /></div></div>
			<div class="clr"></div>
			<div class="l3">
				[{if $language=="hu"}]
				&raquo; <a class="dgreenfg" href="[{$url_registration}]">[{t}]Registration[{/t}]</a><br/>
				[{/if}]
				&raquo; <a class="dgreenfg" rel="nofollow" href="[{$url_forgotten_password}]">[{t}]Forgotten_password[{/t}]</a>
			</div>
			<div class="l4"><input type="submit" class="minismb" name="smb_login" value="[{t escape=attr}]loginbox_Login[{/t}]" /></div>
			<div class="clr"></div>
			<input type="checkbox" name="autologin" /> <span class="dgreenfg">[{t}]loginbox_Automatic_login[{/t}]</span><br/>
			<div class="clr"></div>
		</div>
		[{/if}]
	</form>
</div>
