Store in GIT
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
require('../php/connect.php');
|
||||
SESSION_START();
|
||||
?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Rooster - Login</title>
|
||||
<link rel='stylesheet' id='css' href="../css/grey.css"/>
|
||||
<link rel='stylesheet' href="../css/style.css" />
|
||||
<link rel="icon" href="../images/RoosterLogo.png" type="image/png" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?php
|
||||
if($_SESSION['login']>=1){ header("Location: ../"); }
|
||||
|
||||
if($_GET['nf']==1){ $nf = "style='border-color: #FCC; outline-color: #F88;'";}
|
||||
if($_GET['pf']==1){ $pf = "style='border-color: #FCC; outline-color: #F88;'";}
|
||||
?>
|
||||
|
||||
<div id='login'>
|
||||
<img src="../images/RoosterLogo.png" height='25px'>
|
||||
   <h1 style='display:inline;'>Login</h1>
|
||||
<br>
|
||||
|
||||
<form action='../php/login.php' method='POST' onsubmit='loading()'>
|
||||
<table>
|
||||
<tr><td align='right'>Gebruikersnaam:</td><td><input type='text' name='name' <?php echo $nf; ?> value="<?php echo $_GET['username']; ?>"></td></tr>
|
||||
<tr><td align='right'><a tabindex = "-1" href='forgot/' title='Wachtwoord vergeten'><img src='/images/forgot.png' height='13px'></a> Wachtwoord:</td><td><input type='password' name='pass' <?php echo $pf; ?> ></td></tr>
|
||||
<tr><td><img src='../images/loading.gif' width='0px'></td><td><input type='submit' value='Inloggen' class='login_but'></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div id='load'>
|
||||
<img src='../images/loading.gif' width='100px'>
|
||||
</div>
|
||||
|
||||
<script src="../javascript/jquery.js"></script>
|
||||
<script>
|
||||
function loading() {
|
||||
$('#login').fadeOut('fast', function(){
|
||||
$('#load').fadeIn('fast');
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user