19 lines
840 B
PHP
19 lines
840 B
PHP
<?php require __DIR__ . '/../php/dashboard.php' ?>
|
|
Welkom <?=$docent['naam']?>
|
|
<h1>Gymrooster voor <?=date("D d M Y", strtotime($date))?></h1>
|
|
<a href="/dashboard?date=<?=date("Y-m-d", strtotime("-1 day", strtotime($date)))?>">Dag eerder</a>
|
|
<a href="/dashboard?date=<?=date("Y-m-d", strtotime("+1 day", strtotime($date)))?>">Dag later</a>
|
|
|
|
<form action="update?date=<?=$date?>&docent=<?=$docent['id']?>" method="post">
|
|
<textarea name="opmerking" placeholder="Opmerkingen"><?=$rooster['opmerking']?></textarea><br>
|
|
<select name="locatie">
|
|
<?php if ($rooster['locatie'] === "1"): ?>
|
|
<option value="1">Binnen</option>
|
|
<option value="2">Buiten</option>
|
|
<?php else: ?>
|
|
<option value="2">Buiten</option>
|
|
<option value="1">Binnen</option>
|
|
<?php endif; ?>
|
|
</select><br>
|
|
<input type="submit" value="Verzenden">
|
|
</form>
|