45 lines
1.0 KiB
PHP
45 lines
1.0 KiB
PHP
<?php
|
|
require('../php/connect.php');
|
|
|
|
session_start();
|
|
if ($_SESSION['login']>1) {
|
|
|
|
$query_pass = "SELECT `name` FROM `pass_forgot` WHERE `pass_forgot`=1";
|
|
$result_array_pass = mysql_query($query_pass, $connection);
|
|
if(mysql_num_rows($result_array_pass)==0){
|
|
echo false;
|
|
}
|
|
else{
|
|
?>
|
|
|
|
<form>
|
|
|
|
<table cellpadding='0' cellspacing='5' width='600px'>
|
|
|
|
<tr><td width='200px' align='center'></td><td width='200px' align='center'><br>Wachtwoord Vergeten</td><td width='200px' align='center'></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td align='center'>
|
|
</td>
|
|
|
|
<!-- LEERLING -->
|
|
<td align='center'> <select id='account' multiple size='5' name='account' onchange="getRooster(this.form, this.id, this.value); ">
|
|
<?php while($result_pass = mysql_fetch_assoc($result_array_pass)) { ?>
|
|
|
|
<option> <?php echo $result_pass['name']; ?> </option>
|
|
|
|
<?php } ?>
|
|
</select>
|
|
</td>
|
|
|
|
|
|
|
|
<td align='center'>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
</form>
|
|
<?php } } else { echo false; } ?>
|