Files
Roosters/mail/confirm/index.php
T
2026-06-17 11:55:21 +02:00

51 lines
1.5 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['mail']==1){ header("Location: ../"); }
if($_GET['code']==1){ $cf = "style='border-color: #FCC; outline-color: #F88;'";}
?>
<div id='login'>
<img src="../../images/RoosterLogo.png" height='25px'>
&nbsp&nbsp&nbsp<h3 style='display:inline;'>E-Mail bevestigen</h3>
<br>
<form action='../../php/confirmMail.php' method='GET' onsubmit='loading()'>
<table>
<tr><td colspan=2>Er is een mail gestuurd naar het opgegeven e-mail adres. <font color='#9E0000'>Let op: Deze mail bevind zich waarschijnlijk in uw junk folder!</font> Klink op de link in de mail of vul de code hier in.</td></tr>
<tr><td align='right' width='120px'>Code:</td><td><input <?php echo $cf; ?> type='text' name='code'></td></tr>
<tr><td><img src='../../images/loading.gif' width='0px'></td><td><input type='submit' value='Bevestigen' 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>