51 lines
1.4 KiB
PHP
51 lines
1.4 KiB
PHP
<?php
|
|
require('../php/connect.php');
|
|
SESSION_START();
|
|
?>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Rooster - Mail</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['mail']==0 && $_SESSION['confirm']==0){ header("Location: ../"); }
|
|
if($_SESSION['confirm']==1){ header("Location: /confirm/"); }
|
|
|
|
if($_GET['mf']==1){ $mf = "style='border-color: #FCC; outline-color: #F88;'";}
|
|
?>
|
|
|
|
|
|
<div id='login'>
|
|
<img src="../images/RoosterLogo.png" height='25px'>
|
|
   <h3 style='display:inline;'>E-Mail adres instellen</h3>
|
|
<br>
|
|
|
|
<form action='../php/setMail.php' method='POST' onsubmit='loading()'>
|
|
<table>
|
|
<tr><td colspan=2>Vul hier je e-mail adres in. Deze zal gebruikt worden in het geval dat je je wachtwoord bent vergeten.</td></tr>
|
|
<tr><td align='right'>E-Mail adres:</td><td><input type='email' <?php echo $mf; ?> name='mail'></td></tr>
|
|
<tr><td><img src='../images/loading.gif' width='0px'></td><td><input type='submit' value='Doorgaan' 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>
|