-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreceivedFiles.php
56 lines (46 loc) · 1.59 KB
/
receivedFiles.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
<?php
include "includes/db.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>File Dispatch | Received Files</title>
<script src="assets/js/tailwind.js"></script>
<link rel="stylesheet" href="assets/css/navbar.css">
<link rel="stylesheet" href="assets/css/receivedFiles.css">
<link rel="stylesheet" href="assets/css/leftbar.css">
<link rel="stylesheet" href="assets/css/dashboard.css">
<link rel="icon" type="image/x-icon" href="assets/icons/fileShare.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/c97f0fb9ac.js" crossorigin="anonymous"></script>
</head>
<body id='theme' class="theme-dark flex min-h-[100vh] flex-col">
<?php
if (!isset($_SESSION['userID'])) {
?>
<script>
alert("Please login to view your Received Files...");
location.href = 'login.php';
</script>
<?php
}
?>
<div class="navbar w-full">
<?php
require "includes/navbar.php"
?>
</div>
<div class="body dashboardBody flex flex-col lg:flex-row w-full h-full">
<?php
require "includes/leftbar.php"
?>
<div class="bodyContent h-full w-full overflow-y-scroll p-2 flex flex-col gap-3">
<div class="receivedFiles h-full text-center flex flex-col gap-3">
<?php include "getReceivedFiles.php"; ?>
</div>
</div>
</div>
</body>
</html>