blob: fc8a06ff5a6aefd99edc49bf49ff6ac30b3fd6ca (
plain)
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
// Require Authentication
if (!isset($_SESSION['currentUser'])) {
header('Location: ' . $CONFIG['urlroot'].'/moderate/login.php');
exit();
}
?><!DOCTYPE html>
<html>
<head>
<title><?= $CONFIG['sitetitle'] ?> Moderation</title>
<link rel="stylesheet" href="<?= $CONFIG['urlroot'] ?>/css/main.css" />
<link rel="stylesheet" href="<?= $CONFIG['urlroot'] ?>/moderate/admin.css" />
</head>
<body>
<div id="header">
<p><a href="<?= $CONFIG['urlroot'] ?>">
<img src="<?= $CONFIG['urlroot'] ?>/images/logo.png"
alt="<?= $CONFIG['sitetitle'] ?>" /></a></p>
<div id="about">
Foursquare community is a place where you can find help,
sell merchandise, list events or even post your rental.
We want to build a help you get connected to the community of our church!
</div>
</div>
<h1><?= $CONFIG['sitetitle'] ?> Moderation</h1>
<div id="content">
<div id="modnav">
<ul>
<li><a href="">Moderate Posts</a></li>
<?php
// Admin Navigation
if ($_SESSION['currentUser']->isAdmin()) {
echo "<li><a href=\"". $CONFIG['urlroot'] ."/\">Pages</a></li>";
echo "<li><a href=\"". $CONFIG['urlroot'] ."/\">Users</a></li>";
}
?>
<li><a href="">Account Settings</a></li>
<li><a href="">Logout</a></li>
</ul>
</div>
|