-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
27 lines (19 loc) · 863 Bytes
/
admin.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
<?php session_start(); ?>
<?php if($_SESSION['User'] != "Admin"){
Header('Location: index.php');
} ?>
<?php include('includes/URL-block.php'); ?>
<?php include('includes/header.php'); ?>
<div id="AdminContainer">
<div id="AdminUI">
<div id="AgentMeta">
<p><strong><?php echo $_SESSION['Level']; ?> - </strong><span class="user"><?php echo $_SESSION['User']; ?></span></p>
<button class="btn button" id="MetaLogoutUser">Logout <i class="icon-home icon-white"></i></button>
</div><!-- End of #AgentMeta -->
<?php include('includes/AdminOptions.php'); // Add Admin options ; AddAgents, AddCampaigns, EditAgents ?>
<div id="AdminFormContainer">
</div><!-- End of AdminFormContainers -->
</div><!-- End of AdminUI -->
</div>
<!-- End of AdminContainer -->
<?php include ('includes/footer.php') ?>