<!-- MODULE: login -->

<p id="logo">
	<a href="http://getpagemap.com/"><img src="<?php echo $system_data['folder']['backend']; ?>body/pagemap-logo.gif" width="125" height="45" alt="Pagemap"></a> <small><?php echo $system_data['system']['version']; ?></small>
</p>

<div id="login-wrapper">
	<div id="message" class="quick-help <?php if(isset($login_error)) { ?>invalid-login<?php } ?>">
		<div class="edge top-left"></div><div class="edge right top-right"></div>
			
		<div class="content">
		    <form method="post" accept-charset="utf-8">
		    	<p>
		    		<label><?php echo txt('login', 'Benutzername'); ?>:</label>
		    		<input type="text" name="username">
		    	</p>
		    	
		    	<p>
		    		<label><?php echo txt('login', 'Passwort'); ?>:</label>
		    		<input type="password" name="password">
		    	</p>
		    	
		    	<?php connector('login form'); ?>
		    	
		    	<br>
		    	
		    	<p>
		    		<input style="margin-right: 12px" type="submit" value="<?php echo txt('login', 'Anmelden'); ?>">
		    		
			    	<?php if(isset($login_error)) { ?>
			    		<span class="small error"><?php echo txt('login', 'Falsche Benutzerdaten'); ?></span>
			    	<?php } else { ?>
			    		<noscript><span class="small error"><?php echo txt('login', 'Bitte Javascript aktivieren!'); ?></span></noscript>
			    	<?php } ?>
		    	</p>
		    </form>
		</div>
			
		<div class="edge bottom-left"></div><div class="edge right bottom-right"></div>
		<div style="clear: both"></div>
	</div>
	
	<br>
	
	<p class="context"><a href="<?php echo $user_data['base url']; ?>"><?php echo txt('login', 'Website anzeigen'); ?></a> | <a href="http://getpagemap.com/<?php echo $user_data['backend language'] == 'de' ? 'haeufig-gestellte-fragen#passwort-vergessen' : 'faq#password-recovery'; ?>" target="_blank"><?php echo txt('login', 'Zurücksetzen der Zugangsdaten'); ?></a></p>
</div>