<?php
if($this->online){
?>			
<div class="top">
	<h2>Profil Logout</h2>				
	<form action="/uzivatel/logout" method="post">
		<ul class="pink">					
			<li><div class="btnp"><input type="submit" value="Odhlasit" name="logout"/> </div></li>
			<?php if($this->info->acl_id == 1){echo '<li><div class="btnp"><input type="submit" value="Administrácia" name="admin"/> </div></li>';}?>					
		</ul>											
	</form>							 
<br /><br /><br /><br />
</div>			
<?php 
}else{
?>
	<div class="top">
		<h2>Profil Login</h2>				
			<form action="/uzivatel/login" method="post">
				<ul class="pink">
					<li>Meno : <input type="text" name="username" class="field blink"  /></li>
					<li>Heslo : <input type="password" name="password" class="field blink" /></li>
					<li><div class="btnp"><input type="submit" value="Login" /> &nbsp; &nbsp;&nbsp;<input type="submit" name="registracia" value="Nová registrácia" /></div></li>					
				</ul>											
			</form>						 
				<br /><br /><br /><br />
			</div>	
<?php 	
}
?>