forked from gymdb/speechday
-
Notifications
You must be signed in to change notification settings - Fork 1
/
book.php
38 lines (28 loc) · 964 Bytes
/
book.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
require_once('code/dao/EventDAO.php');
require_once('code/dao/UserDAO.php');
require_once('code/ViewController.php');
include_once 'inc/header.php';
?>
<script type='text/javascript' src='js/book.js'></script>
<p id='pageName' hidden>Book</p>
<div class='container'>
<div id='tabs-1'>
<h1>Zeitübersicht</h1>
<?php if ($user->getRole() === 'student') { ?>
<h3>Hier können Sie Termine beim gewünschten Lehrer/Lehrerin buchen!<br><br></h3>
<?php } else { ?>
<h3>Hier können Sie den Terminen einen Schüler zuteilen!<br><br></h3>
<?php } ?>
</div>
</div>
<?php $activeEvent = EventDAO::getActiveEvent(); ?>
<div class='container'>
<div>
<?php
$viewController = ViewController::getInstance();
echo($viewController->action_getSetSlotsForm());
?>
</div>
</div>
<?php include_once 'inc/footer.php'; ?>