-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessage.php
More file actions
51 lines (41 loc) · 1.49 KB
/
Copy pathmessage.php
File metadata and controls
51 lines (41 loc) · 1.49 KB
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
<?php
session_start();
require 'inc/connection.inc.php';
require 'inc/security.inc.php';
?>
<!DOCTYPE html>
<html lang="en-GB">
<head>
<?php include 'inc/meta.inc.php';?>
<title>Members' Area | Bucksburn Amateur Swimming Club</title>
<link href='https://fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Hind' rel='stylesheet' type='text/css'>
<link href="css/site.min.css" rel="stylesheet"/>
</head>
<body>
<?php include 'inc/header.inc.php';?>
<br>
<div class="row" id="content">
<div class="large-12 medium-12 small-12 columns">
<ul class="breadcrumbs">
<li><a href="index.php" role="link">Home</a></li>
<li class="current">Message</li>
</ul>
<?php
if($_GET['id'] == 'badaccess') {
echo '<h1>Access Denied</h1>
<p>You do not have the required permissions to access that area.</p>
<p>You could try:</p>
<ul>';
if (!isset($_SESSION['username'])) {
echo '<li><a href="login.php">Logging in</a> to the website</li>';
}
echo '<li>Returning to the <a href="index.php">homepage</a></li>
</ul>';
}
?>
</div>
</div>
<?php include 'inc/footer.inc.php';?>
</body>
</html>