54 lines
1.8 KiB
PHP
54 lines
1.8 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['nouser']==1){ $uf = "style='border-color: #FCC; outline-color: #F88;'";}
|
|
if($_GET['nomail']==1){ $nm = true; }
|
|
?>
|
|
|
|
|
|
<div id='login'>
|
|
<img src="../../images/RoosterLogo.png" height='25px'>
|
|
   <h3 style='display:inline;'>Wachtwoord Vergeten</h3>
|
|
<br>
|
|
|
|
<table>
|
|
|
|
<form action='../../php/setPass.php' method='POST' id='form' onsubmit='loading()'>
|
|
<tr><td colspan=2>
|
|
<?php if($nm){ ?></form>Er is geen email adres bekent bij deze gebruikersnaam. Neem contact op met een docent. </td></tr>
|
|
<tr><td></td><td><form id='back' action='../'><button form='back' class='login_but' type='submit'>Terug</button></form></td></tr>
|
|
|
|
<?php } else { ?>Vul hier uw gebruikersnaam in. Er zal dan een email verstuurd worden naar het door u opgegeven email adres. <font color='#9E0000'>Let op: Deze mail bevind zich waarschijnlijk in uw junk folder!</font> In de email kunt u uw nieuw tijdelijk wachtwoord vinden. </td></tr>
|
|
<tr><td align='right' width='120px'>Gebruikersnaam:</td><td><input <?php echo $uf; ?> type='text' name='name'></td></tr>
|
|
<tr><td><img src='../../images/loading.gif' width='0px'></td><td><input type='submit' value='Wijzigen' class='login_but'></td></tr></form><?php } ?>
|
|
</table>
|
|
|
|
|
|
</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>
|