-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
30 lines (28 loc) · 875 Bytes
/
index.php
File metadata and controls
30 lines (28 loc) · 875 Bytes
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
<?php
include_once './includes/header.php';
?>
<div class="index-wrapper d-flex justif-content-center align-items-center">
<div class="container d-flex justify-content-center text-center">
<div class="row">
<?php
if(isset($_SESSION['username'])){
echo "<div class='col-12'>
<span class='align-middle p-1'>Willkommen " . $_SESSION['username'] . "</span>
</div>";
}
else {
echo "<div class='col-12'>
<span class='align-middle p-1'>Hotel am OPER</span>
</div>";
}
?>
<hr class="my-2" size="10">
<div class="col-12">
<a href="pages/booking.php" class="btn btn-primary btn-lg mt-4" role="button" aria-pressed="true">Zimmer buchen!</a>
</div>
</div>
</div>
</div>
<?php
include './includes/footer.php';
?>