[{if $errormessage!=""}]
	<div id="BackendErrorMessage">
		<img src="/images/x.png" onclick="$('#BackendErrorMessage').slideUp( 500 );" alt="close error box" />
		[{$errormessage}]
	</div>
[{/if}]
[{if $is_logged_in}]
[{if $bIsPopup}]
[{$content}]
[{else}]
<table class="BackendPage">
	<tr>
		<td class="menu">[{$BackendMenu}]<hr/>[{$BackendTodo}]</td>
		<td class="content">[{$content}]</td>
	</tr>
</table>
[{/if}]
[{$debug_log_queries}]
[{else}]
<div class="BackendPage">
	[{$BackendLogin}]
</div>
[{/if}]
