2020-03-09 16:49:36 +01:00
|
|
|
<?php require __DIR__ . '/../php/dashboard.php' ?>
|
2020-03-09 19:09:41 +01:00
|
|
|
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>
|