-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsecretpage.php
More file actions
45 lines (41 loc) · 914 Bytes
/
secretpage.php
File metadata and controls
45 lines (41 loc) · 914 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php include "display/head.php"; ?>
<!DOCTYPE html>
<html>
<head>
<title>RoseLap Web</title>
</head>
<body>
<?php include 'display/nav.php' ?>
<div class="container">
<br>
<h2><?php if ($loggedin) echo "Hi, " . $_SESSION['username']; ?></h2>
<h2>Welcome to RoseLap</h2>
<hr>
<?php
if ($loggedin) {
echo "<h3>Batches</h3><br>";
include "display/batches.php";
echo "<br><h3>Configurations</h3><br>";
include "display/configurations.php";
echo "<br><h3>Vehicles</h3><br>";
include "display/vehicles.php";
echo "<br><h3>Tracks</h3><br>";
include "display/tracks.php";
} else {
echo "Please make sure to log in";
}
?>
<br>
<br>
<br>
<?php include "display/foot.php"; ?>
<style type="text/css">
.table-container {
display: block;
max-height: 400px;
overflow-y: auto;
}
.mono-box {
font-family: monospace;
}
</style>