-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.php
61 lines (60 loc) · 1.55 KB
/
error.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
<?php
require_once './scripts/session-handler.php';
session_name("2Org-Cows");
session_start();
include_once './scripts/check-session.php';
$date = date("U");
$_SESSION["expire"] = $date + (60*60*24);
$user_role = $_SESSION["role"];
?>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="../static/2Org-Cows.css" />
<link rel="shortcut icon" href="./static/Favicon-2Org-Cows.ico" type="image"/>
<title>Content not found</title>
</head>
<body>
<div class="page">
<div class="text a">
<div class="header">
<div class="dropdown">
<span>Menu</span>
<div class="dropdown-content">
<?php
if($user_role > 1) {
?>
<p><a href="./admin">Admin</a></p>
<p><a href="./measurement">Create Measurement</a></p>
<p><a href="./upload">Upload files</a></p>
<?php
}
?>
<p><a href="./search">Search</a></p>
<p><a href="./cow">Cow</a></p>
<p><a href="./home">Home</a></p>
<p><a href="./user">User</a></p>
<p><a href="./logout">Logout</a></p>
<p><a href="./help.php">Help</a></p>
</div>
</div>
</div>
<div class="logo">
<a href="../home">
<picture>
<source srcset="../static/Logo-2Org-Cows.png" media="(min-width: 800px)">
<source srcset="../static/Logo-2Org-Cows64.png">
<img src="../static/Logo-2Org-Cows.png" alt="2Org-Cows logo">
</picture>
</a>
</div>
<div class="center">
Content not found
</div>
</div>
<div class="footer">
This page was developed for the 2-Org-Cows project and underlies the <a href="./license" style="color:white;">BSD-license</a>
</div>
</div>
</body>
</html>