{[if $LOGGED == TRUE]}
<div align="center">
<h1>{[$L__LOGIN__ALREADY_LOGGED]}</h1>
<h3><a href="http://{[$SERVER_URL]}/logout.php" title="{[$L__LOGIN__LOGOUT]}">{[$L__LOGIN__LOGOUT_LINK]}</a></h3>
<h3>{[$L__COMMON__OR]}</h3>
<h3><a href="http://{[$SERVER_URL]}/index.php" title="{[$L__COMMON__RETURN_TO_INDEX]}">{[$L__COMMON__RETURN_TO_INDEX]}</a></h3>
</div>
{[else]}
<fieldset>
<legend>{[$L__LOGIN__TITLE_LEGEND]}</legend>
<form action="" method="post">
{[$L__LOGIN__USERNAME]}: <input type="text" name="username" />
{[$L__LOGIN__PASSWORD]}: <input type="password" name="password" />
<input type="submit" name="submit" value="{[$L__LOGIN__SUBMIT_BUTTON]}" class="button" />
</form>
</fieldset>
{[/if]}