-
Notifications
You must be signed in to change notification settings - Fork 1
/
chat-dashboard.php
63 lines (45 loc) · 1.74 KB
/
chat-dashboard.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
require_once "./app/core/Handle.php";
require_once "./app/models/Chat.php";
require_once "./app/models/Accounts.php";
session_start();
Handle::hasManageAuthority();
Handle::handleCommercialAuthentication();
$party = $_SESSION['party-manager'];
?>
<html>
<head>
<!-- UIkit CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.3/css/uikit.min.css"/>
<link rel="stylesheet" href="./public/css/uikit_customized.css">
<!-- UIkit JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.3/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.3/js/uikit-icons.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="./public/js/UIKit.js"></script>
<script type="text/javascript" src="./public/js/FetchChatMessages.js"></script>
<script>
$(document).ready(function() {
document.getElementById('lastMessage').scrollIntoView();
});
</script>
</head>
<body>
<?php
require_once "./app/views/global/head-navbar-organizer.php";
require_once "./app/views/global/head-navbar-organizer-popup.php";
require_once "./app/views/global/sub-navbar-organizer.php";
require_once "./app/views/global/sub-navbar-organizer-popup.php";
Handle::displayPopups();
?>
<div class="uk-container-large uk-margin-xlarge-left uk-margin-xlarge-right uk-margin-medium-top">
<div uk-grid>
<?php
require_once "./app/views/chat-dashboard/chat-partner-overview.php";
require_once "./app/views/chat-dashboard/chat-frame.php";
require_once "./app/views/chat-dashboard/chat-submit.php";
?>
</div>
</div>
</body>
</html>