-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
26 lines (23 loc) · 720 Bytes
/
home.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
<?php require 'templates/header.php' ?>
<div class="container">
<?php require 'templates/options.php' ?>
<!-- Notification -->
<?php
if(strlen($_SESSION['error']) > 0){
echo '<div class="notification">';
echo '<button type="button" id="close-notification" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>';
echo '<h6>'. $_SESSION['error'] .'</h6>';
echo '</div>';
$_SESSION['error'] = "";
}
?>
<div class="messages-box">
<h3>Inbox</h3>
<div class="messages">
<?php require 'scripts/messages.php' ?>
</div>
</div>
</div>
<?php require 'templates/footer.php' ?>