52 lines
1.5 KiB
PHP
52 lines
1.5 KiB
PHP
<?php
|
|
require('../../../php/connect.php');
|
|
SESSION_START();
|
|
?>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Rooster - Forgot</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($_GET['nomatch']==1){ $nomatch = "style='border-color: #FCC; outline-color: #F88;'";}
|
|
|
|
if($_SESSION['login']==0){ header("Location: ../../../"); }
|
|
if($_SESSION['pass']==0){ header("Location: ../"); }
|
|
?>
|
|
|
|
|
|
<div id='login'>
|
|
<img src="../../../images/RoosterLogo.png" height='25px'>
|
|
   <h3 style='display:inline;'>Wachtwoord Wijzigen</h3>
|
|
<br>
|
|
|
|
<form action='../../../php/updatePass2.php' method='POST' onsubmit='loading()'>
|
|
<table>
|
|
<tr><td colspan=2>Vul hier je nieuwe wachtwoord in.</td></tr>
|
|
<tr><td align='right' width='120px'>Wachtwoord:</td><td><input <?php echo $nomatch; ?> type='password' name='pass1'></td></tr>
|
|
<tr><td align='right' width='120px'>Herhaal Wachtwoord:</td><td><input <?php echo $nomatch; ?> type='password' name='pass2'></td></tr>
|
|
<tr><td><img src='../../../images/loading.gif' width='0px'></td><td><input type='submit' value='Wijzigen' 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');
|
|
$('#load').fadeIn('fast');
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|