forked from 4ducky/4ducky
mirror
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?php include( $templates.'header.tpl.php' ); ?>
|
||||
<div align="center">
|
||||
<form action="<?php echo Config::$absolutePath; ?>login" method="post">
|
||||
<fieldset>
|
||||
<legend>Login</legend>
|
||||
|
||||
<?php if( isset($messages['wrongLogin']) ) { ?>
|
||||
<div class="warn">
|
||||
Wrong user or password!
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if( isset($messages['bannedLogin']) ) { ?>
|
||||
<div class="warn">
|
||||
Account banned!<br /> <?php if(strlen($messages['bannedLogin']) >2){ echo "Grund: ".$messages['bannedLogin'];} ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<dl class="form">
|
||||
<dt>Name:</dt>
|
||||
<dd>
|
||||
<input type="text" name="name" value="<?php echo htmlspecialchars($_POST['name']); ?>"/>
|
||||
</dd>
|
||||
|
||||
<dt>Passwort:</dt>
|
||||
<dd>
|
||||
<input type="password" name="pass" />
|
||||
</dd>
|
||||
|
||||
<dt> </dt>
|
||||
<dd>
|
||||
<input class="check" type="checkbox" name="remember" id="inputRemember" value="1"/>
|
||||
<label for="inputRemember">Remember me!</label>
|
||||
</dd>
|
||||
|
||||
<dt> </dt>
|
||||
<dd>
|
||||
<input type="submit" class="button login" name="login" value="Login" />
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
Don't have an account yet? <a href="<?php echo Config::$absolutePath; ?>register">Register!</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<?php include( $templates.'footer.tpl.php' ); ?>
|
||||
Reference in New Issue
Block a user