 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>{$CONFIG.site_title} | Authentication</title>
	<link rel="stylesheet" type="text/css" href="/templates/css/all.css" />
	<!--[if IE]><link rel="stylesheet" type="text/css" href="/templates/css/ie.css" media="screen"/><![endif]-->
	<link rel="icon" href="templates/img/favicon.ico" type="image/x-icon" />
</head>
<body id="auth">
<div id="main">
	<div id="box">
		<!--form begin-->
		<form action="{$_SERVER.REQUEST_URI}" method="post" name="auth">
			<fieldset>
			<strong>{if !$info}ACCESS CONTROL -- ENTER EMAIL{else}AUTHENTICATED.{/if}</strong>
			<!--input email address-->
			<p>
			{if !$info.uniqueid}
			<input type="text" name="email" value="{$_POST.email}" />
			<input type="hidden" name="verifyme" value="18ac8ef0da9748dcd828309ad"/>
			{else}
			{$info.first|upper} {$info.last|upper}
			{/if}
			</p>
			</fieldset>
		</form>
		<SCRIPT language="JavaScript">
                document.auth.email.focus();
                </SCRIPT>
		<!--form end-->

		{if $ERROR}
		<!--wrong message-->
		<div id="wrong">
			{foreach from=$ERROR item=message}
                        <p>{$message}</p>
	                {/foreach}
			<span>&nbsp;</span>
		</div>
		{/if}

		<!--logo-->
		<div class="logo">
		<h1><a href="#">{$CONFIG.site_title}</a></h1>
		</div>
	</div>
	
</div>
</body>
</html>
