<div class="menu01">
<form name="login_form" action="index.php?module_top=login" method="post" style="margin: 0px;">
  <div class="menu01_head">:: prihlásenie</div>
  <div class="menu01_item">
    <input class="form_field01" type="text" name="login" size="15" maxlength="15" value="Login" onfocus="this.value=''"/><br />
    <input class="form_field01" type="password" name="pass" size="15" maxlength="15" value="Login" onfocus="this.value=''"/><br />
    <input class="form_button01" type="submit" name="Submit" value="OK"/><br /> 
    <input type="hidden" name="incoming_module" value="<? if(key_exists('module', $_GET) && in_array($_GET['module'], $modules_body)) echo $_GET['module']; ?>"/>
    - <a href="index.php?module=register_form" class="menu01_link">registrácia</a>
<!--	Registrácia dočasne pozastavená, skúste neskôr (cca o 16:00)-->
    <?php
    	
    	if(!isset($login_error_message) && isset($_SESSION['error1']))
    	{
    		$login_error_message = $_SESSION['error1'];
    	}
    
    	if(isset($login_error_message) && $login_error_message<>'')
    	{
    		echo "<br /><b>$login_error_message</b>";
    	}
    
    ?>
  </div>
</form>
</div>